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

Issue 477903003: Make the WebView apk build in the Chrome tree (Closed)

Created:
6 years, 4 months ago by hjd
Modified:
6 years, 3 months ago
Reviewers:
Daniel Berlin, Torne, mkosiba (inactive), palmer, open-source-third-party-reviews, security
CC:
chromium-reviews, android-webview-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Make the WebView apk build in the Chrome tree We checkout the Android WebView glue layer (frameworks/webview) into a new third_party directory (android_webview_glue) which is checked out via gclient. This is built against a jar containing frameworks/base (in android_platform/webview/frameworks.jar). We have to work around a few other issues: - Change build/java_apk.gypi to bypass the hardcoded 'src' path. - Move libwebviewchromium to an include so we can make both the prefixed and un-prefixed version in the same build. BUG=391488 R=mkosiba@chromium.org Committed: https://crrev.com/aefb27936dcf9694777440b8a2752b3c12300520 Cr-Commit-Position: refs/heads/master@{#293921}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update apk name. #

Patch Set 3 : Change package_name #

Total comments: 1

Patch Set 4 : Added bug to todo #

Patch Set 5 : Fix some indentation in libwebviewchromium.gypi #

Patch Set 6 : Update path in Android.mk #

Patch Set 7 : Rebase. #

Patch Set 8 : Rebase? #

Patch Set 9 : Update DEPS for glue layer #

Patch Set 10 : Move glue to third_party #

Total comments: 2

Patch Set 11 : Remove dead gitignore and fix gyp file #

Patch Set 12 : Set app version. #

Patch Set 13 : Update DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -74 lines) Patch
M .gitignore View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M android_webview/Android.mk View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M android_webview/android_webview.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -65 lines 0 comments Download
M android_webview/android_webview_tests.gypi View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -3 lines 0 comments Download
M android_webview/buildbot/aosp_manifest.xml View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
A android_webview/libwebviewchromium.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +61 lines, -0 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +6 lines, -2 lines 0 comments Download
A + third_party/android_webview_glue/LICENSE View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -0 lines 0 comments Download
A + third_party/android_webview_glue/OWNERS View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
A third_party/android_webview_glue/README.chromium View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/android_webview_glue/android_webview_glue.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (3 generated)
mkosiba (inactive)
https://codereview.chromium.org/477903003/diff/1/android_webview/android_webview_glue.gypi File android_webview/android_webview_glue.gypi (right): https://codereview.chromium.org/477903003/diff/1/android_webview/android_webview_glue.gypi#newcode7 android_webview/android_webview_glue.gypi:7: 'target_name': 'the_real_android_webview_apk', maybe system_webview_apk? https://codereview.chromium.org/477903003/diff/1/android_webview/android_webview_glue.gypi#newcode22 android_webview/android_webview_glue.gypi:22: 'package_name': 'com.android.webview.chromium', # ...
6 years, 4 months ago (2014-08-19 09:26:17 UTC) #1
hjd
https://codereview.chromium.org/477903003/diff/1/android_webview/android_webview_glue.gypi File android_webview/android_webview_glue.gypi (right): https://codereview.chromium.org/477903003/diff/1/android_webview/android_webview_glue.gypi#newcode7 android_webview/android_webview_glue.gypi:7: 'target_name': 'the_real_android_webview_apk', On 2014/08/19 09:26:17, mkosiba wrote: > maybe ...
6 years, 4 months ago (2014-08-19 14:34:22 UTC) #2
mkosiba (inactive)
+torne for one more look over the gyp stuff LGTM https://codereview.chromium.org/477903003/diff/40001/android_webview/android_webview_glue.gypi File android_webview/android_webview_glue.gypi (right): https://codereview.chromium.org/477903003/diff/40001/android_webview/android_webview_glue.gypi#newcode27 ...
6 years, 4 months ago (2014-08-20 10:51:19 UTC) #3
Torne
lgtm
6 years, 4 months ago (2014-08-21 17:18:50 UTC) #4
hjd
The CQ bit was checked by hjd@chromium.org
6 years, 4 months ago (2014-08-22 10:16:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hjd@chromium.org/477903003/100001
6 years, 4 months ago (2014-08-22 10:21:38 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 11:19:13 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 11:20:42 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/5952)
6 years, 4 months ago (2014-08-22 11:20:43 UTC) #9
hjd
The CQ bit was checked by hjd@chromium.org
6 years, 4 months ago (2014-08-22 11:27:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hjd@chromium.org/477903003/120001
6 years, 4 months ago (2014-08-22 11:28:21 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-22 11:38:57 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 11:40:26 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/8117) ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/8128) ios_rel_device_ninja ...
6 years, 4 months ago (2014-08-22 11:40:28 UTC) #14
hjd
The CQ bit was checked by hjd@chromium.org
6 years, 4 months ago (2014-08-22 12:30:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hjd@chromium.org/477903003/140001
6 years, 4 months ago (2014-08-22 12:31:07 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 13:30:44 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 13:34:41 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/8752) android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/1416)
6 years, 4 months ago (2014-08-22 13:34:42 UTC) #19
hjd
ptal, I'm trying to add a new third_party DEPS which checks out some AOSP Android ...
6 years, 3 months ago (2014-09-01 13:16:39 UTC) #21
Torne
lgtm https://codereview.chromium.org/477903003/diff/180001/.gitignore File .gitignore (right): https://codereview.chromium.org/477903003/diff/180001/.gitignore#newcode46 .gitignore:46: /android_webview/glue This entry is outdated I think?
6 years, 3 months ago (2014-09-02 10:34:08 UTC) #22
hjd
https://codereview.chromium.org/477903003/diff/180001/.gitignore File .gitignore (right): https://codereview.chromium.org/477903003/diff/180001/.gitignore#newcode46 .gitignore:46: /android_webview/glue On 2014/09/02 10:34:07, Torne wrote: > This entry ...
6 years, 3 months ago (2014-09-03 15:41:12 UTC) #23
mkosiba (inactive)
LGTM.
6 years, 3 months ago (2014-09-03 16:08:22 UTC) #24
palmer
LGTM from security perspective.
6 years, 3 months ago (2014-09-04 18:39:17 UTC) #25
Daniel Berlin
lgtm
6 years, 3 months ago (2014-09-04 18:43:05 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hjd@chromium.org/477903003/240001
6 years, 3 months ago (2014-09-09 09:47:57 UTC) #29
commit-bot: I haz the power
Committed patchset #13 (id:240001) as 27d2bfd20b960093d5e5f92fc0aa44a9f805761f
6 years, 3 months ago (2014-09-09 11:44:45 UTC) #30
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:52:50 UTC) #31
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/aefb27936dcf9694777440b8a2752b3c12300520
Cr-Commit-Position: refs/heads/master@{#293921}

Powered by Google App Engine
This is Rietveld 408576698