Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
jbudorick c2aa87f75c [android] Stop using isolate.py for data dependency management. (RELAND)
BUG=663110

Review-Url: https://codereview.chromium.org/2502363005
Cr-Original-Commit-Position: refs/heads/master@{#433322}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d29ecfa7dc3ed49a2a49002ab941adb57c53e923
2016-11-18 22:55:16 +00:00
jbudorick faaecf8a5e Revert of [android] Stop using isolate.py for data dependency management. (patchset #9 id:160001 of https://codereview.chromium.org/2492123002/ )
Reason for revert:
Breaks the blink bot, e.g. https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Nexus4%29/builds/57103

Original issue's description:
> [android] Stop using isolate.py for data dependency management.
>
> BUG=663110
>
> Committed: https://crrev.com/634c87cf4af7ac11f2dbe7687a6d7904c2217ee3
> Cr-Commit-Position: refs/heads/master@{#432940}

TBR=agrieve@chromium.org,dpranke@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=663110

Review-Url: https://codereview.chromium.org/2514453003
Cr-Original-Commit-Position: refs/heads/master@{#433020}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 67002b0fdaa3123f10f96fa2f7965677d531db74
2016-11-18 02:14:14 +00:00
jbudorick d7507a0fce [android] Stop using isolate.py for data dependency management.
BUG=663110

Review-Url: https://codereview.chromium.org/2492123002
Cr-Original-Commit-Position: refs/heads/master@{#432940}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 634c87cf4af7ac11f2dbe7687a6d7904c2217ee3
2016-11-17 20:23:58 +00:00
agrieve 4e62debd8b Fix android depfiles to always list GN's outputs[0]
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
2016-09-14 02:06:20 +00:00
jbudorick 4f92210342 [Android] Switch instrumentation tests to generated device isolates.
BUG=633333

Review-Url: https://codereview.chromium.org/2203073002
Cr-Original-Commit-Position: refs/heads/master@{#410238}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 84c77363529b707fe226c440a153810cb6dea30d
2016-08-06 01:01:45 +00:00
jbudorick 957253ade4 [Android] Move isolate generation into //build/config/android.
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
2016-08-03 02:04:21 +00:00
agrieve 6457f677cf GN: Side-load dex files as well as native code in incremental installs
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
2015-09-16 19:57:38 +00:00
agrieve a0a24ed2fc Make generated bin/install_incremental_* script remember its own CHROMIUM_OUTPUT_DIR
BUG=520082

Review URL: https://codereview.chromium.org/1337953002

Cr-Original-Commit-Position: refs/heads/master@{#348620}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b45d19e19fc8bcb9c68be81f1be5549b1ee4f790
2015-09-14 15:31:49 +00:00
agrieve fcbd883018 Make building of resource zips and srcjars hermetic
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
2015-09-03 02:35:11 +00:00
agrieve 73be074072 Fix sys.path of create_incremental_install_script.py
BUG=520082

Review URL: https://codereview.chromium.org/1313513006

Cr-Original-Commit-Position: refs/heads/master@{#346667}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ba4a30f51e70228d8cbd7c0e7c2158c8a58087a7
2015-09-01 16:00:04 +00:00
agrieve 3fe1f2a21b GN(android): Add scripts & runtime logic for installing _incremental apks
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
2015-09-01 07:04:28 +00:00
cjhopman@chromium.org a35d42b462 Add depfile support to android build scripts
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
2014-06-24 23:38:17 +00:00
cjhopman@chromium.org 9e92697803 Add java_cpp_template template
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
2014-05-26 04:01:47 +00:00