Split platform specific parts in gdb app.

To reduce the installed size / download size of the gdb app,
split out the platform specific parts.

BUG=None
TEST=gdb_test
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1240 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Automatically set the gdb + debugger version based on svn revision.

In order to facilitate shipping builds from our buildbots,
generate the manifest.json file for gdb + debugger on based on a template + the svn revision.

Zip the two apps to make upload easier.

BUG=None
TEST=local
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1241 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Make the debugging app/extension externally connectable for web install.

In order to allow a page at nacltools.storage.googleapis.com to check for
debugger install, allow external connections from that host.

BUG=None
TEST=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1242 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Build package arches together, clean first.

Clean first then build each package for each architecure before moving on to the next package.

This will allow us to ship multi-arch extensions (like gdb) from the bots.

Skip setting CHROME_DEVEL_SANDBOX when TEST_BUILDBOT is on,
to allow local testing of the buildbot config.

Do a CleanAll for the sdk build (which currently does only make clean which is actually insufficient).

BUG=None
TEST=local
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1243 7dad1e8b-422e-d2af-fbf5-8013b78bd812
thttpd: Remove reference to nacl_io/dbgprint.h

This was renamed to nacl_io/log.h in the latest SDK, but it isn't needed anyway.

BUG=none
R=bradnelson@google.com, bradnelson@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1244 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix typo in condition and isolate arch + toolchain in clean.

Fix typo in condition on CHROME_DEVEL_SANDBOX.
Change CleanAll so that it doesn't clobber TOOLCHAIN + NACL_ARCH.

BUG=None
TEST=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1245 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Invert the sandbox chrome sandbox TEST_BUILDBOT check.

BUG=None
TEST=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1246 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Only clean combinations that make sense.

BUG=None
TEST=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1247 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix variable names in clean.

BUG=None
TEST=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1248 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix gdb manifest, make clean all step more robust.

Fix a mistake in the gdb manifests preventing test load.
rm -rf out in the clean all step for good measure.

BUG=None
TEST=gdb_test
TBR=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1249 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Don't clobber out/ in CleanAll as that kills the sdk too.

As we now download the SDK to the out/ diretory, clobbering it during a
CleanAll, breaks the naclports.py's assumptions.
Reverting to clobbering only what naclports.py thinks should be cleaned.

Adding an optional clobber step earlier instead.

BUG=None
TEST=None
TBR=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1250 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix output of generate_portlist.py.

The number of columns did not match the number of columns in the
header.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1251 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add poll and getnameinfo to glibc-compat.

These are needed by git when building with http(curl)
support.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1252 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Enable git to build with curl support under newlib.

BUG=
R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1253 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix compile error in glibc-compat under PNaCl.

Also fix all warnings and enable -Werror for glibc-compat.

Also, make glibc-compat build quiet by default.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1254 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Make gdb work interactively.

Fix name collision that allowed the tests to pass, but prevented the ui from
working. (Apply the style guide with caution :-)

Properly update module state changes in the ui.

Add tests for more corner cases.

Fix indenting mistakes.
Fix === mistakes.

BUG=None
TEST=gdb_tests debug_tests
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1255 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add an explicit install check for the debugger.

Adding an install check to be used by an installation page to check that all
the components are present.

BUG=None
TEST=testInstallCheck
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1256 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Remove ancient 'needs_ports' direcotory.

These all pre-data the Pepper API and have no chance of building
with a modern NaCl SDK.

xoas: more recent port already exists
quake: more recent port already exists
glsample: we have other examples that show GL.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1257 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Enable mmapmodule for python-static

Adding a stub for msync to glibc-compat enables us
to turn on the mmapmodule for python-static.

BUG=
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1258 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix glibc-compat msync retval.

This changes the return value to be -1, as
specified in man msync to indicate error,
and uses the macro for ENOSYS.

BUG=
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1259 7dad1e8b-422e-d2af-fbf5-8013b78bd812