Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Unified Diff: sky/BUILD.gn

Issue 678533002: Fix sky build on android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/platform/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
+ }
}
« no previous file with comments | « no previous file | sky/engine/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698