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

Unified Diff: build/config/android/config.gni

Issue 1406173004: GN: Add an assert for proper output directory nesting on Android (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/config.gni
diff --git a/build/config/android/config.gni b/build/config/android/config.gni
index 19ed535f36a5b789c5a2155e27d7f906d682c046..9b141f9020e4a017c3318f596b61b1f20bf2bc23 100644
--- a/build/config/android/config.gni
+++ b/build/config/android/config.gni
@@ -5,6 +5,9 @@
# This file contains common system config stuff for the Android build.
if (is_android) {
+ assert(rebase_path("//", root_build_dir) == "../../",
+ "Android output directory must be nested 2 levels within src/ (" +
+ "e.g.: out-gn/Debug). http://crbug.com/412935")
has_chrome_android_internal =
exec_script("//build/dir_exists.py",
[ rebase_path("//clank", root_build_dir) ],
« 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