diff options
author | sdefresne <sdefresne@chromium.org> | 2016-03-16 03:22:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-16 10:24:20 +0000 |
commit | 7d3c402f572922468bb860eea49f6da412ca1634 (patch) | |
tree | 5166364ab11efb5da3c936c516a9d6536fb91e52 /google_apis | |
parent | 6b8fd364f7c592e921fcfd3fe1783b4e5892c8c4 (diff) | |
download | chromium_src-7d3c402f572922468bb860eea49f6da412ca1634.zip chromium_src-7d3c402f572922468bb860eea49f6da412ca1634.tar.gz chromium_src-7d3c402f572922468bb860eea49f6da412ca1634.tar.bz2 |
[iOS] Do not build //google_apis/gcm:mcs_probe on iOS.
There is no point building a server on iOS (if we need to build it,
it would have to be for "host" toolset).
BUG=459705
Review URL: https://codereview.chromium.org/1805513002
Cr-Commit-Position: refs/heads/master@{#381426}
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/gcm/BUILD.gn | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/google_apis/gcm/BUILD.gn b/google_apis/gcm/BUILD.gn index f63aefb..6073e1d 100644 --- a/google_apis/gcm/BUILD.gn +++ b/google_apis/gcm/BUILD.gn @@ -106,21 +106,23 @@ source_set("test_support") { } # A standalone MCS (mobile connection server) client. -executable("mcs_probe") { - testonly = true - sources = [ - "tools/mcs_probe.cc", - ] +if (!is_ios) { + executable("mcs_probe") { + testonly = true + sources = [ + "tools/mcs_probe.cc", + ] - deps = [ - ":gcm", - ":test_support", - "//base", - "//build/config/sanitizers:deps", - "//net", - "//net:test_support", - "//third_party/protobuf:protobuf_lite", - ] + deps = [ + ":gcm", + ":test_support", + "//base", + "//build/config/sanitizers:deps", + "//net", + "//net:test_support", + "//third_party/protobuf:protobuf_lite", + ] + } } test("gcm_unit_tests") { |