From f3930cfae7a93c5065588c9ba7be5c6927f46588 Mon Sep 17 00:00:00 2001 From: agrieve Date: Fri, 19 Jun 2015 08:35:48 -0700 Subject: Store and load icudtl.dat directly from the apk rather than extracting on start-up. Also changes so that browser process caches a FD to the file rather than re-opening it for each child process. We store icudtl.dat uncompressed in the apk now, increasing the apk size, but saving 6mb on-disk. BUG=394502 Review URL: https://codereview.chromium.org/1147213004 Cr-Commit-Position: refs/heads/master@{#335261} --- .../ComponentsBrowserTestsApplication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/test') diff --git a/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java index ffcea44..d1b128e 100644 --- a/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java +++ b/components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsApplication.java @@ -15,8 +15,8 @@ import org.chromium.base.ResourceExtractor; */ public class ComponentsBrowserTestsApplication extends BaseChromiumApplication { private static final String[] MANDATORY_PAK_FILES = - new String[] {"components_tests_resources.pak", "content_shell.pak", "icudtl.dat", - "natives_blob.bin", "snapshot_blob.bin"}; + new String[] {"components_tests_resources.pak", "content_shell.pak", "natives_blob.bin", + "snapshot_blob.bin"}; static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "components_shell"; @Override -- cgit v1.1