Index: content/content_tests.gypi |
diff --git a/content/content_tests.gypi b/content/content_tests.gypi |
index 3f62e90a6a657196f0a43d10314aebd02a897ae3..f715581ad75a050ddf3c7a62aa7f12a1c033e3db 100644 |
--- a/content/content_tests.gypi |
+++ b/content/content_tests.gypi |
@@ -1015,7 +1015,7 @@ |
'dependencies': [ |
'../ui/android/ui_android.gyp:ui_android', |
'../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', |
- 'content.gyp:content_v8_external_data', |
+ 'content.gyp:content_shell_assets_copy', |
], |
}], |
['v8_use_external_startup_data==1 and OS!="ios"', { |
@@ -1871,15 +1871,19 @@ |
'dependencies': [ |
'../v8/tools/gyp/v8.gyp:v8_external_snapshot', |
], |
- 'copies': [ |
- { |
- 'destination': '<(asset_location)', |
- 'files': [ |
- '<(PRODUCT_DIR)/natives_blob.bin', |
- '<(PRODUCT_DIR)/snapshot_blob.bin', |
- ], |
- }, |
- ], |
+ 'variables': { |
+ 'dest_path': '<(asset_location)', |
+ 'renaming_sources': [ |
+ '<(PRODUCT_DIR)/natives_blob.bin', |
+ '<(PRODUCT_DIR)/snapshot_blob.bin', |
+ ], |
+ 'renaming_destinations': [ |
+ 'natives_blob_<(arch_suffix).bin', |
+ 'snapshot_blob_<(arch_suffix).bin', |
+ ], |
+ 'clear': 1, |
+ }, |
+ 'includes': ['../build/android/copy_ex.gypi'], |
}], |
], |
'variables': { |
@@ -1889,13 +1893,16 @@ |
['v8_use_external_startup_data==1', { |
'asset_location': '<(PRODUCT_DIR)/content_unittests_apk/assets', |
'additional_input_paths': [ |
- '<(PRODUCT_DIR)/content_unittests_apk/assets/natives_blob.bin', |
- '<(PRODUCT_DIR)/content_unittests_apk/assets/snapshot_blob.bin', |
+ '<(PRODUCT_DIR)/content_unittests_apk/assets/natives_blob_<(arch_suffix).bin', |
jbudorick
2015/10/26 23:02:04
<(asset_location)/natives_blob_<(arch_suffix).bin
michaelbai
2015/10/27 01:10:42
wouldn't work, can use declared variable in the co
|
+ '<(PRODUCT_DIR)/content_unittests_apk/assets/snapshot_blob_<(arch_suffix).bin', |
jbudorick
2015/10/26 23:02:04
same
michaelbai
2015/10/27 01:10:42
ditto
|
], |
}], |
], |
}, |
- 'includes': [ '../build/apk_test.gypi' ], |
+ 'includes': [ |
+ '../build/apk_test.gypi', |
+ '../build/android/v8_external_startup_data_arch_suffix.gypi', |
+ ], |
}, |
{ |
'target_name': 'content_shell_browsertests_java', |
@@ -1927,9 +1934,8 @@ |
'target_name': 'content_browsertests_apk', |
'type': 'none', |
'dependencies': [ |
- 'content.gyp:content_icudata', |
+ 'content.gyp:content_shell_assets_copy', |
'content.gyp:content_java', |
- 'content.gyp:content_v8_external_data', |
'content_browsertests', |
'content_shell_browsertests_java', |
'content_java_test_support', |
@@ -1995,9 +2001,8 @@ |
['target_arch != "x64"', { |
'dependencies': [ |
'chromium_android_linker_test', |
- 'content.gyp:content_icudata', |
+ 'content.gyp:content_shell_assets_copy', |
'content.gyp:content_java', |
- 'content.gyp:content_v8_external_data', |
'content_shell_java', |
], |
'variables': { |