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

Issue 2837863002: Android: Remove apk modules for Android Studio (Closed)

Created:
3 years, 8 months ago by Peter Wen
Modified:
3 years, 7 months ago
Reviewers:
estevenson, 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/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Remove apk modules for Android Studio It is no longer necessary to list all the apk targets as separate modules now that we have the _all pseudo module. Having the separate modules resulted in bugs where Android Studio could not distinguish between prod code and test code since some modules viewed dirs as prod and some as test. The --split-projects flag can be used to see the dependency graph, and when only a single module will be generated, the _all pseudo module will not replace it. For android studio's _all pseudo module, move all known test dirs to androidTest instead of main so that they are properly displayed when filtered. BUG=620034 Review-Url: https://codereview.chromium.org/2837863002 Cr-Commit-Position: refs/heads/master@{#467704} Committed: https://chromium.googlesource.com/chromium/src/+/e851ad470036997a9a43b0ee2710442f1b5c2096

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove other modules. #

Patch Set 3 : Add exception for single target case #

Patch Set 4 : Update docs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -29 lines) Patch
M build/android/gradle/android.jinja View 1 chunk +2 lines, -0 lines 0 comments Download
M build/android/gradle/generate_gradle.py View 1 2 9 chunks +39 lines, -19 lines 0 comments Download
M docs/android_studio.md View 1 2 3 5 chunks +16 lines, -10 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
Peter Wen
Hi Eric, This doesn't fix everything with scoping that Anita mentioned, but at least the ...
3 years, 8 months ago (2017-04-24 14:30:09 UTC) #2
estevenson
lgtm https://codereview.chromium.org/2837863002/diff/1/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2837863002/diff/1/build/android/gradle/generate_gradle.py#newcode561 build/android/gradle/generate_gradle.py:561: def IsTestDir(path): nit: probably doesn't need to be ...
3 years, 8 months ago (2017-04-24 15:51:11 UTC) #3
Peter Wen
Thanks Eric! @agrieve - Talked with Eric about removing *_apk modules and just leaving _all. ...
3 years, 8 months ago (2017-04-24 17:40:14 UTC) #6
Peter Wen
Move agrieve@ to reviewers. See last email for context (forgot to add in last email).
3 years, 8 months ago (2017-04-24 17:40:43 UTC) #8
agrieve
On 2017/04/24 17:40:43, Peter Wen wrote: > Move agrieve@ to reviewers. See last email for ...
3 years, 8 months ago (2017-04-24 18:45:34 UTC) #11
Peter Wen
Updated description to reflect that --split-projects flag should keep working. Currently we're just using the ...
3 years, 8 months ago (2017-04-24 19:05:33 UTC) #15
Peter Wen
On 2017/04/24 19:05:33, Peter Wen wrote: > Updated description to reflect that --split-projects flag should ...
3 years, 8 months ago (2017-04-24 19:07:12 UTC) #16
agrieve
On 2017/04/24 19:07:12, Peter Wen wrote: > On 2017/04/24 19:05:33, Peter Wen wrote: > > ...
3 years, 8 months ago (2017-04-25 02:05:10 UTC) #17
Peter Wen
Added exception and updated docs. PTAL one last time. Thanks! 🍵
3 years, 7 months ago (2017-04-27 14:51:22 UTC) #20
agrieve
lgtm
3 years, 7 months ago (2017-04-27 15:13:43 UTC) #22
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/2837863002/60001
3 years, 7 months ago (2017-04-27 15:20:25 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 16:22:08 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e851ad470036997a9a43b0ee2710...

Powered by Google App Engine
This is Rietveld 408576698