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

Issue 1364593002: Refactor android_webview_shell and its tests (Closed)

Created:
5 years, 3 months ago by Yoland Yan(Google)
Modified:
5 years, 2 months ago
CC:
android-webview-reviews_chromium.org, chromium-reviews, paulmiller, perezju
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

refactor android_webview_shell and add page cycler The previous android_webview/toos/WebViewShell directory is now separated into: android_webview/tools/WebViewShell/ android_webview/tools/WebViewShellTest/ with android_webview/tools/PageCycler/ added The target name are changed to system_webview_shell_apk, system_webview_shell_layout_test_apk, and system_webview_shell_page_cycler_apk. BUG= Committed: https://crrev.com/2a9e4d1100e6b15d591f193c152bb705774c9c38 Cr-Commit-Position: refs/heads/master@{#353105}

Patch Set 1 #

Patch Set 2 : #

Total comments: 20

Patch Set 3 : Minor fix #

Patch Set 4 : renaming #

Patch Set 5 : renaming #

Total comments: 7

Patch Set 6 : use CallbackHelper and refactor PageCyclerTestActivity.java, PageCyclerTest.java #

Total comments: 16

Patch Set 7 : change PageCyclerTest.java and its path #

Patch Set 8 : renaming #

Patch Set 9 : rename target in android_webview/android_webview_shell.gyp and build/all.gyp #

Total comments: 4

Patch Set 10 : change isolate file name #

Patch Set 11 : minor fixs #

Total comments: 1

Patch Set 12 : rebase to origin/master #

Patch Set 13 : #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -408 lines) Patch
M android_webview/android_webview_shell.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +52 lines, -6 lines 0 comments Download
D android_webview/android_webview_shell_test_apk.isolate View 1 2 3 4 5 6 7 9 1 chunk +0 lines, -19 lines 0 comments Download
A + android_webview/system_webview_shell_test_apk.isolate View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A android_webview/tools/PageCycler/AndroidManifest.xml View 1 2 3 4 5 6 8 1 chunk +31 lines, -0 lines 0 comments Download
A android_webview/tools/PageCycler/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
A android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java View 1 2 3 4 5 6 8 1 chunk +163 lines, -0 lines 0 comments Download
M android_webview/tools/WebViewShell/AndroidManifest.xml View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -10 lines 0 comments Download
M android_webview/tools/WebViewShell/res/values/strings.xml View 4 5 8 1 chunk +1 line, -0 lines 0 comments Download
A android_webview/tools/WebViewShell/src/org/chromium/webview_shell/PageCyclerTestActivity.java View 1 2 3 4 5 8 1 chunk +29 lines, -0 lines 0 comments Download
D android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -332 lines 0 comments Download
D android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTestRunner.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -38 lines 0 comments Download
M android_webview/tools/WebViewShell/test/run_tests.sh View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A android_webview/tools/WebViewShellTest/AndroidManifest.xml View 1 2 3 4 5 6 7 8 9 10 1 chunk +36 lines, -0 lines 0 comments Download
A + android_webview/tools/WebViewShellTest/src/org/chromium/webview_shell/test/WebViewLayoutTest.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
A + android_webview/tools/WebViewShellTest/src/org/chromium/webview_shell/test/WebViewLayoutTestRunner.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 66 (16 generated)
Yoland Yan(Google)
5 years, 3 months ago (2015-09-22 23:22:01 UTC) #2
Yoland Yan(Google)
On 2015/09/22 at 23:22:01, yolandyan wrote: > Guys, I think this is the last time ...
5 years, 3 months ago (2015-09-22 23:23:06 UTC) #3
boliu
On 2015/09/22 23:23:06, yolandyan wrote: > On 2015/09/22 at 23:22:01, yolandyan wrote: > > > ...
5 years, 3 months ago (2015-09-22 23:25:29 UTC) #4
timvolodine
nice! thanks Yoland. a couple of questions below. with this we could probably also drop ...
5 years, 3 months ago (2015-09-23 15:46:29 UTC) #5
boliu
Tim: does this need to be coordinated with the a bot side change for new ...
5 years, 3 months ago (2015-09-23 16:02:36 UTC) #6
timvolodine
On 2015/09/23 16:02:36, boliu wrote: > Tim: does this need to be coordinated with the ...
5 years, 3 months ago (2015-09-23 16:07:57 UTC) #7
boliu
Add new targets to build/all.gyp, otherwise bots won't build new targets https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp File android_webview/android_webview_shell.gyp (right): ...
5 years, 3 months ago (2015-09-23 16:59:07 UTC) #8
timvolodine
https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp File android_webview/android_webview_shell.gyp (right): https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp#newcode42 android_webview/android_webview_shell.gyp:42: 'android_manifest_path': 'tools/PageCycler/AndroidManifest.xml', On 2015/09/23 16:59:07, boliu wrote: > Let's ...
5 years, 3 months ago (2015-09-23 17:34:31 UTC) #9
boliu
https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp File android_webview/android_webview_shell.gyp (right): https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp#newcode42 android_webview/android_webview_shell.gyp:42: 'android_manifest_path': 'tools/PageCycler/AndroidManifest.xml', On 2015/09/23 17:34:31, timvolodine wrote: > On ...
5 years, 3 months ago (2015-09-23 17:48:28 UTC) #10
timvolodine
https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp File android_webview/android_webview_shell.gyp (right): https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp#newcode42 android_webview/android_webview_shell.gyp:42: 'android_manifest_path': 'tools/PageCycler/AndroidManifest.xml', On 2015/09/23 17:48:28, boliu wrote: > On ...
5 years, 3 months ago (2015-09-23 18:07:26 UTC) #11
Yoland Yan(Google)
https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp File android_webview/android_webview_shell.gyp (right): https://codereview.chromium.org/1364593002/diff/20001/android_webview/android_webview_shell.gyp#newcode42 android_webview/android_webview_shell.gyp:42: 'android_manifest_path': 'tools/PageCycler/AndroidManifest.xml', On 2015/09/23 at 18:07:26, timvolodine wrote: > ...
5 years, 3 months ago (2015-09-23 19:51:52 UTC) #12
Yoland Yan(Google)
Hi guys, I am separating the renaming cl from this cl so it will be ...
5 years, 3 months ago (2015-09-24 02:04:22 UTC) #13
boliu
much better, and let's decide on the name/move thing a bit later https://codereview.chromium.org/1364593002/diff/100001/android_webview/tools/PageCycler/AndroidManifest.xml File android_webview/tools/PageCycler/AndroidManifest.xml ...
5 years, 3 months ago (2015-09-24 22:35:31 UTC) #14
Yoland Yan(Google)
https://codereview.chromium.org/1364593002/diff/100001/android_webview/tools/PageCycler/AndroidManifest.xml File android_webview/tools/PageCycler/AndroidManifest.xml (right): https://codereview.chromium.org/1364593002/diff/100001/android_webview/tools/PageCycler/AndroidManifest.xml#newcode10 android_webview/tools/PageCycler/AndroidManifest.xml:10: package="org.chromium.webview_shell.test" On 2015/09/24 at 22:35:31, boliu wrote: > Carrying ...
5 years, 3 months ago (2015-09-24 23:30:07 UTC) #15
boliu
I had a comment somewhere about adding new targets to build/all.gyp, which is still not ...
5 years, 3 months ago (2015-09-25 00:02:25 UTC) #16
timvolodine
On 2015/09/25 00:02:25, boliu wrote: > I had a comment somewhere about adding new targets ...
5 years, 2 months ago (2015-09-25 13:50:49 UTC) #17
Yoland Yan(Google)
====RENAMING PATCH==== 1. rename: tools/WebViewShell -> tools/system_webview/apk 2. rename: tools/WebViewShell/src/.../WebViewLayoutTest.java -> tools/system_webview/layout_tests/...
5 years, 2 months ago (2015-09-25 23:05:12 UTC) #18
Yoland Yan(Google)
====RENAMING PATCH==== 1. rename: tools/WebViewShell -> tools/system_webview/apk 2. rename: tools/WebViewShell/src/.../WebViewLayoutTest.java -> tools/system_webview/layout_tests/...
5 years, 2 months ago (2015-09-25 23:05:12 UTC) #19
Yoland Yan(Google)
====RENAMING PATCH==== 1. rename: tools/WebViewShell -> tools/system_webview/apk 2. rename: tools/WebViewShell/src/.../WebViewLayoutTest.java -> tools/system_webview/layout_tests/...
5 years, 2 months ago (2015-09-25 23:05:13 UTC) #20
Yoland Yan(Google)
====RENAMING PATCH==== 1. rename: tools/WebViewShell -> tools/system_webview/apk 2. rename: tools/WebViewShell/src/.../WebViewLayoutTest.java -> tools/system_webview/layout_tests/...
5 years, 2 months ago (2015-09-25 23:05:13 UTC) #21
Yoland Yan(Google)
====RENAMING PATCH==== 1. rename: tools/WebViewShell -> tools/system_webview/apk 2. rename: tools/WebViewShell/src/.../WebViewLayoutTest.java -> tools/system_webview/layout_tests/...
5 years, 2 months ago (2015-09-25 23:05:13 UTC) #22
Yoland Yan(Google)
On 2015/09/25 at 23:05:13, yolandyan wrote: > ====RENAMING PATCH==== > > 1. rename: tools/WebViewShell -> ...
5 years, 2 months ago (2015-09-25 23:11:46 UTC) #23
Yoland Yan(Google)
====Rename target==== changed target name from android_webview_shell_apk to system_webview_shell_apk, and added new targets system_webview_shell_layout_test_apk, and ...
5 years, 2 months ago (2015-09-25 23:58:57 UTC) #24
boliu
lgtm please coordinate with tim/perezju/infra etc to make sure there are minimal bot downtime
5 years, 2 months ago (2015-09-26 00:07:53 UTC) #25
mikecase (-- gone --)
You'll need to change the apk names and gyp targets in the files below and ...
5 years, 2 months ago (2015-09-28 08:36:35 UTC) #26
timvolodine
great, lgtm modulo nits https://codereview.chromium.org/1364593002/diff/160001/android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java File android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java (right): https://codereview.chromium.org/1364593002/diff/160001/android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java#newcode145 android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java:145: TIMEOUT_IN_SECS, TimeUnit.SECONDS); nit: will this ...
5 years, 2 months ago (2015-09-28 11:59:17 UTC) #27
timvolodine
+cc: perezju@ making sure you see this: the AndroidWebViewShell.apk is changing to SystemWebViewShell.apk
5 years, 2 months ago (2015-09-28 12:19:24 UTC) #28
Yoland Yan(Google)
Needs +jbudorick lgtm for build/all.gyp https://codereview.chromium.org/1364593002/diff/160001/android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java File android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java (right): https://codereview.chromium.org/1364593002/diff/160001/android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java#newcode145 android_webview/tools/PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java:145: TIMEOUT_IN_SECS, TimeUnit.SECONDS); On 2015/09/28 ...
5 years, 2 months ago (2015-09-28 16:15:02 UTC) #30
timvolodine
+cc:paulmiller@
5 years, 2 months ago (2015-09-30 18:19:26 UTC) #31
timvolodine
https://codereview.chromium.org/1364593002/diff/200001/android_webview/android_webview_shell.gyp File android_webview/android_webview_shell.gyp (right): https://codereview.chromium.org/1364593002/diff/200001/android_webview/android_webview_shell.gyp#newcode66 android_webview/android_webview_shell.gyp:66: 'isolate_file': 'android_webview_shell_test_apk.isolate', please rename to correspond with the bot ...
5 years, 2 months ago (2015-10-02 11:22:39 UTC) #32
jbudorick
Can webview be built by GN yet?
5 years, 2 months ago (2015-10-02 11:25:13 UTC) #33
boliu
On 2015/10/02 11:25:13, jbudorick wrote: > Can webview be built by GN yet? Zero GN ...
5 years, 2 months ago (2015-10-02 15:52:20 UTC) #34
jbudorick
On 2015/10/02 15:52:20, boliu wrote: > On 2015/10/02 11:25:13, jbudorick wrote: > > Can webview ...
5 years, 2 months ago (2015-10-02 15:53:10 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364593002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364593002/200001
5 years, 2 months ago (2015-10-02 19:54:32 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/76974) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-02 19:58:17 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364593002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364593002/220001
5 years, 2 months ago (2015-10-07 18:14:59 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/123644)
5 years, 2 months ago (2015-10-07 19:34:01 UTC) #45
Yoland Yan(Google)
+jbudorick, I added a DEPS file under android_webview/tools/PageCycler/ to patch 12's failure on linux_chromium_rel_ng. Can ...
5 years, 2 months ago (2015-10-08 00:45:41 UTC) #47
jbudorick
On 2015/10/08 00:45:41, yolandyan wrote: > +jbudorick, I added a DEPS file under android_webview/tools/PageCycler/ to ...
5 years, 2 months ago (2015-10-08 00:49:36 UTC) #48
Yoland Yan(Google)
+timvolodine, I added a DEPS file under android_webview/tools/PageCycler/ to fix patch 12's failure on linux_chromium_rel_ng ...
5 years, 2 months ago (2015-10-08 00:55:34 UTC) #50
timvolodine
On 2015/10/08 00:55:34, yolandyan wrote: > +timvolodine, I added a DEPS file under android_webview/tools/PageCycler/ to ...
5 years, 2 months ago (2015-10-08 09:53:35 UTC) #51
Yoland Yan(Google)
On 2015/10/08 at 09:53:35, timvolodine wrote: > On 2015/10/08 00:55:34, yolandyan wrote: > > +timvolodine, ...
5 years, 2 months ago (2015-10-08 16:27:36 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364593002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364593002/260001
5 years, 2 months ago (2015-10-08 16:27:58 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/107829)
5 years, 2 months ago (2015-10-08 16:41:26 UTC) #57
Yoland Yan(Google)
5 years, 2 months ago (2015-10-08 17:32:16 UTC) #59
Miguel Garcia
lgtm for the new page cycler DEPS
5 years, 2 months ago (2015-10-08 17:32:30 UTC) #61
Miguel Garcia
lgtm for the new page cycler DEPS
5 years, 2 months ago (2015-10-08 17:32:36 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364593002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364593002/260001
5 years, 2 months ago (2015-10-08 17:40:42 UTC) #64
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 2 months ago (2015-10-08 18:42:55 UTC) #65
commit-bot: I haz the power
5 years, 2 months ago (2015-10-08 18:43:27 UTC) #66
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/2a9e4d1100e6b15d591f193c152bb705774c9c38
Cr-Commit-Position: refs/heads/master@{#353105}

Powered by Google App Engine
This is Rietveld 408576698