| 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 | |
| 24 # 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. |
| 25 group("root") { | 14 group("root") { |
| 26 # 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 |
| 27 # 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 |
| 28 # completed or possibly just tested and then re-enabled. | 17 # completed or possibly just tested and then re-enabled. |
| 29 deps = [ | 18 deps = [ |
| 30 "//apps", | 19 "//apps", |
| 31 "//ash", | 20 "//ash", |
| 32 "//cc", | 21 "//cc", |
| 33 "//cc/blink", | 22 "//cc/blink", |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 ] | 230 ] |
| 242 } | 231 } |
| 243 | 232 |
| 244 if (use_ozone) { | 233 if (use_ozone) { |
| 245 deps += [ | 234 deps += [ |
| 246 "//ui/ozone", | 235 "//ui/ozone", |
| 247 "//ui/ozone/demo", | 236 "//ui/ozone/demo", |
| 248 ] | 237 ] |
| 249 } | 238 } |
| 250 } | 239 } |
| 251 | |
| 252 } | |
| OLD | NEW |