OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
| 11 import("//build/config/ui.gni") |
| 12 |
11 # In GN, a "group" is a dummy target that just lists other targets. | 13 # In GN, a "group" is a dummy target that just lists other targets. |
12 group("root") { | 14 group("root") { |
13 # Note that some dependencies are commented out. These are things that are | 15 # Note that some dependencies are commented out. These are things that are |
14 # currently written but not hooked up to the build yet. They may need to be | 16 # currently written but not hooked up to the build yet. They may need to be |
15 # completed or possibly just tested and then re-enabled. | 17 # completed or possibly just tested and then re-enabled. |
16 deps = [ | 18 deps = [ |
17 # This is a temporary test of the not-yet-complete NaCl cross-compilation. | 19 # This is a temporary test of the not-yet-complete NaCl cross-compilation. |
18 #"//base(//build/toolchain/nacl:x86_newlib)", | 20 #"//base(//build/toolchain/nacl:x86_newlib)", |
19 | 21 |
20 "//apps/common/api:apps_api", | 22 "//apps/common/api:apps_api", |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 # "//third_party/WebKit/Source/platform", | 129 # "//third_party/WebKit/Source/platform", |
128 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. | 130 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. |
129 "//sandbox", | 131 "//sandbox", |
130 "//tools/gn", | 132 "//tools/gn", |
131 | 133 |
132 # Not tested on Android yet: | 134 # Not tested on Android yet: |
133 "//webkit/browser:storage", | 135 "//webkit/browser:storage", |
134 "//webkit/child", | 136 "//webkit/child", |
135 ] | 137 ] |
136 } | 138 } |
| 139 |
| 140 if (use_ozone) { |
| 141 deps += [ |
| 142 "//ui/events/ozone:events_ozone", |
| 143 "//ui/events/ozone:events_ozone_evdev", |
| 144 ] |
| 145 } |
137 } | 146 } |
OLD | NEW |