Index: chromeos/BUILD.gn |
diff --git a/chromeos/BUILD.gn b/chromeos/BUILD.gn |
index 2a86253acad2cdc871d1e82194b187f995852d81..55b3ba692e98efdaba3b15632fda1a642e4ad1ed 100644 |
--- a/chromeos/BUILD.gn |
+++ b/chromeos/BUILD.gn |
@@ -6,6 +6,8 @@ import("//build/config/allocator.gni") |
import("//build/config/ui.gni") |
import("//third_party/protobuf/proto_library.gni") |
+assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") |
+ |
gypi_values = exec_script( |
"//build/gypi_to_gn.py", |
[ rebase_path("chromeos.gyp") ], |