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

Unified Diff: android_webview/snapshot_copying.gypi

Issue 903793002: Name V8 snapshot according to target architecture (32/64 bit). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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
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',
+ ],
+ }],
+ ],
+ },
+}
« android_webview/lib/main/aw_main_delegate.cc ('K') | « android_webview/lib/main/aw_main_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698