Index: net/net.gyp |
diff --git a/net/net.gyp b/net/net.gyp |
index 3a9cd68d1d0890b1017ad592713fa02745be8a20..5652ee05b80482486e427d210bb4601d34458c68 100644 |
--- a/net/net.gyp |
+++ b/net/net.gyp |
@@ -1519,15 +1519,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': { |
@@ -1539,13 +1543,16 @@ |
['v8_use_external_startup_data==1', { |
'asset_location': '<(PRODUCT_DIR)/net_unittests_apk/assets', |
'additional_input_paths': [ |
- '<(PRODUCT_DIR)/net_unittests_apk/assets/natives_blob.bin', |
- '<(PRODUCT_DIR)/net_unittests_apk/assets/snapshot_blob.bin', |
+ '<(PRODUCT_DIR)/net_unittests_apk/assets/natives_blob_<(arch_suffix).bin', |
+ '<(PRODUCT_DIR)/net_unittests_apk/assets/snapshot_blob_<(arch_suffix).bin', |
], |
}], |
], |
}, |
- 'includes': [ '../build/apk_test.gypi' ], |
+ 'includes': [ |
+ '../build/apk_test.gypi', |
+ '../build/android/v8_external_startup_data_arch_suffix.gypi', |
+ ], |
}, |
{ |
'target_name': 'net_junit_tests', |