summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authoragrieve <agrieve@chromium.org>2016-01-05 11:26:27 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-05 19:27:07 +0000
commit97dd57df5affed43a82441b987c4504b72ac64c5 (patch)
tree44f1f42154887988499048118b5865f7933870e5 /BUILD.gn
parenta553b0bba88371b73c1a76f0fc438133ae2022d0 (diff)
downloadchromium_src-97dd57df5affed43a82441b987c4504b72ac64c5.zip
chromium_src-97dd57df5affed43a82441b987c4504b72ac64c5.tar.gz
chromium_src-97dd57df5affed43a82441b987c4504b72ac64c5.tar.bz2
GN: Don't compile battor_agent, imagediff, bitmaptools on Android
Came across this because battor_agent doesn't link without --gc-sections. I don't think there's a use for running these tools on-device. BUG=159847 Review URL: https://codereview.chromium.org/1545963003 Cr-Commit-Position: refs/heads/master@{#367609}
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn5
1 files changed, 4 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index bd0395e..9b2bc8d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -196,7 +196,6 @@ group("both_gn_and_gyp") {
"//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
"//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
"//third_party/smhasher:pmurhash",
- "//tools/battor_agent",
"//tools/imagediff($host_toolchain)",
"//tools/telemetry:bitmaptools($host_toolchain)",
"//ui/display:display_unittests",
@@ -224,6 +223,10 @@ group("both_gn_and_gyp") {
}
}
+ if (is_mac || is_win || is_linux) {
+ deps += [ "//tools/battor_agent" ]
+ }
+
deps += root_extra_deps
if (enable_extensions) {