Migrate ResourceExtractor.java inside org.chromium.base package.
commite9bb6910f700e0943c157f6802b1ae3793bab221
authorvivek.vg <vivek.vg@samsung.com>
Fri, 12 Sep 2014 06:16:25 +0000 (11 23:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Sep 2014 06:18:07 +0000 (12 06:18 +0000)
tree60933944d0941f48a31ab0466c0668163923fcf4
parentb801ab17eb4389f8aad9d9d5da2f4a541a2af4db
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

Review URL: https://codereview.chromium.org/548023002

Cr-Commit-Position: refs/heads/master@{#294548}
12 files changed:
DEPS
android_webview/buildbot/aosp_manifest.xml
android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java
base/android/java/src/org/chromium/base/LocaleUtils.java [new file with mode: 0644]
base/android/java/src/org/chromium/base/ResourceExtractor.java [moved from content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java with 93% similarity]
chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java
content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java