summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
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) {