commit | 665246c65f856a1a352bd4fd8e843ce4b4c72d3d | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jan 08 15:06:36 2016 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Jan 08 15:06:36 2016 -0800 |
tree | 028d2febbf5cf8162d4c228c76e90e5148d92db3 | |
parent | 8de35f54d981bf34ab09571dc32a18f363440a3a [diff] |
v8: prevent unnecessary rebuilds Android.mksnapshot.mk is parsed twice when building for a 64-bit device, for example once for arm64 and again for arm. Using += for LOCAL_CFLAGS_v8_target_* results in cflags being added twice for the 32-bit version. For a 32-bit device the file is only parsed once and the cflags are not duplicated. The cflags are used for host modules, which are shared between builds of different products. If the cflags change between products the command line will change and ninja will rebuild all the files. Replace += with := for the first assignment to LOCAL_CFLAGS_v8_target_*. Bug: 26470151 Change-Id: Idb7bc157830207fe5314b5b084a0bd564d5f3221
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://code.google.com/p/v8/
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin
gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*