Load V8 startup data directly from the APK on Android.

Startup data files are now stored uncompressed within the .apk, increasing size of the apk, but decreasing total disk requirements (since they don't need to be extracted).

BUG=394502

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

Cr-Original-Commit-Position: refs/heads/master@{#335271}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6f3002d9e87d690bb368931faa2c3ba4638f811e
This commit is contained in:
agrieve 2015-06-19 09:49:06 -07:00 коммит произвёл Commit bot
Родитель bead61febe
Коммит 35c515c931
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1612,8 +1612,8 @@ template("android_apk") {
if (defined(invoker.extensions_to_not_compress)) {
extensions_to_not_compress = invoker.extensions_to_not_compress
} else {
# Allow icu data to be loaded directly from the .apk.
extensions_to_not_compress = "dat"
# Allow icu data and v8 snapshots to be loaded directly from the .apk.
extensions_to_not_compress = "dat,bin"
}
version_code = _version_code

Просмотреть файл

@ -89,8 +89,8 @@
'additional_res_packages': [],
'additional_bundled_libs%': [],
'is_test_apk%': 0,
# Allow icu data to be loaded directly from the .apk.
'extensions_to_not_compress%': 'dat',
# Allow icu data and v8 snapshots to be loaded directly from the .apk.
'extensions_to_not_compress%': 'dat,bin',
'resource_input_paths': [],
'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)',
'asset_location%': '<(intermediate_dir)/assets',