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

Issue 1048463003: Use jinja2 to template webview manifest files. (Closed)

Created:
5 years, 8 months ago by Tobias Sargeant
Modified:
5 years, 8 months ago
Reviewers:
hush (inactive), Torne
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use jinja2 to template webview manifest files. BUG= Committed: https://crrev.com/846177a22c453c33f867d9c4a9f14c80f7f30372 Cr-Commit-Position: refs/heads/master@{#322791}

Patch Set 1 #

Patch Set 2 : Provide defaults for manifest variables, remove intermediate target. #

Patch Set 3 : Simplify intermediate dir #

Total comments: 2

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/apk/java/AndroidManifest.xml View 1 1 chunk +3 lines, -3 lines 0 comments Download
M android_webview/apk/system_webview_apk_common.gypi View 1 2 3 4 2 chunks +7 lines, -0 lines 1 comment Download

Messages

Total messages: 16 (3 generated)
Tobias Sargeant
5 years, 8 months ago (2015-03-30 12:41:57 UTC) #2
Tobias Sargeant
5 years, 8 months ago (2015-03-30 13:29:43 UTC) #3
Torne
https://codereview.chromium.org/1048463003/diff/40001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/1048463003/diff/40001/android_webview/android_webview.gyp#newcode391 android_webview/android_webview.gyp:391: 'jinja_inputs': ['apk/java/AndroidManifest.xml'], Thinking about it more, all this logic ...
5 years, 8 months ago (2015-03-30 13:31:09 UTC) #4
Tobias Sargeant
https://codereview.chromium.org/1048463003/diff/40001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/1048463003/diff/40001/android_webview/android_webview.gyp#newcode391 android_webview/android_webview.gyp:391: 'jinja_inputs': ['apk/java/AndroidManifest.xml'], On 2015/03/30 13:31:09, Torne wrote: > Thinking ...
5 years, 8 months ago (2015-03-30 13:53:07 UTC) #5
Torne
https://codereview.chromium.org/1048463003/diff/60001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/1048463003/diff/60001/android_webview/android_webview.gyp#newcode391 android_webview/android_webview.gyp:391: 'android_manifest_template_path': 'apk/java/AndroidManifest.xml', This will be the same for all ...
5 years, 8 months ago (2015-03-30 14:02:38 UTC) #6
Tobias Sargeant
https://codereview.chromium.org/1048463003/diff/60001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/1048463003/diff/60001/android_webview/android_webview.gyp#newcode391 android_webview/android_webview.gyp:391: 'android_manifest_template_path': 'apk/java/AndroidManifest.xml', On 2015/03/30 14:02:38, Torne wrote: > This ...
5 years, 8 months ago (2015-03-30 15:54:15 UTC) #7
Torne
lgtm
5 years, 8 months ago (2015-03-30 15:56:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048463003/80001
5 years, 8 months ago (2015-03-30 15:57:54 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-03-30 16:33:53 UTC) #11
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/846177a22c453c33f867d9c4a9f14c80f7f30372 Cr-Commit-Position: refs/heads/master@{#322791}
5 years, 8 months ago (2015-03-30 16:34:46 UTC) #12
hush (inactive)
https://codereview.chromium.org/1048463003/diff/80001/android_webview/apk/system_webview_apk_common.gypi File android_webview/apk/system_webview_apk_common.gypi (right): https://codereview.chromium.org/1048463003/diff/80001/android_webview/apk/system_webview_apk_common.gypi#newcode27 android_webview/apk/system_webview_apk_common.gypi:27: 'android_manifest_template_path': '<(DEPTH)/android_webview/apk/java/AndroidManifest.xml', I guess this probably overrides the AndroidManifest.xml ...
5 years, 8 months ago (2015-03-30 23:47:19 UTC) #14
boliu
On 2015/03/30 23:47:19, hush wrote: > https://codereview.chromium.org/1048463003/diff/80001/android_webview/apk/system_webview_apk_common.gypi > File android_webview/apk/system_webview_apk_common.gypi (right): > > https://codereview.chromium.org/1048463003/diff/80001/android_webview/apk/system_webview_apk_common.gypi#newcode27 > ...
5 years, 8 months ago (2015-03-31 00:30:10 UTC) #15
Tobias Sargeant
5 years, 8 months ago (2015-03-31 06:51:23 UTC) #16
Message was sent while issue was closed.
The corresponding clank change (identical to Bo's, ultimately) was already
uploaded - https://chrome-internal-review.googlesource.com/210881/ - but I
was waiting for the clank repository to autoroll.


On Tue, Mar 31, 2015 at 1:30 AM, <boliu@chromium.org> wrote:

> On 2015/03/30 23:47:19, hush wrote:
>
> https://codereview.chromium.org/1048463003/diff/80001/
> android_webview/apk/system_webview_apk_common.gypi
>
>> File android_webview/apk/system_webview_apk_common.gypi (right):
>>
>
>
> https://codereview.chromium.org/1048463003/diff/80001/
> android_webview/apk/system_webview_apk_common.gypi#newcode27
>
>> android_webview/apk/system_webview_apk_common.gypi:27:
>> 'android_manifest_template_path':
>> '<(DEPTH)/android_webview/apk/java/AndroidManifest.xml',
>> I guess this probably overrides the AndroidManifest.xml defined by
>> system_webview_google_apk/system_webview_google_next_apk target. As a
>> result,
>>
> I
>
>> have seen these targets produce apks whose package names are
>>
> com.android.webview
>
>> instead of com.google.android.webview.
>>
>
>  Can you fix this?
>>
>
> Fix being reviewed in https://chrome-internal-
> review.googlesource.com/211028
>
> https://codereview.chromium.org/1048463003/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698