summaryrefslogtreecommitdiffstats
path: root/rlz/BUILD.gn
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2016-03-18 03:30:07 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 10:31:20 +0000
commit763bbe944c22635b01caaa86cceb65a21fa1bb4c (patch)
tree5a77c76746dd83bacd9ed509735b85f4330f8e21 /rlz/BUILD.gn
parent2dc0200c983a414b1ec462b5fe6fee0076e67231 (diff)
downloadchromium_src-763bbe944c22635b01caaa86cceb65a21fa1bb4c.zip
chromium_src-763bbe944c22635b01caaa86cceb65a21fa1bb4c.tar.gz
chromium_src-763bbe944c22635b01caaa86cceb65a21fa1bb4c.tar.bz2
[iOS] //rlz:rlz_id should not be build on iOS.
There is no point building this on iOS (if it needs to be build, it probably should be build on the "host" not the "target"). BUG=459705 Review URL: https://codereview.chromium.org/1801043002 Cr-Commit-Position: refs/heads/master@{#381928}
Diffstat (limited to 'rlz/BUILD.gn')
-rw-r--r--rlz/BUILD.gn18
1 files changed, 10 insertions, 8 deletions
diff --git a/rlz/BUILD.gn b/rlz/BUILD.gn
index 4bc2224..c260b45 100644
--- a/rlz/BUILD.gn
+++ b/rlz/BUILD.gn
@@ -120,14 +120,16 @@ test("rlz_unittests") {
]
}
-executable("rlz_id") {
- sources = [
- "examples/rlz_id.cc",
- ]
- deps = [
- ":rlz_lib",
- "//build/config/sanitizers:deps",
- ]
+if (!is_ios) {
+ executable("rlz_id") {
+ sources = [
+ "examples/rlz_id.cc",
+ ]
+ deps = [
+ ":rlz_lib",
+ "//build/config/sanitizers:deps",
+ ]
+ }
}
if (is_win) {