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

Side by Side Diff: sky/BUILD.gn

Issue 1183223003: Don't build sky_packager on Mac hosts (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 group("sky") { 8 group("sky") {
9 testonly = true 9 testonly = true
10 10
11 deps = [ 11 deps = [
12 "//services/debugger", 12 "//services/debugger",
13 "//sky/engine/platform:platform_unittests", 13 "//sky/engine/platform:platform_unittests",
14 "//sky/engine/web:sky_unittests", 14 "//sky/engine/web:sky_unittests",
15 "//sky/engine/wtf:unittests", 15 "//sky/engine/wtf:unittests",
16 "//sky/tools/imagediff", 16 "//sky/tools/imagediff",
17 "//sky/tools/packager($host_toolchain)",
18 "//sky/tools/tester", 17 "//sky/tools/tester",
19 "//sky/viewer", 18 "//sky/viewer",
20 ":sky_apk", 19 ":sky_apk",
21 ] 20 ]
22 21
22 # Mac's host toolchain doesn't support C++11 and can't build the packager.
23 if (host_os != "mac") {
24 deps += [ "//sky/tools/packager($host_toolchain)" ]
25 }
26
23 if (is_android) { 27 if (is_android) {
24 deps += [ "//sky/apk/stocks" ] 28 deps += [ "//sky/apk/stocks" ]
25 } 29 }
26 30
27 if (!is_android) { 31 if (!is_android) {
28 deps += [ "//third_party/mesa:osmesa" ] 32 deps += [ "//third_party/mesa:osmesa" ]
29 } 33 }
30 } 34 }
31 35
32 group("sky_apk") { 36 group("sky_apk") {
33 testonly = true 37 testonly = true
34 38
35 deps = [ 39 deps = [
36 "//mojo/dart/mojo_services", 40 "//mojo/dart/mojo_services",
37 "//mojo/dart/mojom", 41 "//mojo/dart/mojom",
38 "//mojo/public/dart:mojo", 42 "//mojo/public/dart:mojo",
39 "//sky/sdk", 43 "//sky/sdk",
40 "//third_party/dart-pkg", 44 "//third_party/dart-pkg",
41 ] 45 ]
42 46
43 if (is_android) { 47 if (is_android) {
44 deps += [ 48 deps += [
45 "//sky/apk/demo", 49 "//sky/apk/demo",
46 "//sky/services/intents", 50 "//sky/services/intents",
47 ] 51 ]
48 } 52 }
49 } 53 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698