| 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 | 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 | 14 # hybrid build, and GN will not generate a GYP file for it. This flag is |
| 15 # ignored in the pure GN build. | 15 # ignored in the pure GN build. |
| 16 external = true | 16 external = true |
| 17 | 17 |
| 18 deps = [ | 18 deps = [ |
| 19 "//base(//build/toolchain/nacl:x86_newlib)", | 19 "//base(//build/toolchain/nacl:x86_newlib)", |
| 20 "//chrome", | 20 "//chrome", |
| 21 "//components/language_usage_metrics", |
| 21 "//components/navigation_metrics", | 22 "//components/navigation_metrics", |
| 22 "//components/onc:onc_component", | 23 "//components/onc:onc_component", |
| 23 "//components/startup_metric_utils", | 24 "//components/startup_metric_utils", |
| 24 "//components/translate:translate_core_browser", | 25 "//components/translate:translate_core_browser", |
| 25 "//components/translate:translate_core_common", | 26 "//components/translate:translate_core_common", |
| 26 "//crypto", | 27 "//crypto", |
| 27 "//device/usb:device_usb", | 28 "//device/usb:device_usb", |
| 28 "//ipc", | 29 "//ipc", |
| 29 "//net", | 30 "//net", |
| 30 "//net/third_party/nss:ssl", | 31 "//net/third_party/nss:ssl", |
| 31 "//sdch", | 32 "//sdch", |
| 32 "//third_party/icu:icudata", | 33 "//third_party/icu:icudata", |
| 33 "//third_party/leveldatabase", | 34 "//third_party/leveldatabase", |
| 34 "//third_party/zlib", | 35 "//third_party/zlib", |
| 35 "//third_party/WebKit/Source/weborigin", | 36 "//third_party/WebKit/Source/weborigin", |
| 36 "//skia", | 37 "//skia", |
| 37 "//tools/gn", | 38 "//tools/gn", |
| 38 "//url", | 39 "//url", |
| 39 ] | 40 ] |
| 40 } | 41 } |
| OLD | NEW |