Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Issue 2708133002: Android: Android studio single module per target (Closed)

Created:
3 years, 10 months ago by Peter Wen
Modified:
3 years, 9 months ago
Reviewers:
agrieve
CC:
chromium-reviews, mikecase+watch_chromium.org, nyquist+watch_chromium.org, jbudorick+watch_chromium.org, wnwen+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Android studio single module per target Existing users can continue to split modules by gn targets by passing --split-project to generate_gradle.py, although that flag will not receive the same maintenance going forward, consider it deprecated. This coalesces java and resource dependencies into the same build.gradle file for each apk and junit target specified (test apks still get folded into the apk_under_test target). Speeds up sync/builds by 10x to 1-3 seconds. Paves the way for using more of android studio's build steps, since they'll now take 1-3 seconds rather than 10+ seconds each time. BUG=620034 Review-Url: https://codereview.chromium.org/2708133002 Cr-Commit-Position: refs/heads/master@{#453257} Committed: https://chromium.googlesource.com/chromium/src/+/543908d37bb29cad0925a6553cb6a7261b222133

Patch Set 1 #

Patch Set 2 : ) #

Total comments: 2

Patch Set 3 : Remove default dict and add assert for incompatible args #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -58 lines) Patch
M build/android/gradle/dependencies.jinja View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M build/android/gradle/generate_gradle.py View 1 2 8 chunks +97 lines, -58 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
Peter Wen
PTAL
3 years, 10 months ago (2017-02-21 17:07:39 UTC) #3
agrieve
lgtm https://codereview.chromium.org/2708133002/diff/20001/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2708133002/diff/20001/build/android/gradle/generate_gradle.py#newcode335 build/android/gradle/generate_gradle.py:335: variables = collections.defaultdict(list) nit: some variables can be ...
3 years, 10 months ago (2017-02-21 17:52:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2708133002/40001
3 years, 10 months ago (2017-02-21 19:47:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2708133002/40001
3 years, 10 months ago (2017-02-21 21:04:41 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromium_presubmit on ...
3 years, 10 months ago (2017-02-21 21:49:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2708133002/60001
3 years, 9 months ago (2017-02-27 16:50:41 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 18:10:13 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/543908d37bb29cad0925a6553cb6...

Powered by Google App Engine
This is Rietveld 408576698