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

Unified Diff: net/net.gyp

Issue 1400953002: 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, 2 months 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 | « gin/v8_initializer.cc ('k') | third_party/WebKit/Source/platform/blink_platform_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « gin/v8_initializer.cc ('k') | third_party/WebKit/Source/platform/blink_platform_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698