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

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

Issue 1368263002: Separate out compiler and runtime configs on Windows and Android GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # This file contains common system config stuff for the Android build. 5 # This file contains common system config stuff for the Android build.
6 6
7 if (is_android) { 7 if (is_android) {
8 has_chrome_android_internal = 8 has_chrome_android_internal =
9 exec_script("//build/dir_exists.py", 9 exec_script("//build/dir_exists.py",
10 [ rebase_path("//clank", root_build_dir) ], 10 [ rebase_path("//clank", root_build_dir) ],
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 android_tool_prefix = "$android_toolchain_root/bin/$_binary_prefix-" 189 android_tool_prefix = "$android_toolchain_root/bin/$_binary_prefix-"
190 android_readelf = "${android_tool_prefix}readelf" 190 android_readelf = "${android_tool_prefix}readelf"
191 android_objcopy = "${android_tool_prefix}objcopy" 191 android_objcopy = "${android_tool_prefix}objcopy"
192 android_gdbserver = 192 android_gdbserver =
193 "$android_ndk_root/prebuilt/$android_prebuilt_arch/gdbserver/gdbserver" 193 "$android_ndk_root/prebuilt/$android_prebuilt_arch/gdbserver/gdbserver"
194 194
195 # Toolchain stuff ------------------------------------------------------------ 195 # Toolchain stuff ------------------------------------------------------------
196 196
197 android_libcpp_root = "$android_ndk_root/sources/cxx-stl/llvm-libc++" 197 android_libcpp_root = "$android_ndk_root/sources/cxx-stl/llvm-libc++"
198 if (is_component_build) {
199 android_libcpp_library = "c++_shared"
200 } else {
201 android_libcpp_library = "c++_static"
202 }
203 198
204 # ABI ------------------------------------------------------------------------ 199 # ABI ------------------------------------------------------------------------
205 200
206 if (current_cpu == "x86") { 201 if (current_cpu == "x86") {
207 android_app_abi = "x86" 202 android_app_abi = "x86"
208 } else if (current_cpu == "arm") { 203 } else if (current_cpu == "arm") {
209 import("//build/config/arm.gni") 204 import("//build/config/arm.gni")
210 if (arm_version < 7) { 205 if (arm_version < 7) {
211 android_app_abi = "armeabi" 206 android_app_abi = "armeabi"
212 } else { 207 } else {
213 android_app_abi = "armeabi-v7a" 208 android_app_abi = "armeabi-v7a"
214 } 209 }
215 } else if (current_cpu == "mipsel") { 210 } else if (current_cpu == "mipsel") {
216 android_app_abi = "mips" 211 android_app_abi = "mips"
217 } else if (current_cpu == "x64") { 212 } else if (current_cpu == "x64") {
218 android_app_abi = "x86_64" 213 android_app_abi = "x86_64"
219 } else if (current_cpu == "arm64") { 214 } else if (current_cpu == "arm64") {
220 android_app_abi = "arm64-v8a" 215 android_app_abi = "arm64-v8a"
221 } else if (current_cpu == "mips64el") { 216 } else if (current_cpu == "mips64el") {
222 android_app_abi = "mips64" 217 android_app_abi = "mips64"
223 } else { 218 } else {
224 assert(false, "Unknown Android ABI: " + current_cpu) 219 assert(false, "Unknown Android ABI: " + current_cpu)
225 } 220 }
226 } 221 }
OLDNEW
« no previous file with comments | « build/config/android/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698