summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
Commit message (Collapse)AuthorAgeFilesLines
* The template for the HMTL files points to incorrect link.noelallen@google.com2012-06-231-1/+1
| | | | | | | | | | | When using LAUNCH_NEXE, the URL provided on the command-line is incorrect. It should just point to index.html not <PROJECT>.html BUG=134244 R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10661013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143785 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add support for touch events to SDK examples.binji@chromium.org2012-06-226-79/+243
| | | | | | | | | | | | | | This also fixes a compile failure on the SDK waterfall. BUG=none TEST=none NOTRY=true R=noelallen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10639022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143717 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Use unused variable in multithreaded_input_events example. This wasbinji@chromium.org2012-06-211-0/+1
| | | | | | | | | | | | | | causing a pnacl compile failure. BUG=none TEST=none R=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10643005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143475 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Turn on pyauto testing on SDK buildersbinji@chromium.org2012-06-213-15/+64
| | | | | | | | | | | Previous review, reverted: http://codereview.chromium.org/10541089/ BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10541116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143446 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] In update_nacl_manfest, output stderr properly if not mailing errors.binji@chromium.org2012-06-211-1/+3
| | | | | | | | | | | | BUG=none TEST=none NOTRY=true TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10600012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143316 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add more command-line options to update_nacl_manifest.binji@chromium.org2012-06-211-4/+75
| | | | | | | | | | | | | | added --mailto/--mailfrom/--dryrun BUG=none TEST=none NOTRY=true TBR=noelallen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10598007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143312 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add option to update_nacl_manifest to provide gsutil.binji@chromium.org2012-06-201-4/+13
| | | | | | | | | | | | BUG=none TEST=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10575038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143227 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] In update_nacl_manifest.py, catch errors from "gsutil ls".binji@chromium.org2012-06-191-2/+6
| | | | | | | | | | | | | The behavior in gsutil 3.10 is different from 3.3. gsutil ls of a non-existent directory used to return nothing, now it throws an exception. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10580017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143059 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix some examplesbinji@chromium.org2012-06-197-24/+44
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10583008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142908 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Generate all versions for pepper interfaces in naclsdk/src/ppapi/*binji@chromium.org2012-06-191-4/+6
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10532213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142887 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pepper debugging example.noelallen@google.com2012-06-192-25/+14
| | | | | | | | | | | | The example no longer requires the stand alone sel_ldr and IRT which prevent use of this example while simultaneously using an OpenGL ES context. BUG=133394 R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10575012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142872 0039d316-1c4b-4281-b951-d872f2087c98
* Auto generate make: Remove XXX.htmlnoelallen@chromium.org2012-06-1773-1177/+1071
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Auto generate makefilenoelallen@google.com2012-06-174-186/+297
| | | | | | | | | | | | | Additional cleanup, remove directories not in use Move generate_make templates to new file Clean up code, make generator more data driven in preparation for supporting host configurations. BUG=130618 TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10557028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142629 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable PNaClnoelallen@chromium.org2012-06-157-123/+185
| | | | | | | | | | | | | 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
* Fix missing declaration.noelallen@google.com2012-06-151-1/+15
| | | | | | | | | | | | Windows was printing an about a missing double quote, probably due to the macro definition of the toolchain: -DTCNAME=\"newlib\" This CL is the second part of the fix which was lost due to out of order checkins. TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10543173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142342 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup build systemnoelallen@chromium.org2012-06-1527-1836/+3
| | | | | | | | | | | | | | Remove old Makefiles Move hello_world_newlib -> hello_world Remove hello_world_glibc Remove hello_world_pnacl TBR=binji@chromium.org BUG=130618 Review URL: https://chromiumcodereview.appspot.com/10541180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142322 0039d316-1c4b-4281-b951-d872f2087c98
* Fix random example issues with make system.noelallen@chromium.org2012-06-148-34/+230
| | | | | | | | | | | | | 1- Fix extra comma in PPAPI files, breaks scons build. 2- Fix missing eol properties on hello_world_gles sources 3- Support building library 4- Add gles2 library R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10541154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142215 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed file io example for glibctysand@chromium.org2012-06-141-4/+2
| | | | | | | | | | | | Changed headers in file io example to be glibc compatible BUG=132123 TEST= Review URL: https://chromiumcodereview.appspot.com/10539146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142062 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing Makefile.inc for SDK Botsnoelallen@google.com2012-06-131-0/+26
| | | | | | | | Adding missing Makefile from CL to fix red SDK bot. TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142022 0039d316-1c4b-4281-b951-d872f2087c98
* Add texture for GLES example in SDKnoelallen@google.com2012-06-138-0/+913
| | | | | | | | | | | | | | | Re-adding this example which was incorrectly tagged with +exec on the shader files. See: http://codereview.chromium.org/10538100/ I am splitting the CL since we can't try a binary file. This file is currently unreferences and will be use in a different CL. BUG=132204 TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10543147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141969 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to build both glibc and newlib versionsnoelallen@google.com2012-06-1314-504/+318
| | | | | | | | | | | | | | | 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. Fixes several minor issues. Disables debugging, and dlopen BUG=130618 R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10541134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141968 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141915 - Add GLES hello world Demonoelallen@google.com2012-06-138-901/+0
| | | | | | | | | | | Add a demo which uses openGL ES 2.0 via PPAPI to draw a rotating cube. BUG=132204 Review URL: https://chromiumcodereview.appspot.com/10538100 TBR=noelallen@google.com Review URL: https://chromiumcodereview.appspot.com/10537151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141922 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SDK trynoelallen@google.com2012-06-131-2/+0
| | | | | | | | | | SDK try helper scripts list incorrect bots. This causes the try to silently get ignored. TBR=bradnelson@chromium.org Review URL: https://chromiumcodereview.appspot.com/10537145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141917 0039d316-1c4b-4281-b951-d872f2087c98
* Add GLES hello world Demonoelallen@google.com2012-06-138-0/+901
| | | | | | | | Add a demo which uses openGL ES 2.0 via PPAPI to draw a rotating cube. BUG=132204 Review URL: https://chromiumcodereview.appspot.com/10538100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141915 0039d316-1c4b-4281-b951-d872f2087c98
* Fix break in SDK builders due to missing files.noelallen@google.com2012-06-1212-0/+243
| | | | | | | TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10548013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141744 0039d316-1c4b-4281-b951-d872f2087c98
* Add DSC files for the various examples.noelallen@chromium.org2012-06-1210-84/+205
| | | | | | | | | | | | | | 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
* New SDK example making use of the persistent file storagetysand@chromium.org2012-06-116-1/+706
| | | | | | | | | | | | | Adding file_io SDK example R=noelallen@chromium.org BUG=132123 TEST= Review URL: https://chromiumcodereview.appspot.com/10513018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141519 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to automatically generate the makefiles for SDKnoelallen@chromium.org2012-06-094-54/+146
| | | | | | | | | | | | | | | | | 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
* Revert 141281 - [NaCl SDK] Turn on pyauto testing on SDK builders (not ↵binji@chromium.org2012-06-082-43/+15
| | | | | | | | | | | | | | trybots yet). BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10539015 TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10541089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141316 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Turn on pyauto testing on SDK builders (not trybots yet).binji@chromium.org2012-06-082-15/+43
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10539015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141281 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
* [NaCl SDK] Add support for pepper_canary bundle.binji@chromium.org2012-06-043-42/+281
| | | | | | | | | | | Also some stability changes in naclsdk_manifest2.json. BUG=126288 TEST=test_update_manifest.UpdateCanary* Review URL: https://chromiumcodereview.appspot.com/10442047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140410 0039d316-1c4b-4281-b951-d872f2087c98
* Added a test to launch local server and test nacl_sdk examples built by the ↵pnihalani@chromium.org2012-06-042-2/+12
| | | | | | | | build_sdk script in src/out dir. Review URL: https://chromiumcodereview.appspot.com/10451098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140311 0039d316-1c4b-4281-b951-d872f2087c98
* Fix check_perms on Linuxmaruel@chromium.org2012-06-032-2/+2
| | | | | | | | | | | | | | Note: the file modifications are simply so the files can be uploaded to rietveld. NOTRY=true TBR=noelallen@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10501015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140233 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to automatically generate the makefiles for SDKnoelallen@google.com2012-06-023-0/+485
| | | | | | | | | | | This allows us to more easily and consistantly change the make/project files we ship the SDK. BUG=130618 R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10453102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140209 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add python tests to builders.binji@chromium.org2012-06-014-3/+39
| | | | | | | | | BUG=none TEST=test_auto_update_sdk_tools, test_update_manifest Review URL: https://chromiumcodereview.appspot.com/10443066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140092 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all uses of src/native_client_sdk/src/build_tools/buildbot_run.py.kkania@chromium.org2012-05-291-5/+2
| | | | | | | | The script will be removed once the appropriate NaCl masters have been restarted. Review URL: https://chromiumcodereview.appspot.com/10453065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139395 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Automatically update the sdk_update utility.binji@chromium.org2012-05-2310-801/+1206
| | | | | | | | | | | | | Prior to this change a user would have to run: naclsdk update sdk_tools naclsdk <command> BUG=125788 TEST=tests/test_auto_update_sdktools.py Review URL: https://chromiumcodereview.appspot.com/10332183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138593 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Some fixes to update_nacl_manifest.py.binji@chromium.org2012-05-214-44/+51
| | | | | | | | | | | | Also modified naclsdk_manifest2.json to allow update_nacl_manifest to upload pepper_20 bundles. BUG=none TEST=tests/test_update_manifest.py Review URL: https://chromiumcodereview.appspot.com/10414011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138169 0039d316-1c4b-4281-b951-d872f2087c98
* Add "libraries" directory to SDKnoelallen@google.com2012-05-111-1/+5
| | | | | | | | | | | Adds the PPAPI headers where they can be used by a host compiler. Adds a define for PPAPI_RELEASE when building for the SDK. Disables updater testing when not generating tarballs. BUG=122229 Review URL: https://chromiumcodereview.appspot.com/10356116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136614 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add tests for update_nacl_manifest.pybinji@chromium.org2012-05-103-269/+811
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10332023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136435 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCL SDK] Remove unused scripts from native_client_sdk/src/build_toolsbinji@chromium.org2012-05-10119-15606/+0
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10339006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136350 0039d316-1c4b-4281-b951-d872f2087c98
* Add "kernel" source nacl_mountnoelallen@google.com2012-05-0811-0/+1314
| | | | | | | | | | | | | | kernel_intercept grabs calls to open, close, getcwd, read, write, etc and routes them to the kernel_proxy. kernel_proxy implements manages mounts, and implements thread safe system calls on top of kernel_object primatives. kernel_object primatives track file descriptors and file handles. BUG=122229 R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10315015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135927 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix crash in pi_generator example.binji@chromium.org2012-05-081-1/+1
| | | | | | | | | | BUG=126319 TEST=none, unfortunately. :( TBR=noelallen1@chromium.org Review URL: https://chromiumcodereview.appspot.com/10375038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135765 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix examples/Makefile to build all projects. Also change thebinji@chromium.org2012-05-082-13/+53
| | | | | | | | | | | | buildscript to test this use case. BUG=126319 TEST=naclsdk buildbots TBR=noelallen1@chromium.org Review URL: https://chromiumcodereview.appspot.com/10387011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135763 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Polling script that reads omahaproxy and cloudstorage to update SDKbinji@chromium.org2012-05-073-13/+331
| | | | | | | | | | | manifest automatically. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10214010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135730 0039d316-1c4b-4281-b951-d872f2087c98
* Fix svn:executable on new NaCl scriptsmaruel@chromium.org2012-05-042-11/+12
| | | | | | | | | | | TBR=noelallen@chromium.org BUG= TEST=checkperms.py is not regressing Review URL: http://codereview.chromium.org/10384013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135453 0039d316-1c4b-4281-b951-d872f2087c98
* Add mount sources for a memory mountsnoelallen@google.com2012-05-048-9/+816
| | | | | | | | BUG=122229 R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10352019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135428 0039d316-1c4b-4281-b951-d872f2087c98