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") | 11 import("//build/config/ui.gni") |
12 | 12 |
| 13 # Android GN build has some bugs: http://crbug.com/405686 |
| 14 if (is_android) { |
| 15 |
| 16 group("root") { |
| 17 deps = [ |
| 18 "//base", |
| 19 ] |
| 20 } |
| 21 |
| 22 } else { |
| 23 |
13 # In GN, a "group" is a dummy target that just lists other targets. | 24 # In GN, a "group" is a dummy target that just lists other targets. |
14 group("root") { | 25 group("root") { |
15 # Note that some dependencies are commented out. These are things that are | 26 # Note that some dependencies are commented out. These are things that are |
16 # currently written but not hooked up to the build yet. They may need to be | 27 # currently written but not hooked up to the build yet. They may need to be |
17 # completed or possibly just tested and then re-enabled. | 28 # completed or possibly just tested and then re-enabled. |
18 deps = [ | 29 deps = [ |
19 "//apps", | 30 "//apps", |
20 "//ash", | 31 "//ash", |
21 "//cc", | 32 "//cc", |
22 "//cc/blink", | 33 "//cc/blink", |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 ] | 234 ] |
224 } | 235 } |
225 | 236 |
226 if (use_ozone) { | 237 if (use_ozone) { |
227 deps += [ | 238 deps += [ |
228 "//ui/ozone", | 239 "//ui/ozone", |
229 "//ui/ozone/demo", | 240 "//ui/ozone/demo", |
230 ] | 241 ] |
231 } | 242 } |
232 } | 243 } |
| 244 |
| 245 } |
OLD | NEW |