| 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 # In GN, a "group" is a dummy target that just lists other targets. | 11 # In GN, a "group" is a dummy target that just lists other targets. |
| 12 group("root") { | 12 group("root") { |
| 13 # Declares that this target should be treated as "external" in the GN-GYP | |
| 14 # hybrid build, and GN will not generate a GYP file for it. This flag is | |
| 15 # ignored in the pure GN build. | |
| 16 external = true | |
| 17 | |
| 18 # Note that some dependencies are commented out. These are things that are | 13 # Note that some dependencies are commented out. These are things that are |
| 19 # currently written but not hooked up to the build yet. They may need to be | 14 # currently written but not hooked up to the build yet. They may need to be |
| 20 # completed or possibly just tested and then re-enabled. | 15 # completed or possibly just tested and then re-enabled. |
| 21 deps = [ | 16 deps = [ |
| 22 # This is a temporary test of the not-yet-complete NaCl cross-compilation. | 17 # This is a temporary test of the not-yet-complete NaCl cross-compilation. |
| 23 #"//base(//build/toolchain/nacl:x86_newlib)", | 18 #"//base(//build/toolchain/nacl:x86_newlib)", |
| 24 | 19 |
| 25 #"//chrome", | 20 #"//chrome", |
| 26 #"//components/language_usage_metrics", | 21 #"//components/language_usage_metrics", |
| 27 #"//components/navigation_metrics", | 22 #"//components/navigation_metrics", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 38 #"//third_party/WebKit/Source/platform", | 33 #"//third_party/WebKit/Source/platform", |
| 39 #"//third_party/icu:icudata", | 34 #"//third_party/icu:icudata", |
| 40 #"//third_party/leveldatabase", | 35 #"//third_party/leveldatabase", |
| 41 #"//third_party/libpng", | 36 #"//third_party/libpng", |
| 42 #"//third_party/zlib", | 37 #"//third_party/zlib", |
| 43 #"//skia", | 38 #"//skia", |
| 44 "//tools/gn", | 39 "//tools/gn", |
| 45 #"//url", | 40 #"//url", |
| 46 ] | 41 ] |
| 47 } | 42 } |
| OLD | NEW |