Fix create_nmf.py on non-English locale.

It would fail parsing localized string otherwise. For example 'file format' is
'format de fichier' with LANG=fr_CA.UTF-8.

Fix file_arch could be used before being assigned.

R=sbc@chromium.org
BUG=

Review URL: https://codereview.chromium.org/108213002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240802 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 240802
[chromedriver] Kill adb socket forward during TearDown.

Also ensure we call Quit if there's an error during session creation.

BUG=None

Review URL: https://codereview.chromium.org/109793005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240803 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 240803
[NaCl SDK] Add option to test_projects to build project first.

You can now pass -b to test_projects to build the projects you specify.

I've also removed the -p options for test_projects and build_projects. They've
been deprecated for a while, and I don't think anyone is using them anymore.

BUG=none
R=sbc@chromium.org

Review URL: https://codereview.chromium.org/105833005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240804 0039d316-1c4b-4281-b951-d872f2087c98
Add stub ExtensionsClient to app_shell

Also register ExtensionPrefs. This allows app_shell to run until it tries
tries to bring up ExtensionSystem.

BUG=None
TEST=compiles, app_shell launches
R=yoz@chromium.org

Review URL: https://codereview.chromium.org/110863005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240805 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 240805