| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a port of some of the changes made to the common.mk
system when it was ported to support building nacltoons.
Also, change oshelpers "rm -f" so that is doesn't output
anything when it can't find files (this matches /bin/rm
behavior).
Also, remove redundant nmf build rules from host_vc.mk and
host_gcc.mk.
Also, add .mk files to exclusion list in top level
PRESUBMIT.py since they contain lines longer than 80 chars
and fixing this would make them harder to read.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/12209097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The auto-updater failed because -h kills the script before the
--update-sdk-tools flag can be processed.
BUG=none
TBR=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12213105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181735 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the build would fail with when at compile time.
BUG=none
R=noelallen@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12220085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181725 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Stamp files were incorrectly specified in the LINK step for host_vc.
TBR=sbc@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12208098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181624 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify AssignFD to Free then reassign, so that the Free path
happens atomically in the function.
See: https://codereview.chromium.org/12207031/
R=binji@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12217098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181623 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the way directory dependencies are handled. This allows us to create a directory:
$(TOOLCHAIN)/$(CONFIG)/foo
in the case the source file is named
foo/bar.c
The CL also improves how we handle dependencies of libraries. Now the LIB macro understands a STAMP target. The parent make can call and inject a STAMP target which
will only get touched if the library is rebuilt. This
fixes the "always link & run NMF" we've been seeing in
the SDK.
TBR=sbc@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12210066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181572 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Go back to using lib/win_x86_32_host for host libraries
since the VS addin projects were relying on this.
BUG=
Review URL: https://codereview.chromium.org/12218044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181406 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/12207031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181351 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this, printf() to stdout and stderr appear in
the chrome console as multiple lines which makes it close
to unusable.
BUG=
Review URL: https://chromiumcodereview.appspot.com/12091078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181166 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename nacl_mounts to nacl_io since we plan to support more than
just file mounts.
TBR=binji@chromium.org
BUG=174171
NOTRY=true
Review URL: https://codereview.chromium.org/12194030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180793 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This brings in working debug and release builds.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/12086047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180562 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Additional cleanup/consolidation discovered as part of adding
manifest files to the MountHttp.
BUG=173525
Review URL: https://codereview.chromium.org/12166002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180220 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds the ability to specify a manifiest when mounted. The manifest
will populate a node cache, enabling the user to stat the files
or traverse the directories without needing to issue URLLoad commands.
NOTRY=true
R=binji@chromium.org
BUG=173525
Review URL: https://codereview.chromium.org/12086099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180180 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a release build of the libraries so that users don't need to build it themselves.
NOTRY=true
R=sbc@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12093096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180038 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
R=binji@chromium.org
Review URL: https://codereview.chromium.org/12092076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179767 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL also fixes a bug where closing a file twice (i.e. closing two file
descriptors that point to the same kernel handle) would fail. The correct
behavior is that close should only remove the connection between the file
descriptor and the handle -- once the handle is no longer referenced, it should
be closed.
Other changes to make this work properly:
* Modified KernelProxy::close() to release the node, not close it.
* Removed Mount::Close.
* Made Mount::AcquireNode/ReleaseNode non-virtual. They should not be
overridden.
* As a result, determining the number of nodes attached to a mount cannot be
easily implemented by a Mount subclass; instead, Mount tracks this value
itself.
Some changes to improve testing:
* Added ki_uninit to initialize the kernel intercept. This is run after every
test that runs ki_init.
* kernel_wrap_init only wraps once -- otherwise, after a second call to
kernel_wrap_init will replace REAL(...) with the wrapped function.
Other fixes:
* nacl_mounts_test Makefile had an incorrect library include order; ppapi must
be before gtest so the main function in the gtest library is not used.
* nacl_mounts_test Makefile had a typo in the target name: "nacl_mount_test".
* RefObject was not calling Destroy when an object's ref count reached zero.
BUG=none
R=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12089019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179722 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove gdb_builds.
update_nacl_manifest uses omahaproxy to determine the Chrome version to use
when building the NaCl SDK bundle, but it only keeps the last ~5 revisions. As
a result, old versions need to either be pinned or purged.
The old versions are obviously still available on commondatastorage, they just
are not as easy to access from "naclsdk update" -- (we have old manifests up on
commondatastorage as well, so an intrepid user could still get old versions if
need be.)
BUG=none
R=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12079082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179718 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this change, every call to seek will perform 2 HEAD requests.
BUG=none
R=sbc@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12070007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179702 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an example which uses the ppapi_main and nacl_mounts to simplify the 3D example.
NOTRY=true
R=binji@chromium.org
BUG=168867
Review URL: https://codereview.chromium.org/11647030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179692 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Content-Range header specifies its range including the endpoints: [0,10] is
11 bytes. It's more natural in C to use a half-open range: [0,11) is 11 bytes.
BUG=172111
R=sbc@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12079052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179476 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=172045
R=sbc@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12095044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179464 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, move test_all.py script to the top level, since
it is the script that runs all tests, not just the
ones in build_tools.
BUG=172748
TEST=./test_all.py
Review URL: https://codereview.chromium.org/12095024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179364 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
R=sbc@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/12047098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179169 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add DEBUG target.
Fix missing -MMD on POSIX toolchains for include deps.
NOTRY=true
BUG=171823
R=binji@chromium.org
Review URL: https://codereview.chromium.org/12035061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178422 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* manifest_util.MergeWithBundle no longer removes archives with the same
host OS.
* added manifest_util.GetHostOSArchives, which returns all archives for a given
host OS.
* manifest_util.AddArchive no longer removes archives with the same host OS.
* sdk_tools update command's ExtractArchive takes a list of archives.
* sdk_tools update command's _UpdateBundle will download and extract multiple
archives.
BUG=170772
R=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12025039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178385 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, do the naclports archive before the building
and archiving of the sdk tools.
BUG=None
TEST=nacl_sdk_linux trybot
Review URL: https://chromiumcodereview.appspot.com/11943024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178185 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows we use a struct for the pthread_t. The example sets
the struct to NULL which causes an error. In addition, the example
uses "this" in the constructor which generates a warning which becomes
an error.
NOTRY=true
TBR=binji@chromium.org
BUG=
Review URL: https://codereview.chromium.org/12039004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177887 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
NaCl SDK is not building the windows version of ppapi_main which
makes hello_world_stdio fail on windows.
TBR=binji@chromium.org
Review URL: https://codereview.chromium.org/11871032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177866 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=156781
R=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11887021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177823 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without it, pnacl doesn't cache any translations which means
that pnacl browser_tests won't be able to test caching.
It also means users won't benefit from caching.
Alternatively, we could use a sha embedded within the pexe
that the pexe linker generates, but we have not converged
on which is better...
sort of related to
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2992
Review URL: https://chromiumcodereview.appspot.com/12017030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177818 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new build steps to build_sdk that pull down and build
selected naclports from the naclports repo and include them
in a naclports bundle.
This is the initial version which doesn't yet support Debug
builds and has a very small list of ports that it includes.
BUG=168693
Review URL: https://chromiumcodereview.appspot.com/11952002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177603 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add ignore deps flag to build of examples and tests. This prevents
recursive make from attempting to build the same object twice due to
different dependencies.
R=binji@chromium.org
BUG=170743
Review URL: https://codereview.chromium.org/11946053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177567 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=125786
R=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11742023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177497 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the use of urllib2.url2pathname as it was giving
strange results when passed absolute path on win32. The
URLs being passed into create_nmf are all local filesystem
paths anyway so using urllib2 here was unnecessary.
BUG=None
TEST=try bots
Review URL: https://chromiumcodereview.appspot.com/11886075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177440 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mkdir is incorrectly expanded, so that target directory for LIB
will not actually get created. This will sometimes cause a build
issue.
TBR=binji@chromium.org
BUG=169044
Review URL: https://codereview.chromium.org/11946039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177359 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current Makefiles are extremely large and complex.
This change puts the complexity into common.mk, nacl.mk and host.mk
so that Makefile pretty much becomes a list of sources and targets.
BUG=169044
R=binji@chromium.org
Review URL: https://codereview.chromium.org/11882012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177356 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the unittests we only run after building the
entire SDK. Better to run them first (they are fast)
and fail early if they are failing.
BUG=None
TEST=trybots
Review URL: https://chromiumcodereview.appspot.com/11973016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177349 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* "naclsdk update" (i.e. update recommended) was broken
* "naclsdk update pepper_canary" would make a directory called "pepper_26" not
"pepper_canary".
BUG=none
R=sbc@chromium.org,noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11946002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177187 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
create_nmf was incorrectly creating duplicates of
user-specified shared libraries in the staging folder.
Now it can correctly detect when .so files are already in
the staging folder (a very common case) or in any folder
beneath where the main .nexe file lives (almost always the
case).
Also, remove unused -r option.
BUG=168348
Review URL: https://chromiumcodereview.appspot.com/11737035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177002 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=169497
Review URL: https://chromiumcodereview.appspot.com/11859013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176576 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix regression in nacl_mounts due to unused symbol during link.
Add a kernel_wrap_init function to switch between libc and
nacl_mount implementations for IO functions.
Delete unused kernel_wrap.cc
NOTRY=true
R=binji@chromium.org
BUG=169367
Review URL: https://chromiumcodereview.appspot.com/11783113
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176414 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Landing the correct binaries for sbc@.
Previous CL: http://crrev.com/11824076
> Test code is coming in a future change:
> https://codereview.chromium.org/11737035/
BUG=none
TBR=noelallen@chromium.org
Review URL: https://codereview.chromium.org/11852025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176391 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Test code is coming in a future change:
https://codereview.chromium.org/11737035/
Review URL: https://chromiumcodereview.appspot.com/11824076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176351 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Adds a optional dictionary passed to createNaClModule as a set of key value pairs to the DidCreate function.
R=sbc@chromium.org,binji@chromium.org
Review URL: https://codereview.chromium.org/11823042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176161 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TBR=binji@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/11817037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175949 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simplify the makefile for the hello_world_XXX examples.
Update create_nmf to support direct PNaCl NMF files.
Update common.mk to support PNaCl
NOTRY=true
R=binji@chromium.org
BUG=169044
Review URL: https://codereview.chromium.org/11725003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175921 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updating sdk_tools easier.
BUG=none
R=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11759011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175860 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Host and NaCl builds currently use different headers which can cause
build problems. This change moves the headers out of the toolchains
and instead all toolchains share the same set as the host builds.
NOTRY=true
BUG=168718
R=binji@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11825003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175666 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change allows you to compile all .cc files for nacl-mounts. Previously you
need to include compile kernel_wrap.cc, but only copy (not compile) the other
kernel_wrap_*.cc files.
This is convenient for someone making a visual studio project -- they can just
drop all the .cc files into a project and everything "just works".
BUG=none
R=noelallen@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11744010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can not currently try a patch containing a binary blob, so we
submit the binary blob first, then try the rest of the patch
seperately.
NOTRY=true
TBR=binji@chromium.org
BUG=168867
Review URL: https://codereview.chromium.org/11817003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175623 0039d316-1c4b-4281-b951-d872f2087c98
|