summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
Commit message (Collapse)AuthorAgeFilesLines
* add PRESUBMIT for native_client_sdk.sbc@chromium.org2012-09-0417-115/+168
| | | | | | | | | | | | | Currently just does pylint. Fix many obvious lint errors (but not all by any means). BUG= Review URL: https://chromiumcodereview.appspot.com/10868089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154856 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl SDK: Move OWNERS file up a directorydmichael@chromium.org2012-08-311-0/+0
| | | | | | | | | | | | | All top-level directories should have OWNERS. It looks here like we can just move OWNERS up a directory safely. Context: https://groups.google.com/a/chromium.org/d/topic/chromium-dev/QVHoLdhhxYk/discussion BUG= TBR=bradnelson@chromium.org Review URL: https://chromiumcodereview.appspot.com/10916057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154526 0039d316-1c4b-4281-b951-d872f2087c98
* Remove setting of TCNAME during example builds.sbc@chromium.org2012-08-242-22/+20
| | | | | | | | | | | | It was only used by hello_world and can be implemented with the preprocessor. BUG= Review URL: https://chromiumcodereview.appspot.com/10879055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153156 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fixes to gtest_ppapi so it compiles on win,linux host builds.binji@chromium.org2012-08-2311-201/+27
| | | | | | | | | BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10834438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153099 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Added some basic functionality to pthreads_win library.binji@chromium.org2012-08-232-22/+98
| | | | | | | | | | | | | It's just enough to support gtest_ppapi, nothing more. We should consider including the pthreads-win32 library instead. http://sources.redhat.com/pthreads-win32/ BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10845005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152883 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Building gtest is no longer experimental.binji@chromium.org2012-08-221-2/+9
| | | | | | | | | | BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10828334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152710 0039d316-1c4b-4281-b951-d872f2087c98
* Make each NaCl glibc test copy its shared libraries into a unique directory.ncbray@chromium.org2012-08-201-0/+9
| | | | | | | | | | | | This will prevent build problems when there is more than one glibc test. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2959 TEST= none Review URL: https://chromiumcodereview.appspot.com/10837325 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152401 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Nicer display for 'naclsdk list'binji@chromium.org2012-08-171-15/+103
| | | | | | | | | | | | Also added 'naclsdk info' command to display more info about a bundle. Also fixed bug when running 'naclsdk -h' (auto updater bug). BUG=140361 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10854168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152109 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix template.mk to check for missing html page inside recipe.binji@chromium.org2012-08-171-2/+1
| | | | | | | | | | | | | | I was seeing the error: "recipe commences before first target. Stop" http://www.gnu.org/software/make/manual/html_node/Error-Messages.html BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10828357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152108 0039d316-1c4b-4281-b951-d872f2087c98
* Add Linux Host builds to NaCl SDKnoelallen@chromium.org2012-08-164-20/+33
| | | | | | | | | | Add the ability to build and run Linux host changes. Add the ability to specify which version of the example to run. Prints a warning the TOOLCHAIN and/or CONFIG specified are invalid. Review URL: https://chromiumcodereview.appspot.com/10827363 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151964 0039d316-1c4b-4281-b951-d872f2087c98
* add linux support for examples and libssbc@chromium.org2012-08-1514-20/+63
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/10855162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151643 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] gtest_ppapi library.binji@chromium.org2012-08-1519-249/+90
| | | | | | | | | | | | | Right now it is just c_salt/test moved over, but the goal is to use this to allow gtest to forward test results to the browser, and from there to a local server. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10854137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151620 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Archive bundle should use https, not httpbinji@chromium.org2012-08-131-1/+1
| | | | | | | | | | | | | This broke the mono waterfall BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10824282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151388 0039d316-1c4b-4281-b951-d872f2087c98
* add glibc support to examplessbc@chromium.org2012-08-133-3/+3
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/10824246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151300 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add pepper_22 bundle.binji@chromium.org2012-08-101-4/+14
| | | | | | | | | | | BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10823275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151122 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Change nacl sdk tar filename to match realityelijahtaylor@google.com2012-08-101-1/+1
| | | | | | | | BUG=None TEST=nacl mono buildbots Review URL: https://chromiumcodereview.appspot.com/10825287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151106 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Make mono buildbot script run in the proper directory.elijahtaylor@chromium.org2012-08-091-0/+2
| | | | | | | | | | | Changes to the annotator required launching the script differently. BUG=none TEST=nacl mono buildbots Review URL: https://chromiumcodereview.appspot.com/10829266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150925 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Get nacl_mounts_tests building.binji@chromium.org2012-08-0914-99/+149
| | | | | | | | | BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10825189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150893 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove erroneous comma from bundle description.binji@chromium.org2012-08-091-2/+1
| | | | | | | | | | | | | | | This was causing the description to be stored as a tuple, which was serialized to JSON as an array, which makes naclsdk list display the description as [u'Chrome ... bundle, revision ...'] BUG=none R=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10830223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150866 0039d316-1c4b-4281-b951-d872f2087c98
* Add debugging optionsnoelallen@google.com2012-08-091-2/+2
| | | | | | | | | | | | | We are missing some debugging flags in the make which prevents us from getting debugging info in the SDK. This CL only affects the SDK (specifically SDK examples and user libs) and not Chrome. BUG=141227 R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10832208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150840 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Windows bat file for SDK trynoelallen@google.com2012-08-091-3/+3
| | | | | | | | The script currently does not run tries, since the try mechanism rejects the entire request if any requrest bot is bogus. Review URL: https://chromiumcodereview.appspot.com/10854028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150839 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Support multiple configsbinji@chromium.org2012-08-0724-325/+421
| | | | | | | | | | | | | | | | | | | | | | | | | | Slightly modified from noelallen's codereview.chromium.org/10823177. My changes: style nits, as well as fixing pnacl builds original CL description follows: This CL adds support for Debug and Release configs. It moves functions that require knowledge of the Makefile to make_rules.py and keeps functions that require understanding of the DSC files in generate_make.py. It adds a 'config' parameter to the embed in common.js. Updates all index.html files to support the new config parameter. make_rules.py has been converted to a class. This allows the object to persist state about the build which allows us to remove knowledge of the make rules from generate_make.py. BUG=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10828187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150289 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Build gtest on buildbots, but don't include it in the SDK.binji@chromium.org2012-08-035-145/+157
| | | | | | | | | | | | | | **For now, gtest is marked experimental because the NaCl fix to gtest has not yet been upstreamed and DEPS'd into chrome** * Test-only libraries and examples are build to the $(NACL_SDK_ROOT)testing/ directory. * Added INCLUDES to .dsc file, platform-generic way to add an include directory. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10824092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149929 0039d316-1c4b-4281-b951-d872f2087c98
* Several improvements to create_nmf.pysbc@chromium.org2012-08-021-31/+69
| | | | | | | | | | | | | | | | | | | | | | | | Add -v/--verbose so you can see what the tool is doing. Fix for StageDependencies so that it treats the main files in the same special way that _GenerateManifest does. The current behavior creates duplicate nested copies of of the all main (.nexe) files you pass it. Remove trailing whitespace. Add a __repr__ for ArchFile so printing them is less opaque. Remove ErrorOut in favor of Error exception. Calling sys.exit() all over the place makes things like unit testing harder. Error exception is now caught in the main entry point so the user doesn't see stack traces for errors. BUG= Review URL: https://chromiumcodereview.appspot.com/10837028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149557 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add nacl_mounts to NaCl SDK build. Experimental for now.binji@chromium.org2012-08-0130-182/+295
| | | | | | | | | | | | | | | Also add --experimental flag to build_sdk.py so we can test a library without it being included in the archived SDK. BUG=122229 TEST=none R=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10829027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149372 0039d316-1c4b-4281-b951-d872f2087c98
* Fix license headers in a number of filessteveblock@chromium.org2012-07-313-9/+9
| | | | | | | | | | | | | These headers now match the regex used in the presubmit check. This will simplify adding a tool to check license compatibility for the Android WebView build. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10835019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149222 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bad merge in a244177sbc@chromium.org2012-07-301-1/+1
| | | | | | | | | | R=binji@chromium.org BUG=139161 Review URL: https://chromiumcodereview.appspot.com/10820058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149066 0039d316-1c4b-4281-b951-d872f2087c98
* Fix third-party license information for a number of projectssteveblock@chromium.org2012-07-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | Also fix a couple of bugs in the license tool. - When scanning, ignore directories that don't contain any files, on the assumption that these are DEPS directories for projects not used by our current configuration. - Don't recurse into directories in ADDITIONAL_PATHS, just as we don't for regular third_party/foo directories. Notes - License file for third_party/mozc was taken from source header. - LICENSE.chromium_os was copied from Chromium OS source tree. This fixes 'licenses.py scan' for an Android checkout. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10829042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148693 0039d316-1c4b-4281-b951-d872f2087c98
* Python webserver output flushing.tysand@chromium.org2012-07-271-0/+2
| | | | | | | | | | | | | Added flushing to python server to fix issue in Visual Studio output window. BUG=136414 TEST= Review URL: https://chromiumcodereview.appspot.com/10821046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148668 0039d316-1c4b-4281-b951-d872f2087c98
* add dependancy generatation to generated Makefilessbc@chromium.org2012-07-262-19/+24
| | | | | | | | | | | | | This is implemented by passing -MMD to gcc and then including the generated .d files in the Makefile. BUG=139161 TEST= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10821050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148640 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Don't copy .h files to src in SDK.binji@chromium.org2012-07-266-50/+33
| | | | | | | | | | | | | | | | build_sdk.py: Also added --libraries to build only libraries. generate_make.py: Added HEADERS tag and HEADERS_DEST to .dsc file to allow a library to specify public headers and a place to install them. BUG=none TEST=none R=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10823016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148455 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Clean up build_sdk.pybinji@chromium.org2012-07-241-275/+310
| | | | | | | | | | | | BUG=none TEST=none R=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10808103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148233 0039d316-1c4b-4281-b951-d872f2087c98
* Make use of -lppapi explicit to allow for correct library order.noelallen@chromium.org2012-07-2426-29/+140
| | | | | | | | | | | | | | | This CL removes the implicit -lppapi and pthread in the Makefiles. Since ppapi lib does not exist on the host (on NaCl it's actually a linker script), we need to create a bogus ppapi.lib for host Pepper development. In addition, on Windows we do not have a pthread library so we create a mini pthread library to support the examples. This CL also fixes tries which are broken on Windows. Review URL: https://chromiumcodereview.appspot.com/10815039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148006 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix README file in SDK.binji@chromium.org2012-07-182-5/+16
| | | | | | | | | | | | | The previous README had placeholders for the VERSION, REVISION, and DATE. It also incorrectly pointed to the NativeClientSDK repository on code.google.com BUG=none TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10696213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147322 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add some logic to build_sdk.py to build Windows host libraries ↵binji@chromium.org2012-07-181-11/+64
| | | | | | | | | | | | with cl.exe in the PATH. BUG=none TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10803017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147319 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Turn off building win host for now, the buildbots don't have ↵binji@chromium.org2012-07-181-9/+10
| | | | | | | | | | | | | | cl.exe in the path. BUG=none TEST=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10799009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147268 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Use .tar.bz2 for bundle extension instead of .bz2binji@chromium.org2012-07-183-4/+20
| | | | | | | | | | BUG=none TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10690186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147140 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix compile error in mt_input_events.cc due to r146611binji@chromium.org2012-07-1710-78/+58
| | | | | | | | | | | | | | | | The compile failure occurred because pp::CompletionCallbackFactory's second template parameter changed from a reference count type to a traits type. event_queue::ThreadSafeRefCount is no longer necessary because pp::CompletionCallbackFactory uses a thread safe traits class by default. BUG=none TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10789021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147119 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Set "recommended" tag to "yes" automatically for stable pepper ↵binji@chromium.org2012-07-093-16/+21
| | | | | | | | | | | | bundle. BUG=none TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10764002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145801 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix Pnacl build.binji@chromium.org2012-07-092-1/+7
| | | | | | | | | | | | Also, "./build_sdk --pnacl" now works on non-buildbots. BUG=none TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10767002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145755 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for HOST builds on Windowsnoelallen@chromium.org2012-07-0328-146/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for host targets Adds support for Win32 complation, linking Adds support for libaries Adds ppapi_cpp, and ppapi_gles2 libraries src/ppapi/* will be scraped for headers, these will be placed in <SDK>/include individual libraries such as ppapi_cpp and ppapi_gles2 will be placed in <SDK>/src Output of those libraries will be placed in <SDK>lib (or lib32/lib64 for linux) So now the directories are: SDK examples inludes libs srcs tools toolchains R=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10668011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145390 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix pyauto tests after my last CL.binji@chromium.org2012-07-021-1/+1
| | | | | | | | | | | | | I changed some DOM elements, but forgot to update the pyauto tests. BUG=none TEST=pyauto tests on the NaCl SDK waterfall NOTRY=true TBR=noelallen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10693075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145200 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Examples cleanup.binji@chromium.org2012-07-0228-1282/+698
| | | | | | | | | | | BUG=none TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10674003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145173 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add pepper_21 to naclsdk_manifest2.jsonbinji@chromium.org2012-06-291-0/+10
| | | | | | | | | | | | BUG=none TEST=none TBR=noelallen@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10703042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144874 0039d316-1c4b-4281-b951-d872f2087c98
* 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