Ninja complains with:
expected depfile 'foo.d' to mention 'bar', got 'baz'
Running ninja twice now reports "no work to do" again.
This change required updating all calls to build_utils.WriteDepFile() so
that the output is passed in. While doing this, I also made the helper
add in GetPythonDependencies() by default.
build/android/gyp/ant.py I just deleted rather than updating since it's
GYP-only.
BUG=646165
Review-Url: https://codereview.chromium.org/2336173003
Cr-Original-Commit-Position: refs/heads/master@{#418455}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4eb18a55cde4daf2ef43330d0304ec73ef546f96
The instrumentation_test_apk template can't use the isolate generation
logic if it stays in //testing/test.gni as doing so would introduce a
circular dependency. Android appears to be the only user of the
isolate generation logic anyway.
BUG=633333
Review-Url: https://codereview.chromium.org/2204823002
Cr-Original-Commit-Position: refs/heads/master@{#409429}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f5e2b6ac5cf0356d4e3fa25d65a6d1dcf4aaa2ad
This also re-organizes a bit by moving all incremental install related
files into //build/android/incremental_install.
BUG=520082
Review URL: https://codereview.chromium.org/1338813003
Cr-Original-Commit-Position: refs/heads/master@{#349200}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 933f2593199c4f95678ddda884aa476ff1fe0c23
When the inputs of a zip are the same, this ensures that the output zip
is the same by using a constant for file timestamps.
When making a change to base_java, and recompiling chrome_apk, time to
build went from 74sec -> 67sec
BUG=523420
Review URL: https://codereview.chromium.org/1319623002
Cr-Original-Commit-Position: refs/heads/master@{#347097}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5cb5ae912f80e5c7c6f7e71a8dc9b77ec7c87edf
Currently only .so files are side-loaded (no .dex side-loading yet).
Does not require a rooted device.
Usage:
ninja -C out/Debug chrome_apk_incremental
out/Debug/bin/install_incremental_chrome_app_apk
BUG=520082
Review URL: https://codereview.chromium.org/1291793007
Cr-Original-Commit-Position: refs/heads/master@{#346583}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ae65db8da9a27bea569869f4b5a86de4b4857260
This adds the --depfile option to a bunch of android's build scripts
(the ones used by gn). It also adds a simple function in build_utils to
calculate the paths of the imported python files.
Currently, the written depfiles just contain that list of python files
(which is much more accurate than the way this is handled in gyp).
BUG=359249
Review URL: https://codereview.chromium.org/341823003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@279546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This is the GN version of build/java_cpp_template.gypi.
It defines a template that wraps an action_foreach that generates .java
files using the host C preprocessor.
The major difference in the GN version is that it takes all the
generated java files and zips them together in a single .srcjar. When
such a target is included in the srcjar_deps of a java library, the
.java files in the .srcjar will be treated much like files listed in
that libraries java_sources (particularly they will be compiled and
included in the .jar/.dex).
Depends on https://crrev.com/264773014/
BUG=359249
Review URL: https://codereview.chromium.org/264923007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@272775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c