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

Side by Side Diff: BUILD.gn

Issue 1312763004: Rationalize the top-level BUILD.gn rules a bit (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | mojo/BUILD.gn » ('j') | services/BUILD.gn » ('J')
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")
6
5 # 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.
6 group("default") { 8 group("default") {
7 testonly = true 9 testonly = true
8 10
9 deps = [ 11 deps = [
10 "//apps", 12 "//apps",
13 "//benchmarks",
11 "//crypto:crypto_unittests", 14 "//crypto:crypto_unittests",
12 "//examples", 15 "//examples",
13 "//mojo", 16 "//mojo",
14 "//mojom", 17 "//mojom",
15 "//services", 18 "//services",
16 "//shell", 19 "//shell",
17 "//ui/gfx:gfx_unittests", 20 "//ui/gfx:gfx_unittests",
18 "//ui/events:events_unittests", 21 "//ui/events:events_unittests",
19 ] 22 ]
20 23
21 if (!is_android && !is_win) { 24 if (!is_android) {
22 deps += [ "//tools/xdisplaycheck" ] 25 deps += [ "//tools/xdisplaycheck" ]
23 } 26 }
24 27
25 if (is_linux) { 28 if (is_linux) {
26 deps += [ "//sandbox/linux:sandbox" ] 29 deps += [ "//sandbox/linux:sandbox" ]
27 deps += [ "//sandbox/linux:sandbox_linux_unittests" ] 30 deps += [ "//sandbox/linux:sandbox_linux_unittests" ]
28 } 31 }
32
33 if (use_ozone) {
34 deps += [
35 "//ui/ozone",
36 "//ui/ozone/demo",
37 ]
38 }
29 } 39 }
30 40
31 # Deprecated name for the default build target. 41 # Deprecated name for the default build target.
32 group("root") { 42 group("root") {
33 testonly = true 43 testonly = true
34 deps = [ 44 deps = [
35 ":default", 45 ":default",
36 ] 46 ]
37 } 47 }
OLDNEW
« no previous file with comments | « no previous file | mojo/BUILD.gn » ('j') | services/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698