| Index: components/components_tests.gyp
|
| diff --git a/components/components_tests.gyp b/components/components_tests.gyp
|
| index de0efea9205baca91cdb4c87dbd1bd0a6f8107c4..6d0bbd38f0128214283956ea512e605377d493fb 100644
|
| --- a/components/components_tests.gyp
|
| +++ b/components/components_tests.gyp
|
| @@ -1449,12 +1449,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': [
|
| @@ -1464,13 +1458,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',
|
| ],
|
| },
|
| {
|
|
|