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) ], |