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 # 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 |
14 # 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 |
15 # completed or possibly just tested and then re-enabled. | 15 # completed or possibly just tested and then re-enabled. |
16 deps = [ | 16 deps = [ |
17 # 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. |
18 #"//base(//build/toolchain/nacl:x86_newlib)", | 18 #"//base(//build/toolchain/nacl:x86_newlib)", |
19 | 19 |
20 #"//chrome", | 20 #"//chrome", |
21 "//components/language_usage_metrics", | 21 "//components/language_usage_metrics", |
22 "//components/navigation_metrics", | 22 "//components/navigation_metrics", |
23 "//components/onc", | 23 "//components/onc", |
24 "//components/startup_metric_utils", | 24 "//components/startup_metric_utils", |
25 #"//components/translate:translate_core_browser", | 25 #"//components/translate:translate_core_browser", |
26 #"//components/translate:translate_core_common", | 26 #"//components/translate:translate_core_common", |
27 #"//crypto", | 27 "//crypto", |
28 "//device/usb", | 28 "//device/usb", |
29 "//ipc", | 29 "//ipc", |
30 #"//net", | 30 #"//net", |
31 #"//net/third_party/nss:ssl", | |
32 #"//sdch", | 31 #"//sdch", |
33 #"//skia", | 32 #"//skia", |
34 #"//third_party/WebKit/Source/platform", | 33 #"//third_party/WebKit/Source/platform", |
35 #"//third_party/icu:icudata", | 34 #"//third_party/icu:icudata", |
36 #"//third_party/leveldatabase", | 35 #"//third_party/leveldatabase", |
37 "//skia", | 36 "//skia", |
38 "//third_party/libpng", | 37 "//third_party/libpng", |
39 "//third_party/libusb", | 38 "//third_party/libusb", |
40 "//third_party/re2", | 39 "//third_party/re2", |
41 "//third_party/smhasher:cityhash", | 40 "//third_party/smhasher:cityhash", |
42 "//third_party/smhasher:murmurhash3", | 41 "//third_party/smhasher:murmurhash3", |
43 "//third_party/smhasher:pmurhash", | 42 "//third_party/smhasher:pmurhash", |
44 "//third_party/zlib", | 43 "//third_party/zlib", |
45 "//tools/gn", | 44 "//tools/gn", |
46 "//ui/events", | 45 "//ui/events", |
47 "//ui/gfx", | 46 "//ui/gfx", |
48 "//url", | 47 "//url", |
49 ] | 48 ] |
50 | 49 |
51 if (is_posix) { # TODO(brettw) should be use_openssl | |
brettw
2014/04/11 21:21:44
This gets conditionally brought in via //crypto wh
| |
52 deps += [ | |
53 "//third_party/openssl", | |
54 ] | |
55 } | |
56 if (is_linux) { | 50 if (is_linux) { |
57 deps += [ | 51 deps += [ |
58 "//third_party/freetype2", | 52 "//third_party/freetype2", |
59 ] | 53 ] |
60 } | 54 } |
61 } | 55 } |
OLD | NEW |