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

Unified Diff: chrome/chrome_android_paks.gypi

Issue 1422793004: Reland Reland Switch Chrome Android using v8 arch specific external data name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_android_paks.gypi
diff --git a/chrome/chrome_android_paks.gypi b/chrome/chrome_android_paks.gypi
index 1ebd36352dcfa5fe4212ea2a7778b30470a677fb..aa3257405db5833640f400642b9cf929912e2881 100644
--- a/chrome/chrome_android_paks.gypi
+++ b/chrome/chrome_android_paks.gypi
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
+ 'includes': ['../build/android/v8_external_startup_data_arch_suffix.gypi'],
'variables': {
'chrome_android_pak_output_folder': '<@(PRODUCT_DIR)/assets/<(package_name)',
'chrome_android_pak_input_resources': [
@@ -68,13 +69,9 @@
],
}],
['v8_use_external_startup_data==1', {
- 'chrome_android_pak_input_resources': [
- '<(PRODUCT_DIR)/natives_blob.bin',
- '<(PRODUCT_DIR)/snapshot_blob.bin',
- ],
'chrome_android_pak_output_resources': [
- '<(chrome_android_pak_output_folder)/natives_blob.bin',
- '<(chrome_android_pak_output_folder)/snapshot_blob.bin',
+ '<(chrome_android_pak_output_folder)/natives_blob_<(arch_suffix).bin',
+ '<(chrome_android_pak_output_folder)/snapshot_blob_<(arch_suffix).bin',
],
}],
],
@@ -93,6 +90,18 @@
'<@(chrome_android_pak_input_resources)',
],
'clear': 1,
+ 'conditions': [
+ ['v8_use_external_startup_data==1', {
+ 'renaming_sources': [
+ '<(PRODUCT_DIR)/snapshot_blob.bin',
+ '<(PRODUCT_DIR)/natives_blob.bin',
+ ],
+ 'renaming_destinations': [
+ 'snapshot_blob_<(arch_suffix).bin',
+ 'natives_blob_<(arch_suffix).bin',
+ ],
+ }],
+ ],
},
'includes': ['../build/android/copy_ex.gypi'],
},
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698