Index: build/android/v8_external_startup_data_arch_suffix.gypi |
diff --git a/build/android/v8_external_startup_data_arch_suffix.gypi b/build/android/v8_external_startup_data_arch_suffix.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7af2443fc1a5707a1ef2cacb66a15d21a4476bda |
--- /dev/null |
+++ b/build/android/v8_external_startup_data_arch_suffix.gypi |
@@ -0,0 +1,21 @@ |
+# Copyright (c) 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'arch_suffix': '<(arch_suffix)', |
+ 'variables': { |
+ # This help to find out if target_arch is set to something else. |
+ 'arch_suffix': '<(target_arch)', |
+ 'conditions': [ |
+ ['target_arch=="arm" or target_arch=="ia32" or target_arch=="mipsel"', { |
+ 'arch_suffix': '32', |
+ }], |
+ ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el"', { |
+ 'arch_suffix':'64' |
+ }], |
+ ], |
+ } |
+ } |
+} |