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

Issue 2667023002: Android: Add owned resources to android studio (Closed)

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

Description

Android: Add owned resources to android studio Include owned resources and unzip owned resource zips in android studio generated gradle projects. This allows a res directory to show up for each project. BUG=682846 Review-Url: https://codereview.chromium.org/2667023002 Cr-Commit-Position: refs/heads/master@{#447764} Committed: https://chromium.googlesource.com/chromium/src/+/9af0deb4bd0d2eb6ec47063ce2a024641e0da52d

Patch Set 1 #

Total comments: 10

Patch Set 2 : fix for review #

Patch Set 3 : missed one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -4 lines) Patch
M build/android/gradle/android.jinja View 1 chunk +5 lines, -0 lines 0 comments Download
M build/android/gradle/generate_gradle.py View 1 5 chunks +20 lines, -3 lines 0 comments Download
M docs/android_studio.md View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (14 generated)
Peter Wen
3 years, 10 months ago (2017-01-31 21:41:08 UTC) #3
estevenson
Lgtm!
3 years, 10 months ago (2017-02-01 15:00:05 UTC) #7
Peter Wen
Thanks for the review, Eric! +agrieve@ for OWNERS and review.
3 years, 10 months ago (2017-02-01 15:29:18 UTC) #9
agrieve
lgtm https://codereview.chromium.org/2667023002/diff/1/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2667023002/diff/1/build/android/gradle/generate_gradle.py#newcode217 build/android/gradle/generate_gradle.py:217: res_dirs = entry.DepsInfo().get('owned_resources_dirs', []) nit: you're mutating the ...
3 years, 10 months ago (2017-02-01 19:24:12 UTC) #10
Peter Wen
PTAL, thanks for the review. https://codereview.chromium.org/2667023002/diff/1/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2667023002/diff/1/build/android/gradle/generate_gradle.py#newcode217 build/android/gradle/generate_gradle.py:217: res_dirs = entry.DepsInfo().get('owned_resources_dirs', []) ...
3 years, 10 months ago (2017-02-01 22:09:55 UTC) #11
agrieve
still lgtm :)
3 years, 10 months ago (2017-02-02 03:55:17 UTC) #16
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/2667023002/40001
3 years, 10 months ago (2017-02-02 14:12:12 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/9af0deb4bd0d2eb6ec47063ce2a024641e0da52d
3 years, 10 months ago (2017-02-02 14:16:57 UTC) #22
agrieve
3 years, 10 months ago (2017-02-04 03:10:46 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2678463003/ by agrieve@chromium.org.

The reason for reverting is: Script now fails if resources aren't already built.

Powered by Google App Engine
This is Rietveld 408576698