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

Issue 2691353005: Generate custom manifests when letting gradle process resources. (Closed)

Created:
3 years, 10 months ago by sakal-chromium
Modified:
3 years, 10 months ago
Reviewers:
Peter Wen, 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

Generate custom manifests when letting gradle process resources. Gradle uses package id from manifest when generating R.class. So, we need to generate a custom manifest if we let gradle process resources. BUG=682846, webrtc:6328 Review-Url: https://codereview.chromium.org/2691353005 Cr-Commit-Position: refs/heads/master@{#451029} Committed: https://chromium.googlesource.com/chromium/src/+/cab87bffc69256f873c19f5a977d35e290a180ee

Patch Set 1 : Generate custom manifests when letting gradle process resources. #

Total comments: 4

Patch Set 2 : Changes according to Peter's comments. #1 #

Total comments: 6

Patch Set 3 : Changes according to agrieve's comments. #1 #

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

Messages

Total messages: 21 (10 generated)
sakal-chromium
PTAL
3 years, 10 months ago (2017-02-16 09:54:12 UTC) #4
Peter Wen
https://codereview.chromium.org/2691353005/diff/60001/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2691353005/diff/60001/build/android/gradle/generate_gradle.py#newcode274 build/android/gradle/generate_gradle.py:274: def Generate(self, entry, jinja_processor): Rather than passing this in, ...
3 years, 10 months ago (2017-02-16 14:21:15 UTC) #8
sakal-chromium
https://codereview.chromium.org/2691353005/diff/60001/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2691353005/diff/60001/build/android/gradle/generate_gradle.py#newcode274 build/android/gradle/generate_gradle.py:274: def Generate(self, entry, jinja_processor): On 2017/02/16 14:21:15, Peter Wen ...
3 years, 10 months ago (2017-02-16 14:31:35 UTC) #9
agrieve
Curious if you tried setting this via build.gradle rather than a manifest ia: android { ...
3 years, 10 months ago (2017-02-16 15:11:30 UTC) #10
sakal-chromium
On 2017/02/16 15:11:30, agrieve wrote: > Curious if you tried setting this via build.gradle rather ...
3 years, 10 months ago (2017-02-16 15:12:34 UTC) #11
Peter Wen
lgtm, thanks!
3 years, 10 months ago (2017-02-16 15:16:22 UTC) #12
agrieve
lgtm. Great stuff! https://codereview.chromium.org/2691353005/diff/80001/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2691353005/diff/80001/build/android/gradle/generate_gradle.py#newcode286 build/android/gradle/generate_gradle.py:286: # need to generate a custom ...
3 years, 10 months ago (2017-02-16 15:28:01 UTC) #13
agrieve
Note: I tried this out locally for the main chrome targets and verified it still ...
3 years, 10 months ago (2017-02-16 15:28:52 UTC) #14
sakal-chromium
https://codereview.chromium.org/2691353005/diff/80001/build/android/gradle/generate_gradle.py File build/android/gradle/generate_gradle.py (right): https://codereview.chromium.org/2691353005/diff/80001/build/android/gradle/generate_gradle.py#newcode286 build/android/gradle/generate_gradle.py:286: # need to generate a custom manifest if we ...
3 years, 10 months ago (2017-02-16 15:47:37 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/2691353005/100001
3 years, 10 months ago (2017-02-16 15:59:58 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 18:53:15 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/cab87bffc69256f873c19f5a977d...

Powered by Google App Engine
This is Rietveld 408576698