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

Side by Side Diff: sky/BUILD.gn

Issue 1198313004: Make sky/tools/packager build on Mac (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 | sky/tools/packager/loader.h » ('j') | 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)",
17 "//sky/tools/tester", 18 "//sky/tools/tester",
18 "//sky/viewer", 19 "//sky/viewer",
19 ":sky_apk", 20 ":sky_apk",
20 ] 21 ]
21 22
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
27 if (is_android) { 23 if (is_android) {
28 deps += [ "//sky/apk/stocks" ] 24 deps += [ "//sky/apk/stocks" ]
29 } 25 }
30 26
31 if (!is_android) { 27 if (!is_android) {
32 deps += [ "//third_party/mesa:osmesa" ] 28 deps += [ "//third_party/mesa:osmesa" ]
33 } 29 }
34 } 30 }
35 31
36 group("sky_apk") { 32 group("sky_apk") {
37 testonly = true 33 testonly = true
38 34
39 deps = [ 35 deps = [
40 "//mojo/dart/mojo_services", 36 "//mojo/dart/mojo_services",
41 "//mojo/dart/mojom", 37 "//mojo/dart/mojom",
42 "//mojo/public/dart:mojo", 38 "//mojo/public/dart:mojo",
43 "//sky/sdk", 39 "//sky/sdk",
44 "//third_party/dart-pkg", 40 "//third_party/dart-pkg",
45 ] 41 ]
46 42
47 if (is_android) { 43 if (is_android) {
48 deps += [ 44 deps += [
49 "//sky/apk/demo", 45 "//sky/apk/demo",
50 "//sky/services/intents", 46 "//sky/services/intents",
51 ] 47 ]
52 } 48 }
53 } 49 }
OLDNEW
« no previous file with comments | « no previous file | sky/tools/packager/loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698