summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Auto generate make: Remove XXX.htmlnoelallen@chromium.org2012-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | To support automatically generating the projects, we need to differentiate between various versions of the projects such as newlib, glibc, pnacl, etc... To do this, we automatically generate an index_<TOOLCHAIN>.html per version as well as an index.html which redirects to the default toolchain. While this CL looks large, is actually very formulaic 1- remove examples/*/*.nmf - it's now autogenerated 2- remove examples/*/*.html - it's now generated from index.html 3- Add index.html 4- Copy comments from examples/index.html into each example.dsc (To allow us to autogenerate the main index eventually) The interesting changes are: Add redirect.html to create a default index.html Moved common setup code into common.js TBR=binji@chromium.org BUG=130618 Review URL: https://chromiumcodereview.appspot.com/10554022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142636 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable PNaClnoelallen@chromium.org2012-06-151-5/+24
| | | | | | | | | | | | | Renable examples disabled to support newlib/glibc combo. Updates template, buildsdk, create_nmf to enable PNaCl. Unifies macro replacement code in generate_make BUG=130618 TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10543175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142382 0039d316-1c4b-4281-b951-d872f2087c98
* Add DSC files for the various examples.noelallen@chromium.org2012-06-121-3/+18
| | | | | | | | | | | | | | These will replace the current method for copying projects over and defining their makefiles. The makefiles will be removed in a different CL to atomically switch between the two versions. BUG=130618 R=binji@chromium.org TEST=test_generate_make.py Review URL: https://chromiumcodereview.appspot.com/10539082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141601 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to automatically generate the makefiles for SDKnoelallen@chromium.org2012-06-091-6/+37
| | | | | | | | | | | | | | | | | Adds the ability automatically generate the NMF for file for both newlib and glibc cases. Adds a DEST field to automatically copy files as needed. Added --toolchain=glibc to fix NMF creation problem in ppapi_untrusted.gyp where auto-detect of toolchain type fails due to missing glibc in toolchain name. BUG=130618 R=binji@chromium.org TEST=test_generate_make.py Adding brettw@chromium.org for ppapi_untrusted Review URL: https://chromiumcodereview.appspot.com/10538046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141343 0039d316-1c4b-4281-b951-d872f2087c98
* Enable PPAPINaCl GLIBC browser_tests.bradchen@google.com2012-06-071-2/+6
| | | | | | | | | | | | | | NOTE: NaCl CL to update untrusted.gypi must go in first. BUG=127699 TEST=this is a test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140786 Review URL: https://chromiumcodereview.appspot.com/10409032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140917 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140786 - Enable PPAPINaCl GLIBC browser_tests.cbentzel@chromium.org2012-06-061-6/+2
| | | | | | | | | | | | | | | NOTE: NaCl CL to update untrusted.gypi must go in first. BUG=127699 TEST=this is a test Review URL: https://chromiumcodereview.appspot.com/10409032 TBR=bradchen@google.com Review URL: https://chromiumcodereview.appspot.com/10543028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140790 0039d316-1c4b-4281-b951-d872f2087c98
* Enable PPAPINaCl GLIBC browser_tests.bradchen@google.com2012-06-061-2/+6
| | | | | | | | | | | | NOTE: NaCl CL to update untrusted.gypi must go in first. BUG=127699 TEST=this is a test Review URL: https://chromiumcodereview.appspot.com/10409032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140786 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:executable bit on scripts that are executable.maruel@chromium.org2012-04-253-0/+1
| | | | | | | | | | R=binji@chromium.org TEST= BUG= Review URL: http://codereview.chromium.org/10139026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133844 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add zip to oshelpers.pybinji@chromium.org2012-04-192-1/+345
| | | | | | | | | BUG=none TEST=manually run native_client_sdk/src/tools/zip_test.py Review URL: https://chromiumcodereview.appspot.com/10091018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133019 0039d316-1c4b-4281-b951-d872f2087c98
* Fix native_client_sdk oshelpers 'rm' command.elijahtaylor@google.com2012-03-291-2/+2
| | | | | | | | | | BUG=none TEST=manual This change only affects the Native Client SDK Review URL: https://chromiumcodereview.appspot.com/9923022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129707 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Updater Generationnoelallen@google.com2012-03-222-5/+148
| | | | | | | | | | | | | | | | | | Renable generation of the updater components. This adds the ability to create the bootload nacl_sdk.zip used by all platforms, as well as the sdk_tools.tgz which does the actual work. Add a naclsdk_manifest0.json which sets up the state of the original bundle (just the updater nothing else). Add CopyFile method similar to RemoveFile Change 'copyfile' to 'copy' so that we keep mode bits (executable) Add debugging example to newlib bundle. R=bradnelson@chromium.org Review URL: https://chromiumcodereview.appspot.com/9816025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128284 0039d316-1c4b-4281-b951-d872f2087c98
* Add stack trace example to NaCl SDKnoelallen@google.com2012-03-221-0/+209
| | | | | | | | | | | | | | Add example directory and files Add example to bundle (build_sdk.py) Add functions to find sel_ldr, plugin, irt, etc Add decode_dump.py to decode untrusted crash information. Update httpd to support XMLHttpRequests to generate stack trace R=bradnelson@chromium.org BUG=114444 Review URL: https://chromiumcodereview.appspot.com/9716024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128283 0039d316-1c4b-4281-b951-d872f2087c98
* Make nacl_sdk oshelpers rm use glob to match patterns.elijahtaylor@google.com2012-02-211-36/+37
| | | | | | | | | | | | Also fix rm command for directories (would only delete one directory previously, and would return non-zero). This change only affects native_client_sdk BUG=none TEST=trybots Review URL: https://chromiumcodereview.appspot.com/9420035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122844 0039d316-1c4b-4281-b951-d872f2087c98
* Build cleanupsnoelallen@google.com2012-02-111-2/+0
| | | | | | | | | | | | | | | | Speed up slow "pong" example. Update "updater" to support new manifest format. Fix '.svn' exclude. Add list of files for SDK Add list of examples for SDK Committing TBR to green SDK tree, SDK changes do not affect Chrome. TBR= bradnelson@chromium.org BUG= 109207 Review URL: https://chromiumcodereview.appspot.com/9383038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121656 0039d316-1c4b-4281-b951-d872f2087c98
* Support GLBIC example in SDKnoelallen@google.com2012-02-011-40/+50
| | | | | | | | | | | | | | | This CL added two new examples for the NaCl SDK. This only affects SDK bots since the code is completely contained within native_client_sdk subtree. Fix incorrectly placed ppapi headers. Remove TODOs and cleanup create_nmf.py. Add hello_world_glibc example Add dlopen example. BUG= 111224 Review URL: https://chromiumcodereview.appspot.com/9234043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120117 0039d316-1c4b-4281-b951-d872f2087c98
* Make oshelpers.Copy command throw an error on a pattern not found, similar ↵elijahtaylor@google.com2012-02-011-0/+2
| | | | | | | | | | | to Unix cp BUG=none TEST=manual Review URL: http://codereview.chromium.org/9309013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120041 0039d316-1c4b-4281-b951-d872f2087c98
* Copy NMF unmodified from 'site-scons' to toolsnoelallen@google.com2012-01-241-0/+328
| | | | | | | | | | | | | Add a script for generating NMF files to the tools directory of the SDK. This already exists and is copied from another location in the SDK as-is. This is done as a copy instead of a move so that the scons components in the sdk can be removed as one atomic commit. BUG= 111224 R= bradnelson@chromium.org Review URL: http://codereview.chromium.org/9284032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118876 0039d316-1c4b-4281-b951-d872f2087c98
* Update SDK build scripts to green tree.noelallen@google.com2012-01-152-0/+344
Replace multiple SDK scripts with updated buildbot_run.py Remove Windows installer, use tgz/bz2 on all platforms. Remove scons, replace all example build components with Make. Add missing NMF files. Add oshelper to make a platform independant mv, rm, cp, mkdir This CL should only affect SDK bots, not Chrome. Commiting TBR to green SDK tree. BUG= 109207 TBR= bradnelson@chromium.org Review URL: http://codereview.chromium.org/9090001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117813 0039d316-1c4b-4281-b951-d872f2087c98