Index: sky/BUILD.gn |
diff --git a/sky/BUILD.gn b/sky/BUILD.gn |
index d0127988af24c78db28f8328a10b6303a12bbdb5..4fcf80401692cda0f7049a704e3b5bd415c25fca 100644 |
--- a/sky/BUILD.gn |
+++ b/sky/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/ui.gni") |
import("//tools/grit/grit_rule.gni") |
group("sky") { |
@@ -12,9 +13,15 @@ group("sky") { |
"//sky/engine/platform:platform_unittests", |
"//sky/engine/web:sky_unittests", |
"//sky/engine/wtf:unittests", |
- "//sky/tools/debugger", |
- "//sky/tools/tester", |
"//sky/viewer", |
- "//third_party/mesa:osmesa", |
] |
+ if (use_aura) { |
+ deps += [ |
+ "//sky/tools/debugger", |
+ "//sky/tools/tester", |
+ ] |
+ } |
+ if (!is_android) { |
+ deps += [ "//third_party/mesa:osmesa" ] |
+ } |
} |