Index: chromeos/BUILD.gn |
diff --git a/chromeos/BUILD.gn b/chromeos/BUILD.gn |
index ea0a9d0d8d9d72d12fe2ab96a11703b74c06d570..6596d8f9e0ffd60a0abfb4ca648d6a481e408dcb 100644 |
--- a/chromeos/BUILD.gn |
+++ b/chromeos/BUILD.gn |
@@ -7,7 +7,7 @@ import("//build/config/ui.gni") |
import("//testing/test.gni") |
import("//third_party/protobuf/proto_library.gni") |
-assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") |
+assert(use_cros_fe, "Non-ChromeOS builds must not depend on //chromeos") |
gypi_values = exec_script("//build/gypi_to_gn.py", |
[ rebase_path("chromeos.gyp") ], |