summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src
Commit message (Collapse)AuthorAgeFilesLines
...
* [NaCl SDK] Add timeout slop for roundingnoelallen@chromium.org2013-07-241-2/+7
| | | | | | | | | | | | | Periodically we fail the timeout test, because the epoll wait appears to return in less time than expected. This can be due to rounding issues, conversion between usec/nsec, clock drift, and other small errors. NOTRY=true R=binji@chromium.org Review URL: https://codereview.chromium.org/19460017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213460 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Check that browser has support for NaCl/PNaCl/PPAPI.jvoung@chromium.org2013-07-231-14/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | Demonstrate a canonical way to detect if the browser has support for NaCl/PNaCl in the SDK examples. Do the check before creating the embed tag, when the page loads. If the browser does not have support, do not create the embed and just update the status message. If NaCl is disabled in about:plugins, then this will show an error. If NaCl is not enabled in about:flags, then this will not show an error and continue loading. The embed tag will then either (a) be created for CWS apps or (b) show a puzzle piece for the open web. For PNaCl, the page will show an error and not attempt to create an embed tag if either NaCl is disabled in about:plugins, or PNaCl is disabled in about:flags. BUG=243040 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/19751003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213271 0039d316-1c4b-4281-b951-d872f2087c98
* Include windows.hnoelallen@chromium.org2013-07-232-2/+4
| | | | | | | | | | Fix windows bot by including windows.h TBR=sbc@chromium.org Review URL: https://codereview.chromium.org/19668005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213242 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Build pnacl toolchain without scons.binji@chromium.org2013-07-232-97/+82
| | | | | | | | | BUG=none R=jvoung@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/18512005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213177 0039d316-1c4b-4281-b951-d872f2087c98
* Disable windows NaCl IOnoelallen@chromium.org2013-07-235-5/+5
| | | | | | | | | | | Temporarily disabling NaCl IO as a Windows Host build to unblock socket development. TBR=sbc@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/19684010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213047 0039d316-1c4b-4281-b951-d872f2087c98
* Add EventListener and EventEmitter to support epoll.noelallen@chromium.org2013-07-2314-6/+986
| | | | | | | | | | NOTRY=true BUG=257723 R=binji@chromium.org Review URL: https://codereview.chromium.org/19271009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213030 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix build error (warning) in nacl_io_test.sbc@chromium.org2013-07-231-3/+3
| | | | | | | | | | | The change that enabled -Wall should have contained this change. TBR=noelallen1 Review URL: https://codereview.chromium.org/19591005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213029 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Consistent use of copyright header.sbc@chromium.org2013-07-23100-375/+311
| | | | | | | | | | | | Use C++ style copyright header in all C++ headers and sources. Use consistent C-style copyright header in C sources and headers. R=noelallen@chromium.org Review URL: https://codereview.chromium.org/19673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213024 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Bring back -Wall and fix or disable all warnings.sbc@chromium.org2013-07-2329-60/+65
| | | | | | | | | | | | | | | | | | Add -Wall to all SDK project, but not to the default common.mk system (we don't want to force this on external users). gtest generates warning in gcc which can be suppressed with with a gcc-only flag that clang doesn't understand, so I added the ability to set GCC-only CFLAGS. This seemed better than forgoing the benefits of Wall on all gtest-using projects. R=binji@chromium.org Review URL: https://codereview.chromium.org/19802008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213020 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add create_nmf commandline flag for PNaCl optimization level.jvoung@chromium.org2013-07-221-3/+21
| | | | | | | | | | | | | | This allows us to customize the optimization level in the auto-generated NMF files for PNaCl chrome browser tests as well. Currently, the auto-generated NMF files use the default setting (do not specify optlevel). BUG= http://code.google.com/p/nativeclient/issues/detail?id=3553 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/19966002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212946 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Seperate test_projects.py out from test_sdk.py.binji@chromium.org2013-07-226-164/+400
| | | | | | | | | | | | test_projects is the testing equivalent of build_projects, you can give it a list of projects, configs, etc. to run. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/19789009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212914 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add nacl_io and sdk_util namespaces.binji@chromium.org2013-07-2263-47/+249
| | | | | | | | | BUG=none R=noelallen@chromium.org Review URL: https://codereview.chromium.org/19717004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212906 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix KernelHandle mount release order.noelallen@chromium.org2013-07-202-0/+7
| | | | | | | | | | | | | | In nacl_io_test, we create mounts and nodes without actually using mount which means the mount has only one ref. This CL forces the KernelHandle destructor to order the destruction of the node and mount to revent issues where the node attempts to unregister from a destroyed mount. TBR=binji@chromium.org TEST=nacl_io_test in SDK Review URL: https://codereview.chromium.org/19647005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212800 0039d316-1c4b-4281-b951-d872f2087c98
* This modifies Xray to use the proposed PNaCl and Pepper changes, including ↵grosse@chromium.org2013-07-197-9/+248
| | | | | | | | | | | | | passing strings directly to the instrumentation functions and sending the results via the Pepper Dev tracing interface. Note: This is an experimental project within the NaCl SDK which is not normally built. NOTRY=true was added due to unrelated test failures on the trybots. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/19409003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212634 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Update make.exe to 3.99.90-26-gf80222c.binji@chromium.org2013-07-191-1/+1
| | | | | | | | | | | | | This includes jobserver support for Windows, which will greatly improve its recursive parallel build speed. (without jobserver support, the windows build uses -j1 for all sub-makes.) BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/19278017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212632 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix building on dependencies under common.mk.sbc@chromium.org2013-07-195-12/+21
| | | | | | | | | | | | The stamp files used to signal when a given library was up-to-date were not depending on the installed libraries. R=binji@chromium.org Review URL: https://codereview.chromium.org/19412002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212620 0039d316-1c4b-4281-b951-d872f2087c98
* Fix threadpool to atomically decrement counternfullagar@chromium.org2013-07-181-1/+1
| | | | | | | | | | | | ( broken in https://codereview.chromium.org/18644009/ ) TEST=manually run through examples using threadpool BUG=none R=noelallen@chromium.org Review URL: https://codereview.chromium.org/19674009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212440 0039d316-1c4b-4281-b951-d872f2087c98
* NaClSDK: Build pnacl_irt_shim for x86-32 not just x86-64 and ARM.jvoung@chromium.org2013-07-181-18/+28
| | | | | | | | | | | | | | | We changed by-value struct passing in a way that we need shims for every architecture to communicate with PPAPI. (See https://codereview.chromium.org/14134011/) This only affects users of offline translation. BUG=261295 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/19680002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212252 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI presubmit check, to ensure NaCl SDK is updated properly.binji@chromium.org2013-07-173-0/+381
| | | | | | | | | | | | When adding or removing a PPAPI interface, a file in the NaCl SDK must be updated as well. BUG=254174 R=dmichael@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/19067002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212107 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove erroneous Release call from MountHtml5Fs::Access.binji@chromium.org2013-07-171-6/+1
| | | | | | | | | | | The Node was being released twice, which was stomping memory. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/19500002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212056 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix NaCl Mono builders boto configelijahtaylor@chromium.org2013-07-171-0/+6
| | | | | | | | | TEST=None BUG=None Review URL: https://chromiumcodereview.appspot.com/19443003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212005 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Don't reference gcc generated .d files until they have been fixed-up.sbc@chromium.org2013-07-155-28/+55
| | | | | | | | | | | | The build system in the SDK will now references .deps files which are generated by fixing up the gcc-generated .d files. R=noelallen@chromium.org BUG=259415 Review URL: https://codereview.chromium.org/18618003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211654 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Upate atomic ops in nacl_ionoelallen@chromium.org2013-07-1424-112/+222
| | | | | | | | | | | | | | Remove unneeded lock in mount_dev, mount root nodes do the locking. Add atomic and, or, xor. Remove lock from RefObject. Create SimpleLock. BUG=259563 R=binji@chromium.org Review URL: https://codereview.chromium.org/18644009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211612 0039d316-1c4b-4281-b951-d872f2087c98
* Change trace entry from delta ticks to start / end ticks.nfullagar@chromium.org2013-07-123-11/+17
| | | | | | | | | | | | | This does significantly increase the trace buffer memory requirements, but makes interpolating captures easier. This change also adds one additional guard value. BUG=none TEST=manual,experimental R=grosse@chromium.org Review URL: https://codereview.chromium.org/19087004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211469 0039d316-1c4b-4281-b951-d872f2087c98
* Changed tabs to spaces in two .dsc files.torinmr@chromium.org2013-07-122-3/+3
| | | | | | | | | | BUG=None TEST=None R=noelallen@chromium.org,bradnelson@google.com Review URL: https://chromiumcodereview.appspot.com/19061003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211315 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add TC includes, and Key expansion in makenoelallen@chromium.org2013-07-113-3/+3
| | | | | | | | | | | | | Fix missing expansion for dictioray: KEY = $(($TOOLCHAIN)_KEY)) Add toolchain specific include paths to support adding glibc compatibility to newlib/pnacl toolchains. BUG=none NOTRY=true R=sbc@chromium.org Review URL: https://codereview.chromium.org/18137009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211174 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add gtest and example of how to use it.sbc@chromium.org2013-07-1113-21/+331
| | | | | | | | | | | | | | | | | This adds the gtest and gmock libraries to the SDK. They were already built and used during testing but not shipped. Also adds a simple example of how to use gtest in NaCl. The idea being that the same tests can run under sel_ldr and chrome (assuming the check for the ppapi interfaces that they use). R=binji@chromium.org, noelallen@chromium.org Review URL: https://codereview.chromium.org/18453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211143 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up locking.noelallen@chromium.org2013-07-116-162/+246
| | | | | | | | | | | | | | | 1- Move all kernel locks to KernelObject 2- Never take a kernel lock outside of KernelObject functions. 3- Rename locks to more accurately describe what they protect. 4- Never take more than one kernel lock at a time. 5- "Hide" CWD from KernelProxy, it always deals with relative paths. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/18129008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211003 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl-SDK: Remove workaround in scoped_ref.h for PNaCl's stabilization steps.jvoung@chromium.org2013-07-101-8/+0
| | | | | | | | | | | | | Mark fixed the stabilization step to handle "select" instructions w/ structure arguments. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3514 TEST=build_tools/build_sdk.py && build_tools/build_projects.py -v -p gtest -p gmock -p nacl_io -p sdk_util -p nacl_io_test -b NOTRY=true Review URL: https://chromiumcodereview.appspot.com/18333006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210940 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Another fix to common.js to unbreak the build.binji@chromium.org2013-07-101-6/+9
| | | | | | | | | | | | If body.dataset.attrs is undefined, you can't split it. Trying to split it will throw an exception that will prevent loading the module. BUG=none TBR=sbc@chromium.org Review URL: https://codereview.chromium.org/18536008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210856 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing incorrect error in ppapi_simple.bradnelson@google.com2013-07-101-1/+1
| | | | | | | | | | | | | | | | The ioctl to pass along console input can either succeed or fail depending on if a tty device is on the other side. Fixing the assertion to check for genuinely unexpected results. This was producing spurious stderr warnings. BUG=None TEST=None R=torinmr@chromium.org,binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/18692006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210779 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix typo in common.js that is breaking the build.binji@chromium.org2013-07-101-1/+1
| | | | | | | | | BUG=none TBR=sbc@chromium.org Review URL: https://codereview.chromium.org/18266005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210758 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] test_sdk actually runs the tests (using browser_tester).binji@chromium.org2013-07-103-13/+177
| | | | | | | | | | BUG=139415 R=noelallen@chromium.org R=sbc@chromium.org Review URL: https://chromiumcodereview.appspot.com/17121010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210707 0039d316-1c4b-4281-b951-d872f2087c98
* XRay refactornfullagar@chromium.org2013-07-098-610/+818
| | | | | | | | | | | | | | - split out reporting, symbol parsing - allow more than one instance of xray to run at a time on differing threads - add lots of helper functions to parse frames and trace data - add option to use gettimeofday vs. rdtsc BUG=none TEST=experimental,manual R=bradnelson@google.com Review URL: https://codereview.chromium.org/18331016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210641 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] update_nacl_manifest: Better logging, upload to CDS.binji@chromium.org2013-07-093-53/+114
| | | | | | | | | | | | | | | | We often want to know why a particular version is being skipped/chosen during the SDK update process. Now update_nacl_manifest will track that information and upload it to commondatastorage. Once this starts uploading, I'll modify the manifest viewer page to read this data. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/18648004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210640 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: remove default prefix for /dev/tty messagessbc@chromium.org2013-07-093-10/+18
| | | | | | | | | | | Also fix simple_hello_world example so that the stdout is correctly re-directed to chrome vis PostMessage. R=binji@chromium.org Review URL: https://codereview.chromium.org/18341024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210632 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Honor NACL_ARCH when building libs.sbc@chromium.org2013-07-091-25/+43
| | | | | | | | | | | | The LIB and SO targets in the SDK build system now honor NACL_ARCH (and VALID_ARCHES) just like the main executable targets. R=noelallen@chromium.org Review URL: https://codereview.chromium.org/18477003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210580 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add script to sort sdk filelistsbc@chromium.org2013-07-082-169/+202
| | | | | | | | | | | | The SDK file list is fairly large and we like to keep it sorted. This change adds a --sort option to the verify_filelist.py script. R=binji@chromium.org Review URL: https://codereview.chromium.org/18826006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210448 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add launcher script for sel_ldr.sbc@chromium.org2013-07-0417-30/+324
| | | | | | | | | | | | | | | | | | | | | | | This script simplifies the process of running .nexe files under the sel_ldr in the SDK. It uses sensible defaults for things like the IRT location and library paths. It can also determine which version of the sel_ldr to run according to that architecture of the .nexe. Make common.mk aware of SEL_LDR=1 environment variable. In this case SEL_LDR is defined (so code an detect it) and 'make run' will run the sel_ldr rather than chrome. Run sel_ldr based tests as part of test_sdk. Currently this is only simple_hello_world and nacl_io_test. Distinguish between crashes and program exiting normally in common.js (we can't distinguish if exitcode is -1 right now). Review URL: https://chromiumcodereview.appspot.com/18176014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210236 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io_demo: Add commands for opendir/readdir/closedir/mkdir.binji@chromium.org2013-07-035-54/+435
| | | | | | | | | BUG=223188 R=sbc@chromium.org Review URL: https://codereview.chromium.org/18332009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210064 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix for buiding html files in pnacl configurations.sbc@chromium.org2013-07-032-7/+4
| | | | | | | | | | | | | | | | | | | | I found this issue while using the common.mk system to build the mesagl example in naclports: https://codereview.chromium.org/18404005 I also changed the way that the $(PAGE) existence is checked. The error message is a little less informative (no rule to make index.html) but it is produced more consistently. Mixing $(error) with make rules can lead to confusing output since the "ifdef" check is done at make parse time but the error message is expanded when the rule is run. R=binji@chromium.org Review URL: https://codereview.chromium.org/18054027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210057 0039d316-1c4b-4281-b951-d872f2087c98
* Provide support in DSC for Dictionarynoelallen@chromium.org2013-07-033-20/+76
| | | | | | | | | | | | | | | | Alows a LIST such as CCFLAGS or LIBS to be defined as a DICT. When a LIST is passed in, the LIST applies to all keys of the DICT. This is implemented in template.mk. Also puts logic for removing unused values in the same expansion path. R=sbc@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/18301009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210056 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Simplify pi_generator with ppapi_simple.binji@chromium.org2013-07-025-327/+69
| | | | | | | | | BUG=171068 R=sbc@chromium.org Review URL: https://codereview.chromium.org/18543008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209820 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Simplify SDK build scripts.sbc@chromium.org2013-07-025-114/+102
| | | | | | | | | | | | | | | | | | | | | Don't pass the name of the current platform to all functions. This is essentially a global that can be accessed from anywhere. No need to pass this or the verbosity level in arguments. This reduces that arity of many functions and makes the code more readable. Also, remove cases where GetPlatform() should have been used in place of comparing with sys.platform. Also, remove duplicate code for calling invoking make. Construction of the make commandline is now done solely in build_projects.py. R=binji@chromium.org Review URL: https://codereview.chromium.org/18563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209811 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add pepper_29 bundle, remove pepper_23 bundle.binji@chromium.org2013-07-021-15/+15
| | | | | | | | | BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/18158005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209743 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Allow use of goma for building libs/examples.sbc@chromium.org2013-07-024-41/+59
| | | | | | | | | | | | | This also enables users of our build system to use things like cache and distcc via the NACL_COMPILER_PREFIX setting. Goma is not enabled on the bots, or by default just yet. R=binji@chromium.org, noelallen@chromium.org Review URL: https://codereview.chromium.org/17759004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209728 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix recursive build w/ TOOLCHAIN=pnacl, etc.binji@chromium.org2013-07-021-0/+15
| | | | | | | | | | | | | | | | | | | We don't want to allow this: > examples/tutorial/dlopen$ make TOOLCHAIN=pnacl This should fail because the dlopen example doesn't support pnacl. But we do want this to work: > examples/tutorial$ make TOOLCHAIN=pnacl Because it should build everything in tutorial that supports pnacl. BUG=225747 R=sbc@chromium.org Review URL: https://codereview.chromium.org/18422002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209711 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] flock: Load images from relative path, instead of absolute.binji@chromium.org2013-07-011-2/+2
| | | | | | | | | | | | | The flock example crashes if it can't find the images. When running as a packaged app, the images are not in the root, but under the examples/demo/flock/images directory. BUG=none TBR=noelallen@chromium.org Review URL: https://codereview.chromium.org/18331007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209542 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] ppapi_simple logging improvements.sbc@chromium.org2013-07-0111-90/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new verbosity level called TRACE, and move a lot of the message to this level. This means the default level for Debug builds (LOG) is a little less chatty. Write all log message to stderr rather than stdout, so that we don't pullute the stdout the application with our messages (think minizip using ppapi_simple). Also, use NACL_SDK_DEBUG to determine if we are building a debug build, so the verbosity level is set correctly in debug builds. make build_projects.py -v pass V=1 to the make commands that it runs. When using the common.mk build system, pass --debug-libs to create_html in debug builds. Otherwise release libs are deployed by create_nmf. BUG= R=binji@chromium.org, noelallen@chromium.org Review URL: https://codereview.chromium.org/18089020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209526 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Add test for write/read fix.binji@chromium.org2013-07-0123-104/+361
| | | | | | | | | | | | | | | I've also changed the MountFactory used by the KernelProxy into an object instead of a function. This makes it easier to replace in tests. I've also added MountMock and MountNodeMock which are gmock wrappers for Mount and MountNode, respectively. BUG=254675 R=noelallen@chromium.org Review URL: https://codereview.chromium.org/17955003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209510 0039d316-1c4b-4281-b951-d872f2087c98