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

Side by Side Diff: BUILD.gn

Issue 1327033004: Allow building mojo_shell and non-graphical apps/services on a Mac (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review feedback Created 5 years, 3 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 | examples/BUILD.gn » ('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 6
7 # This target will be built if no target is specified when invoking ninja. 7 # This target will be built if no target is specified when invoking ninja.
8 group("default") { 8 group("default") {
9 testonly = true 9 testonly = true
10 10
11 deps = [ 11 deps = [
12 "//apps", 12 "//apps",
13 "//benchmarks", 13 "//benchmarks",
14 "//crypto:crypto_unittests", 14 "//crypto:crypto_unittests",
15 "//examples", 15 "//examples",
16 "//mojo", 16 "//mojo",
17 "//mojom", 17 "//mojom",
18 "//services", 18 "//services",
19 "//shell", 19 "//shell",
20 "//ui/gfx:gfx_unittests",
21 "//ui/events:events_unittests",
22 ] 20 ]
23 21
24 if (is_linux) { 22 if (is_linux) {
25 deps += [ 23 deps += [
26 "//sandbox/linux:sandbox", 24 "//sandbox/linux:sandbox",
27 "//sandbox/linux:sandbox_linux_unittests", 25 "//sandbox/linux:sandbox_linux_unittests",
28 "//tools/xdisplaycheck", 26 "//tools/xdisplaycheck",
29 ] 27 ]
30 } 28 }
31 29
30 if (is_linux || is_android) {
31 deps += [
32 "//ui/events:events_unittests",
33 "//ui/gfx:gfx_unittests",
34 ]
35 }
36
32 if (use_ozone) { 37 if (use_ozone) {
33 deps += [ 38 deps += [
34 "//ui/ozone", 39 "//ui/ozone",
35 "//ui/ozone/demo", 40 "//ui/ozone/demo",
36 ] 41 ]
37 } 42 }
38 } 43 }
39 44
40 # Deprecated name for the default build target. 45 # Deprecated name for the default build target.
41 group("root") { 46 group("root") {
42 testonly = true 47 testonly = true
43 deps = [ 48 deps = [
44 ":default", 49 ":default",
45 ] 50 ]
46 } 51 }
OLDNEW
« no previous file with comments | « no previous file | examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698