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

Side by Side Diff: build/config/android/secondary_abi.gni

Issue 2138163002: try v8 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « build/config/android/config.gni ('k') | build/config/arm.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This file contains common secondary abi config for the Android build.
6
7 if (target_os == "android") {
8 if (target_cpu == "arm64" || target_cpu == "x64" || target_cpu == "mips64el") {
9 android_64bit_target_cpu = true
10 } else if (target_cpu == "arm" || target_cpu == "x86" ||
11 target_cpu == "mipsel") {
12 android_64bit_target_cpu = false
13 _v8_toolchain_cpu = "x86"
14 } else {
15 assert(false, "Unknown target CPU: $target_cpu")
16 }
17
18 # Intentionally do not define android_app_secondary_abi_toolchain for 32-bit
19 # android_app_abi, since they are not used.
20 if (target_cpu == "arm64") {
21 android_secondary_abi_cpu = "arm"
22 } else if (target_cpu == "x64") {
23 android_secondary_abi_cpu = "x86"
24 } else if (target_cpu == "mips64el") {
25 android_secondary_abi_cpu = "mipsel"
26 }
27
28 if (defined(android_secondary_abi_cpu)) {
29 _android_secondary_abi_cpu_with_v8 =
30 "${android_secondary_abi_cpu}_v8_${android_secondary_abi_cpu}"
31 if (is_clang) {
32 android_secondary_abi_toolchain = "//build/toolchain/android:clang_${_andr oid_secondary_abi_cpu_with_v8}"
33 } else {
34 android_secondary_abi_toolchain =
35 "//build/toolchain/android:${_android_secondary_abi_cpu_with_v8}"
36 }
37 }
38 }
OLDNEW
« no previous file with comments | « build/config/android/config.gni ('k') | build/config/arm.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698