Index: android_webview/snapshot_copying.gypi |
diff --git a/android_webview/snapshot_copying.gypi b/android_webview/snapshot_copying.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1728cd6ae2fd7de8a241eb60d94f456c19476e70 |
--- /dev/null |
+++ b/android_webview/snapshot_copying.gypi |
@@ -0,0 +1,28 @@ |
+{ |
+ 'variables': { |
+ 'snapshot_additional_input_paths': [], |
+ 'snapshot_copy_files': [], |
+ 'conditions': [ |
+ ['v8_use_external_startup_data==1 and (target_arch=="arm" or target_arch=="x86" or target_arch=="mips")', { |
rmcilroy
2015/02/09 14:59:59
nit - could you use the arch suffix trick here to
gsennton
2015/02/09 15:47:46
This doesn't work because of gyp-scoping...
|
+ 'snapshot_additional_input_paths': [ |
+ '<(asset_location)/natives_blob_32.bin', |
+ '<(asset_location)/snapshot_blob_32.bin', |
+ ], |
+ 'snapshot_copy_files': [ |
+ '<(PRODUCT_DIR)/natives_blob_32.bin', |
+ '<(PRODUCT_DIR)/snapshot_blob_32.bin', |
+ ], |
+ }], |
+ ['v8_use_external_startup_data==1 and (target_arch=="arm64" or target_arch=="x86_64" or target_arch=="mips64")', { |
+ 'snapshot_additional_input_paths': [ |
+ '<(asset_location)/natives_blob_64.bin', |
+ '<(asset_location)/snapshot_blob_64.bin', |
+ ], |
+ 'snapshot_copy_files': [ |
+ '<(PRODUCT_DIR)/natives_blob_64.bin', |
+ '<(PRODUCT_DIR)/snapshot_blob_64.bin', |
+ ], |
+ }], |
+ ], |
+ }, |
+} |