Enable icu_use_data_file_flag on Android
commitc8e8781e05d56bf8bbc03edafd6e8971616c0362
authorjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 8 Mar 2014 12:02:26 +0000 (8 12:02 +0000)
committerjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 8 Mar 2014 12:02:26 +0000 (8 12:02 +0000)
tree94e9ab706ea0d11b571cd6b49a7eaf56ebd75450
parent74513a208ee444e75fb4850f9b9d363b48d3ff37
Enable icu_use_data_file_flag on Android

0. Roll icu to r249466 to copy Android-specific icudtl.dat
1. Turn it in build/common.gypi by default except for android webview build. Move it inside L2 var dict and pull it up to the top level var dict to make 'Google Chrome' build on Android happy.
2. Add an entry for icudtl.dat to chrome/chrome_android_paks.gypi so that
it's copied to assets directory for Chrome and related targets.
3. Extract icudtl.dat from the asset and copy to DIR_ANDROID_APP_DATA and make it world-readable so that child processes (sandboxed with uid) can read it.
4. Add icudtl.dat to MANDATORY_PAKS list in various Android build targets

Google Chrome has #4 but in a separate CL ( https://chrome-internal-review.googlesource.com/#/c/155554/ ). That CL will land before this CL.

This also depends on a Blink change https://codereview.chromium.org/183013006/

TBR=avi@chromium.org
BUG=72633
TEST=base_unittests:*Convers*, net_unittests:*IDN*, browser tests on all platforms.
TEST=On Android, 1. Layout tests
2. build/android/test_runner.py gtest -s webkit_unit_tests
--gtest_filter=WebFrameTest.SelectRange*

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253938

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255762 0039d316-1c4b-4281-b951-d872f2087c98
15 files changed:
DEPS
android_webview/android_webview_tests.gypi
android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java
base/i18n/icu_util.cc
build/android/pylib/gtest/setup.py
build/common.gypi
chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java
chrome/chrome_android_paks.gypi
content/content.gyp
content/content_shell.gypi
content/content_tests.gypi
content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.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