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

Side by Side Diff: build/config/android/BUILD.gn

Issue 1888763002: Build 64bit browser for Android with clang for ARMv8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch Set 5: Keep -fno-integrated-as as ARMv7 needs it Created 4 years, 7 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/sysroot.gni") 7 import("//build/config/sysroot.gni")
8 8
9 assert(is_android) 9 assert(is_android)
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ] 83 ]
84 } 84 }
85 85
86 if (is_clang) { 86 if (is_clang) {
87 if (current_cpu == "arm") { 87 if (current_cpu == "arm") {
88 abi_target = "arm-linux-androideabi" 88 abi_target = "arm-linux-androideabi"
89 } else if (current_cpu == "x86") { 89 } else if (current_cpu == "x86") {
90 abi_target = "i686-linux-androideabi" 90 abi_target = "i686-linux-androideabi"
91 } else if (current_cpu == "arm64") { 91 } else if (current_cpu == "arm64") {
92 # Place holder for arm64 support, not tested. 92 # Place holder for arm64 support, not tested.
93 # TODO: Enable clang support for Android Arm64. http://crbug.com/539781 93 # TODO: Enable clang support for Android Arm64. http://crbug.com/539781
rmcilroy 2016/05/13 15:11:36 You could remove the comment and TODO here if this
94 abi_target = "aarch64-linux-androideabi" 94 abi_target = "aarch64-linux-android"
95 } else if (current_cpu == "x64") { 95 } else if (current_cpu == "x64") {
96 # Place holder for x64 support, not tested. 96 # Place holder for x64 support, not tested.
97 # TODO: Enable clang support for Android x64. http://crbug.com/539781 97 # TODO: Enable clang support for Android x64. http://crbug.com/539781
98 abi_target = "x86_64-linux-androideabi" 98 abi_target = "x86_64-linux-androideabi"
99 } else if (current_cpu == "mipsel") { 99 } else if (current_cpu == "mipsel") {
100 abi_target = "mipsel-linux-android" 100 abi_target = "mipsel-linux-android"
101 } else if (current_cpu == "mips64el") { 101 } else if (current_cpu == "mips64el") {
102 # Place holder for mips64 support, not tested. 102 # Place holder for mips64 support, not tested.
103 abi_target = "mips64el-linux-androideabi" 103 abi_target = "mips64el-linux-androideabi"
104 } else { 104 } else {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 # Avoid errors with current NDK: 221 # Avoid errors with current NDK:
222 # "third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/preb uilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:34 26:3: error: argument must be a constant" 222 # "third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/preb uilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:34 26:3: error: argument must be a constant"
223 "-finstrument-functions-exclude-file-list=arm_neon.h", 223 "-finstrument-functions-exclude-file-list=arm_neon.h",
224 ] 224 ]
225 } 225 }
226 } 226 }
227 227
228 config("no_cygprofile_instrumentation") { 228 config("no_cygprofile_instrumentation") {
229 } 229 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | build/config/arm.gni » ('j') | build/config/arm.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698