summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
Commit message (Collapse)AuthorAgeFilesLines
* create_nmf now knows how to read the ELF headerssbc@chromium.org2012-10-201-22/+61
| | | | | | | | | | | | | | to determine the arch of nexes BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158451 Review URL: https://chromiumcodereview.appspot.com/10916343 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163140 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all the "set noparent" directivesdpranke@chromium.org2012-10-191-1/+0
| | | | | | | | | | | | | Now that OWNERS supports per-file owners, we can limit the scope of the top-level wildcard to just DEPS, and make darin and ben owners for everything else and remove the broad use of "set noparent". R=ben@chromium.org, darin@chromium.org BUG=88315 Review URL: https://codereview.chromium.org/11191038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163069 0039d316-1c4b-4281-b951-d872f2087c98
* Build PNaCl IRT shims on arm as well as x86-64dschuff@chromium.org2012-10-191-8/+12
| | | | | | | | | | | | | | This change contains the necessary changes to the shim itself, the IDL generator, the scons and gyp builds, and the SDK builder. This CL requires https://chromiumcodereview.appspot.com/11183063/ to be rolled into chrome. R=jvoung@chromium.org,noelallen@chromium.org,binji@chromium.org BUG= http://code.google.com/p/nativeclient/issues/detail?id=3063 Review URL: https://chromiumcodereview.appspot.com/11187056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162936 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gsutil usage.sbc@chromium.org2012-10-191-2/+1
| | | | | | | | | | | | It it not legal to pass -a and -p to gsutil and -a alone works fine for our purposes. BUG= Review URL: https://chromiumcodereview.appspot.com/11195024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162889 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix TestUpdateVitals on Windows.binji@chromium.org2012-10-181-3/+11
| | | | | | | | | | | | | | It seems that urllib2 on Windows expects file scheme URLs to have the format file:///C:\foo\bar\... BUG=none TBR=binji@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11186060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162801 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Make fix in r162548 work for python 2.6.binji@chromium.org2012-10-171-3/+1
| | | | | | | | | | | | | using assertRaises as a context manager isn't supported until 2.7. BUG=none TBR=binji@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11195032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162562 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix testUpdateVitals.binji@chromium.org2012-10-171-1/+4
| | | | | | | | | | | | BUG=none R=sbc@chromium.org TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11198039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162548 0039d316-1c4b-4281-b951-d872f2087c98
* bump public VS addin versionsbc@chromium.org2012-10-171-1/+1
| | | | | | | | | NOTRY=1 BUG= Review URL: https://chromiumcodereview.appspot.com/11189019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162531 0039d316-1c4b-4281-b951-d872f2087c98
* update_nacl_manifest improvements.sbc@chromium.org2012-10-175-56/+134
| | | | | | | | | | | | | | | | | | | | | Add ability to leave size and checksum blank in the manifest and have it be filled in based by downloading the current files. Add -v/--verbose option which prints more information. Add -d/--debug option which will show backtraces for Errors() which is not normally useful. When in --dryrun mode write the generated file locally along with the current online one and show a diff of the two. BUG=155906 Review URL: https://chromiumcodereview.appspot.com/11200002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162445 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Update manifest.html.binji@chromium.org2012-10-171-11/+32
| | | | | | | | | | | BUG=none TBR=binji@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11183023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162321 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add little helpful webpages to source control.binji@chromium.org2012-10-173-0/+407
| | | | | | | | | | | | | | | | | | Two scripts for now, one that lets you view the gstore directory structure (cribbed from Chrome), and another that lets you view the current naclsdk_manifest file (cribbed from OmahaProxy). They are installed to http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/... BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11192021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162288 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove old sdktry* scripts.binji@chromium.org2012-10-164-46/+0
| | | | | | | | | | | BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11185016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162283 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_mounts: wrap functions.binji@chromium.org2012-10-1619-215/+1116
| | | | | | | | | BUG=122229 NOTRY=true Review URL: https://codereview.chromium.org/11066105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162282 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix SDK tree: copy crt1.o from gen/sdk/toolchain/....binji@chromium.org2012-10-161-5/+7
| | | | | | | | | | | | | | Soon we'll build necessary libs into gen/sdk/toolchains/... directly, which will obviate the need to move files around like this. This is just a stopgap to make the tree green. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/11183010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162254 0039d316-1c4b-4281-b951-d872f2087c98
* update published version of vsaddinsbc@chromium.org2012-10-151-4/+4
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/11141032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161992 0039d316-1c4b-4281-b951-d872f2087c98
* use CXX compiler for c++ files.sbc@chromium.org2012-10-134-12/+28
| | | | | | | | | | | | | | And enable warnings as errors on windows. Remove --std=gnu++98 since it is the default (and up until now not used). BUG= Review URL: https://chromiumcodereview.appspot.com/11147004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161736 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add gmock library to be build by build_sdk.py (only for testing)binji@chromium.org2012-10-122-0/+56
| | | | | | | | | | | BUG=none R=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11098080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161460 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl SDK: Add flag to build_sdk.py to skip download and untar tooclhain steps.dschuff@chromium.org2012-10-091-2/+6
| | | | | | | | | | | | | This makes it easier to test SDK builds using locally-built toolchains. R=noelallen,binji BUG=none TEST=local SDK build Review URL: https://chromiumcodereview.appspot.com/11036048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160754 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove old pthreads library. Just use pthreads-win32 now.binji@chromium.org2012-10-087-458/+0
| | | | | | | | | | | BUG=149754 TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11072004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160712 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Generate NOTICE file automatically.binji@chromium.org2012-10-084-2437/+112
| | | | | | | | | | | BUG=149754 TBR=noelallen@chromium.org R=sbc@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11074004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160711 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Update sdk_tools to r160355.binji@chromium.org2012-10-082-22/+22
| | | | | | | | | | | | | Doing this so I can update nacl_sdk.zip (it only recently is built on the buildbots.) BUG=140361, 144403 TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11068025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160670 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix the sdk_updater auto-update feature when /tmp is a different ↵binji@chromium.org2012-10-052-3/+11
| | | | | | | | | | | | | | | | | filesystem. os.rename fails when the source and destination are different filesystems. shutil.move does a os.rename, but if it fails for this reason, copies and removes instead. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11029060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160493 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix build failure on Windows introduced in r160293.binji@chromium.org2012-10-053-5/+1
| | | | | | | | | | | | | | | | nacl_mounts_test uses pthreads, which on Windows uses the pthreads_win32 library. Because we use the static version of this library, PTW32_STATIC_LIB needs to be defined when compiling any file that uses pthreads or it will attempt to use the DLL symbols instead. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11028053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160324 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix bogus message printed when running naclsdk updatebinji@chromium.org2012-10-051-7/+11
| | | | | | | | | | | BUG=153017 TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11027039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160298 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Build nacl_mounts_test without experimental.binji@chromium.org2012-10-0516-306/+165
| | | | | | | | | BUG=122229 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10860077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160293 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Cleanup Pong example.binji@chromium.org2012-10-0416-776/+1023
| | | | | | | | | BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10990043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160166 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Build pthreads_win32 library using .dsc file.binji@chromium.org2012-10-046-11/+186
| | | | | | | | | | | | | | | * generate_make.py: Added DEFINES. It was already supported, but it wouldn't validate the .dsc if you used it. :-/ * common.js: Send a fake 'load' event when running host examples. NaCl modules send it properly, but host modules don't. * pi_generator: I was using pi_generator as my test for pthreads functionality, fixed some bugs there too. Changed it to use rand(), not rand_r() (because rand_r isn't supported on Windows). BUG=122229 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11051021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160165 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix PRESUBMIT.py on Windows.binji@chromium.org2012-10-032-3/+4
| | | | | | | | | | | | | | The blacklist on the test directory didn't check for Windows paths. BUG=none R=sbc@chromium.org TBR=binji@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11048024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159965 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix build_updater test error on Windows.binji@chromium.org2012-10-031-1/+1
| | | | | | | | | | | BUG=NONE TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11060010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159949 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Make paths in nacl_sdk.zip relative. They were absolute.binji@chromium.org2012-10-032-2/+33
| | | | | | | | | | | | | Also add test. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11055010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159911 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] When building SDK examples only, don't clean libraries.binji@chromium.org2012-10-021-3/+3
| | | | | | | | | | | | | This makes the incremental builds (using --examples) faster. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11052004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159782 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add support for project dependencies to master Makefile.binji@chromium.org2012-10-023-2/+30
| | | | | | | | | | | | Needed because nacl_mounts_test depends on gtest, which are built with the same recursive Makefile. BUG=122229 R=noelallen@chromium.org Review URL: https://codereview.chromium.org/11028011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159767 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Make runs in parallel on linux/mac.binji@chromium.org2012-10-021-4/+6
| | | | | | | | | | | | | | | | subprocess.call(args, shell=True) will run /bin/sh -c arg[0], arg[1], ... which runs arg[0], but doesn't pass arg[1]... to it on the commandline. Of course, this works as expected on Windows... Remove usage of shell=True. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11040017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159737 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Push nacl_sdk.zip to commondatastorage.binji@chromium.org2012-10-021-1/+3
| | | | | | | | | | | | No try because archiving doesn't happen on trybots. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10956051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159728 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add pepper_23 bundle.binji@chromium.org2012-10-021-4/+14
| | | | | | | | | | | BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11028013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159633 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add --no-clobber-examples to improve iteration time when working ↵binji@chromium.org2012-10-012-10/+25
| | | | | | | | | | | on examples. BUG=none R=noelallen@chromium.org Review URL: https://codereview.chromium.org/10993082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159536 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Include pnacl in the default SDK build.binji@chromium.org2012-10-011-25/+19
| | | | | | | | | BUG=none TBR=noelallen@chromium.org Review URL: https://codereview.chromium.org/10965015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159530 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 158451 - Always use objdump to determine arch of nexesbc@chromium.org2012-09-251-61/+22
| | | | | | | | | | | | | | | | | This broke chromeos builds and I'm not currently setup to build and test chromeos so revert for now. BUG= TBR=binji Review URL: https://chromiumcodereview.appspot.com/10916343 TBR=sbc@chromium.org Review URL: https://chromiumcodereview.appspot.com/10979011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158618 0039d316-1c4b-4281-b951-d872f2087c98
* Always use objdump to determine arch of nexesbc@chromium.org2012-09-251-22/+61
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/10916343 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158451 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] build_sdk uses gyp to build, not scons. *binji@chromium.org2012-09-241-18/+127
| | | | | | | | | | | * For x86-32, x86-64. Not pnacl. BUG=none TBR=viettrungluu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158417 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add VS Add-in to SDK manifest.binji@chromium.org2012-09-241-0/+19
| | | | | | | | | BUG=136414 R=noelallen@chromium.org Review URL: https://codereview.chromium.org/10967082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158359 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix bug when running naclsdk in path with spaces.binji@chromium.org2012-09-234-25/+59
| | | | | | | | | | | | | | | | I had to separate the change to naclsdk.bat into a separate CL, landed in r158040. This is just the test and cleanup now. Also add test. Also cleanup test output for test_auto_update_sdktools.py. Also rename test_auto_update_sdktools.py -> test_sdktools.py. BUG=144403 R=noelallen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10913308 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158218 0039d316-1c4b-4281-b951-d872f2087c98
* Fix toplevel example Makefile to build all configurationssbc@chromium.org2012-09-2227-45/+125
| | | | | | | | | | | | | | when using using --gyp to generate Makefiles. Also, fix javascript and html files so the work with or without --gyp. BUG= Review URL: https://chromiumcodereview.appspot.com/10964025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158155 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] naclsdk.bat works when it is run from a path with spaces.binji@chromium.org2012-09-211-5/+5
| | | | | | | | | | BUG=144403 TBR=binji@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/10960040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158040 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add pthreads-win32 to native_client_sdk/src/libraries/third_party.binji@chromium.org2012-09-21170-0/+22746
| | | | | | | | | | | | This library is not used to build chromium, it will be included with the native client SDK to assist in porting from win32 code. BUG=149754 Review URL: https://chromiumcodereview.appspot.com/10911321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157899 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Use chromium trybots when making changes to native_client_sdk.binji@chromium.org2012-09-191-0/+4
| | | | | | | | | | | | | Also made change to top-level PRESUBMIT.py to prevent testing default bots when change is only in native_client_sdk. BUG=none R=noelallen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157653 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Forgot comma in naclsdk_manifest2.jsonbinji@chromium.org2012-09-191-1/+1
| | | | | | | | | | | BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10960004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157648 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] On windows, libpnacl_irt_shim.a is built into src/build, not src/out.binji@chromium.org2012-09-191-1/+9
| | | | | | | | | | BUG=none TBR=jvoung@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10946039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157637 0039d316-1c4b-4281-b951-d872f2087c98
* Remove legacy scons from native_client_sdksbc@chromium.org2012-09-192-1020/+0
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/10942011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157625 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Updated sdk_tools to r157127binji@chromium.org2012-09-193-29/+44
| | | | | | | | | | | | Also change http->https for pepper_16. BUG=none R=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10908288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157514 0039d316-1c4b-4281-b951-d872f2087c98