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

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

Issue 2544493002: Remove android build dir nesting restriction (Closed)
Patch Set: Created 4 years 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 | no next file » | 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) == "../../",
9 "Android output directory must be nested 2 levels within src/ (" +
10 "e.g.: out-gn/Debug). http://crbug.com/412935")
11
12 import("//build_overrides/build.gni") 8 import("//build_overrides/build.gni")
13 9
14 has_chrome_android_internal = 10 has_chrome_android_internal =
15 exec_script("//build/dir_exists.py", 11 exec_script("//build/dir_exists.py",
16 [ rebase_path("//clank", root_build_dir) ], 12 [ rebase_path("//clank", root_build_dir) ],
17 "string") == "True" 13 "string") == "True"
18 14
19 if (has_chrome_android_internal) { 15 if (has_chrome_android_internal) {
20 import("//clank/config.gni") 16 import("//clank/config.gni")
21 } 17 }
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 "//build/toolchain/android:android_${android_secondary_abi_cpu}" 336 "//build/toolchain/android:android_${android_secondary_abi_cpu}"
341 } 337 }
342 } 338 }
343 } 339 }
344 340
345 declare_args() { 341 declare_args() {
346 # Enables used resource whitelist generation. Set for official builds only 342 # Enables used resource whitelist generation. Set for official builds only
347 # as a large amount of build output is generated. 343 # as a large amount of build output is generated.
348 enable_resource_whitelist_generation = is_android && is_official_build 344 enable_resource_whitelist_generation = is_android && is_official_build
349 } 345 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698