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

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

Issue 1948503002: 🌞 Upstream targets for building native libraries for chrome/monochrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixdeps 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
« no previous file with comments | « no previous file | chrome/android/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 assert(rebase_path("//", root_build_dir) == "../../", 8 assert(rebase_path("//", root_build_dir) == "../../",
9 "Android output directory must be nested 2 levels within src/ (" + 9 "Android output directory must be nested 2 levels within src/ (" +
10 "e.g.: out-gn/Debug). http://crbug.com/412935") 10 "e.g.: out-gn/Debug). http://crbug.com/412935")
11 has_chrome_android_internal = 11 has_chrome_android_internal =
12 exec_script("//build/dir_exists.py", 12 exec_script("//build/dir_exists.py",
13 [ rebase_path("//clank", root_build_dir) ], 13 [ rebase_path("//clank", root_build_dir) ],
14 "string") == "True" 14 "string") == "True"
15 15
16 if (has_chrome_android_internal) { 16 if (has_chrome_android_internal) {
17 import("//clank/config.gni") 17 import("//clank/config.gni")
18 } 18 }
19 19
20 if (!defined(extra_chrome_shared_library_configs)) {
21 extra_chrome_shared_library_configs = []
22 }
23
20 if (!defined(default_android_sdk_root)) { 24 if (!defined(default_android_sdk_root)) {
21 default_android_sdk_root = "//third_party/android_tools/sdk" 25 default_android_sdk_root = "//third_party/android_tools/sdk"
22 default_android_sdk_version = "23" 26 default_android_sdk_version = "23"
23 default_android_sdk_build_tools_version = "23.0.1" 27 default_android_sdk_build_tools_version = "23.0.1"
24 } 28 }
25 29
26 if (!defined(default_android_keystore_path)) { 30 if (!defined(default_android_keystore_path)) {
27 default_android_keystore_path = 31 default_android_keystore_path =
28 "//build/android/ant/chromium-debug.keystore" 32 "//build/android/ant/chromium-debug.keystore"
29 default_android_keystore_name = "chromiumdebugkey" 33 default_android_keystore_name = "chromiumdebugkey"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 } else if (current_cpu == "mips64el") { 263 } else if (current_cpu == "mips64el") {
260 android_app_abi = "mips64" 264 android_app_abi = "mips64"
261 } else { 265 } else {
262 assert(false, "Unknown Android ABI: " + current_cpu) 266 assert(false, "Unknown Android ABI: " + current_cpu)
263 } 267 }
264 268
265 if (android_libcpp_lib_dir == "") { 269 if (android_libcpp_lib_dir == "") {
266 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}" 270 android_libcpp_lib_dir = "${android_libcpp_root}/libs/${android_app_abi}"
267 } 271 }
268 } 272 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698