Index: components/components_tests.gyp |
diff --git a/components/components_tests.gyp b/components/components_tests.gyp |
index deef8dca75b771b8fa4c4c6ece6a0c87cfcb840d..a1b6d0a127ad6a0c021ce03a9ff8cf4e516fb000 100644 |
--- a/components/components_tests.gyp |
+++ b/components/components_tests.gyp |
@@ -1436,12 +1436,6 @@ |
'<(PRODUCT_DIR)/icudtl.dat', |
], |
}], |
- ['v8_use_external_startup_data==1', { |
- 'components_browsertests_pak_input_resources': [ |
- '<(PRODUCT_DIR)/natives_blob.bin', |
- '<(PRODUCT_DIR)/snapshot_blob.bin', |
- ], |
- }], |
], |
}, |
'targets': [ |
@@ -1451,13 +1445,28 @@ |
'dependencies': [ |
'components_browsertests', |
], |
- 'copies': [ |
- { |
- 'destination': '<(PRODUCT_DIR)/components_browsertests_apk_shell/assets', |
- 'files': [ |
- '<@(components_browsertests_pak_input_resources)', |
- ], |
- } |
+ 'variables': { |
+ 'dest_path': '<(PRODUCT_DIR)/components_browsertests_apk_shell/assets', |
+ 'src_files': [ |
+ '<@(components_browsertests_pak_input_resources)', |
+ ], |
+ 'clear': 1, |
+ 'conditions': [ |
+ ['v8_use_external_startup_data==1', { |
+ 'renaming_sources': [ |
+ '<(PRODUCT_DIR)/natives_blob.bin', |
+ '<(PRODUCT_DIR)/snapshot_blob.bin', |
+ ], |
+ 'renaming_destinations': [ |
+ 'natives_blob_<(arch_suffix).bin', |
+ 'snapshot_blob_<(arch_suffix).bin', |
+ ], |
+ }], |
+ ], |
+ }, |
+ 'includes': [ |
+ '../build/android/copy_ex.gypi', |
+ '../build/android/v8_external_startup_data_arch_suffix.gypi', |
], |
}, |
{ |