Index: android_webview/android_webview.gyp |
diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp |
index 10f98b83c9c339628588429b7a441632b96ac5b7..86b2b2d6ab487d35bda1f3a54161c445ad087507 100644 |
--- a/android_webview/android_webview.gyp |
+++ b/android_webview/android_webview.gyp |
@@ -56,6 +56,50 @@ |
} |
], |
}], |
+ ['v8_use_external_startup_data==1', { |
+ 'variables': { |
+ 'conditions': [ |
+ ['(target_arch=="arm" or target_arch=="x86" or target_arch=="mips")', { |
+ 'arch_suffix':'32' |
+ }], |
+ ['(target_arch=="arm64" or target_arch=="x86_64" or target_arch=="mips64")', { |
+ 'arch_suffix':'64' |
+ }], |
+ ], |
+ }, |
+ 'actions': [ |
+ { |
+ 'action_name': 'rename_snapshot_blob', |
+ 'inputs': [ |
+ '<(PRODUCT_DIR)/snapshot_blob.bin', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/snapshot_blob_<(arch_suffix).bin', |
+ ], |
+ 'action': [ |
+ 'python', |
+ '<(DEPTH)/build/cp.py', |
+ '<@(_inputs)', |
+ '<@(_outputs)', |
+ ], |
+ }, |
+ { |
+ 'action_name': 'rename_natives_blob', |
+ 'inputs': [ |
+ '<(PRODUCT_DIR)/natives_blob.bin', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/natives_blob_<(arch_suffix).bin', |
+ ], |
+ 'action': [ |
+ 'python', |
+ '<(DEPTH)/build/cp.py', |
+ '<@(_inputs)', |
+ '<@(_outputs)', |
+ ], |
+ }, |
+ ], |
+ }], |
], |
}, |
{ |