summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragrieve <agrieve@chromium.org>2016-01-04 19:35:17 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-05 03:36:15 +0000
commitdac52d56619f9586c387a723f4f6578467f39a88 (patch)
treeed440a9d960335e366c7891c119c7c9736af703c
parentc9ff7c904410f4dd31b51eac92c67b4f40541fc0 (diff)
downloadchromium_src-dac52d56619f9586c387a723f4f6578467f39a88.zip
chromium_src-dac52d56619f9586c387a723f4f6578467f39a88.tar.gz
chromium_src-dac52d56619f9586c387a723f4f6578467f39a88.tar.bz2
GN: Add assert(is_chromeos) to //chrome/browser/chromeos
This helps to ensure that targets not supported on a platform are not included in the "all" target. BUG=None Review URL: https://codereview.chromium.org/1542213003 Cr-Commit-Position: refs/heads/master@{#367473}
-rw-r--r--chrome/browser/chromeos/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/BUILD.gn b/chrome/browser/chromeos/BUILD.gn
index 8b01211..d8a1c57 100644
--- a/chrome/browser/chromeos/BUILD.gn
+++ b/chrome/browser/chromeos/BUILD.gn
@@ -8,6 +8,8 @@ import("//chrome/chrome_tests.gni")
import("//media/media_options.gni")
import("//third_party/protobuf/proto_library.gni")
+assert(is_chromeos)
+
gypi_values = exec_script("//build/gypi_to_gn.py",
[ rebase_path("../../chrome_browser_chromeos.gypi") ],
"scope",