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

Issue 548023002: Migrate ResourceExtractor.java inside org.chromium.base package. (Closed)

Created:
6 years, 3 months ago by vivekg_samsung
Modified:
6 years, 3 months ago
CC:
android-webview-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Migrate ResourceExtractor.java inside org.chromium.base package. With the CL, https://codereview.chromium.org/456413002, we are migrating from embedding inline resources inside blink towards using chromium's grd resource system. As part of this effort, most of the tests would require to use the 'pak' files packaged as android application assets. These assets need to be extracted to the application data directory during the startup of the test application. The native libraries would be able to work with these 'pak' files only after the extraction from the asset manager. To achieve this goal, we would require that ResourceExtractor.java to be moved inside the org.chromium.base pacakge so that it can be utilized in ChromeNativeTestActivity.java BUG=312586 Committed: https://crrev.com/e9bb6910f700e0943c157f6802b1ae3793bab221 Cr-Commit-Position: refs/heads/master@{#294548}

Patch Set 1 #

Patch Set 2 : Fixing GN build and adding helper function for testing! #

Total comments: 2

Patch Set 3 : Moved call site changes in this patch. #

Total comments: 12

Patch Set 4 : Review comments addressed. #

Total comments: 2

Patch Set 5 : Patch for landing! #

Patch Set 6 : Fixed the typo #

Patch Set 7 : Rolling the AOSP deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -381 lines) Patch
M DEPS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M android_webview/buildbot/aosp_manifest.xml View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java View 1 chunk +1 line, -1 line 0 comments Download
A base/android/java/src/org/chromium/base/LocaleUtils.java View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A + base/android/java/src/org/chromium/base/ResourceExtractor.java View 1 2 3 4 chunks +24 lines, -5 lines 0 comments Download
M chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java View 1 chunk +1 line, -0 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java View 1 chunk +0 lines, -353 lines 0 comments Download
M content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java View 1 2 3 2 chunks +3 lines, -16 lines 0 comments Download

Messages

Total messages: 53 (11 generated)
vivekg
Adding respective OWNERs for this change, PTAL.
6 years, 3 months ago (2014-09-06 21:52:29 UTC) #2
jdduke (slow)
On 2014/09/06 21:52:29, vivekg_ wrote: > Adding respective OWNERs for this change, PTAL. Rather than ...
6 years, 3 months ago (2014-09-08 16:02:13 UTC) #4
vivekg
On 2014/09/08 16:02:13, jdduke wrote: > On 2014/09/06 21:52:29, vivekg_ wrote: > > Adding respective ...
6 years, 3 months ago (2014-09-08 16:18:23 UTC) #5
jdduke (slow)
On 2014/09/08 16:18:23, vivekg_ wrote: > On 2014/09/08 16:02:13, jdduke wrote: > > On 2014/09/06 ...
6 years, 3 months ago (2014-09-08 16:22:40 UTC) #7
benm (inactive)
https://codereview.chromium.org/548023002/diff/20001/base/android/java/src/org/chromium/base/ResourceExtractor.java File base/android/java/src/org/chromium/base/ResourceExtractor.java (right): https://codereview.chromium.org/548023002/diff/20001/base/android/java/src/org/chromium/base/ResourceExtractor.java#newcode277 base/android/java/src/org/chromium/base/ResourceExtractor.java:277: public void collectAllPackagedPakAssets() { where is this used?
6 years, 3 months ago (2014-09-08 17:05:00 UTC) #9
vivekg
https://codereview.chromium.org/548023002/diff/20001/base/android/java/src/org/chromium/base/ResourceExtractor.java File base/android/java/src/org/chromium/base/ResourceExtractor.java (right): https://codereview.chromium.org/548023002/diff/20001/base/android/java/src/org/chromium/base/ResourceExtractor.java#newcode277 base/android/java/src/org/chromium/base/ResourceExtractor.java:277: public void collectAllPackagedPakAssets() { On 2014/09/08 at 17:05:00, benm ...
6 years, 3 months ago (2014-09-08 17:14:08 UTC) #10
benm (inactive)
On 2014/09/08 17:14:08, vivekg_ wrote: > https://codereview.chromium.org/548023002/diff/20001/base/android/java/src/org/chromium/base/ResourceExtractor.java > File base/android/java/src/org/chromium/base/ResourceExtractor.java (right): > > https://codereview.chromium.org/548023002/diff/20001/base/android/java/src/org/chromium/base/ResourceExtractor.java#newcode277 > ...
6 years, 3 months ago (2014-09-08 17:52:29 UTC) #11
vivekg
On 2014/09/08 at 17:52:29, benm wrote: > On 2014/09/08 17:14:08, vivekg_ wrote: > > https://codereview.chromium.org/548023002/diff/20001/base/android/java/src/org/chromium/base/ResourceExtractor.java ...
6 years, 3 months ago (2014-09-08 18:05:38 UTC) #12
vivekg
Friendly ping!
6 years, 3 months ago (2014-09-09 14:57:29 UTC) #13
Ted C
https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java File base/android/java/src/org/chromium/base/LocaleUtils.java (right): https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java#newcode18 base/android/java/src/org/chromium/base/LocaleUtils.java:18: public static String getDefaultLocale() { Why did you need ...
6 years, 3 months ago (2014-09-09 17:51:00 UTC) #14
vivekg
Thank you for the review. https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java File base/android/java/src/org/chromium/base/LocaleUtils.java (right): https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java#newcode18 base/android/java/src/org/chromium/base/LocaleUtils.java:18: public static String getDefaultLocale() ...
6 years, 3 months ago (2014-09-09 18:01:31 UTC) #15
Ted C
https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java File base/android/java/src/org/chromium/base/LocaleUtils.java (right): https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java#newcode18 base/android/java/src/org/chromium/base/LocaleUtils.java:18: public static String getDefaultLocale() { On 2014/09/09 18:01:30, vivekg_ ...
6 years, 3 months ago (2014-09-09 18:36:19 UTC) #16
vivekg
https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java File base/android/java/src/org/chromium/base/LocaleUtils.java (right): https://codereview.chromium.org/548023002/diff/40001/base/android/java/src/org/chromium/base/LocaleUtils.java#newcode18 base/android/java/src/org/chromium/base/LocaleUtils.java:18: public static String getDefaultLocale() { On 2014/09/09 at 18:36:19, ...
6 years, 3 months ago (2014-09-09 18:46:32 UTC) #17
vivekg
Uploaded new patch with review comments addressed. PTAL, thanks!
6 years, 3 months ago (2014-09-09 19:23:04 UTC) #18
Ted C
lgtm https://codereview.chromium.org/548023002/diff/60001/base/android/java/src/org/chromium/base/LocaleUtils.java File base/android/java/src/org/chromium/base/LocaleUtils.java (right): https://codereview.chromium.org/548023002/diff/60001/base/android/java/src/org/chromium/base/LocaleUtils.java#newcode12 base/android/java/src/org/chromium/base/LocaleUtils.java:12: public abstract class LocaleUtils { I think for ...
6 years, 3 months ago (2014-09-09 23:18:42 UTC) #19
vivekg
On 2014/09/09 23:18:42, Ted C wrote: > lgtm > > https://codereview.chromium.org/548023002/diff/60001/base/android/java/src/org/chromium/base/LocaleUtils.java > File base/android/java/src/org/chromium/base/LocaleUtils.java (right): ...
6 years, 3 months ago (2014-09-10 00:47:14 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/548023002/100001
6 years, 3 months ago (2014-09-10 01:09:24 UTC) #22
vivekg
Presubmit is failing for missing OWNERs lgtm. @yfriedman: for base/android/* @benm: for android_webview/* PTAL, thanks!
6 years, 3 months ago (2014-09-10 01:21:55 UTC) #24
Yaron
lgtm
6 years, 3 months ago (2014-09-10 01:33:02 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/13750) chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/9857)
6 years, 3 months ago (2014-09-10 01:49:37 UTC) #27
vivekg
On 2014/09/10 01:49:37, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-10 01:54:55 UTC) #28
Yaron
Ah, looks like you'll need to fix AOSP and roll it along with your change. ...
6 years, 3 months ago (2014-09-10 02:04:07 UTC) #29
vivekg
On 2014/09/10 02:04:07, Yaron wrote: > Ah, looks like you'll need to fix AOSP and ...
6 years, 3 months ago (2014-09-10 02:10:44 UTC) #30
Yaron
On 2014/09/10 02:10:44, vivekg_ wrote: > On 2014/09/10 02:04:07, Yaron wrote: > > Ah, looks ...
6 years, 3 months ago (2014-09-10 02:25:03 UTC) #31
vivekg
On 2014/09/10 at 02:25:03, yfriedman wrote: > On 2014/09/10 02:10:44, vivekg_ wrote: > > On ...
6 years, 3 months ago (2014-09-10 14:55:01 UTC) #32
Yaron
On 2014/09/10 14:55:01, vivekg_ wrote: > On 2014/09/10 at 02:25:03, yfriedman wrote: > > On ...
6 years, 3 months ago (2014-09-10 16:55:41 UTC) #34
boliu
Stop worrying about aosp and fix build failures on other android bots first. Plus you ...
6 years, 3 months ago (2014-09-10 16:58:22 UTC) #35
vivekg
On 2014/09/10 16:58:22, boliu wrote: > Stop worrying about aosp and fix build failures on ...
6 years, 3 months ago (2014-09-10 17:10:35 UTC) #36
boliu
On 2014/09/10 17:10:35, vivekg_ wrote: > On 2014/09/10 16:58:22, boliu wrote: > > Stop worrying ...
6 years, 3 months ago (2014-09-10 17:14:03 UTC) #37
boliu
benm: Did you have more concerns for this change?
6 years, 3 months ago (2014-09-10 20:24:55 UTC) #38
vivekg
@benm, can you please review this and let me know your feedback? Thank you.
6 years, 3 months ago (2014-09-11 16:32:34 UTC) #39
benm (inactive)
lgtm
6 years, 3 months ago (2014-09-11 17:15:43 UTC) #40
vivekg
On 2014/09/11 at 17:15:43, benm wrote: > lgtm thank you.
6 years, 3 months ago (2014-09-11 17:16:16 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/548023002/100001
6 years, 3 months ago (2014-09-11 17:25:41 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/3974) android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/3800) android_dbg_tests_recipe ...
6 years, 3 months ago (2014-09-11 18:41:08 UTC) #45
boliu
aosp side uploaded at https://android-review.googlesource.com/107500
6 years, 3 months ago (2014-09-12 00:07:36 UTC) #46
boliu
You need to roll both these things to 60e4952d02f2bfa3f0705043b792c01f79ffbfa6 * frameworks/webview in android_webview/buildbot/aosp_manifest.xml * third_party/android_webview_glue ...
6 years, 3 months ago (2014-09-12 04:35:25 UTC) #47
vivekg
On 2014/09/12 at 04:35:25, boliu wrote: > You need to roll both these things to ...
6 years, 3 months ago (2014-09-12 05:04:18 UTC) #48
boliu
On 2014/09/12 05:04:18, vivekg_ wrote: > On 2014/09/12 at 04:35:25, boliu wrote: > > You ...
6 years, 3 months ago (2014-09-12 05:13:07 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/548023002/120001
6 years, 3 months ago (2014-09-12 05:17:27 UTC) #51
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 820e3b42b4a66acc22c7a45a059c5495e2539f1d
6 years, 3 months ago (2014-09-12 06:17:08 UTC) #52
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 06:19:07 UTC) #53
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/e9bb6910f700e0943c157f6802b1ae3793bab221
Cr-Commit-Position: refs/heads/master@{#294548}

Powered by Google App Engine
This is Rietveld 408576698