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
3 # found in the LICENSE file.
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
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
9 # file to your new one or GN won't know about it.
11 # In GN, a "group" is a dummy target that just lists other targets.
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
15 # completed or possibly just tested and then re-enabled.
17 # This is a temporary test of the not-yet-complete NaCl cross-compilation.
18 #"//base(//build/toolchain/nacl:x86_newlib)",
20 "//apps/common/api:apps_api",
23 "//components/favicon_base",
24 "//components/language_usage_metrics",
25 "//components/metrics",
26 "//components/navigation_metrics",
28 "//components/os_crypt",
29 "//components/query_parser",
30 "//components/resources:components_resources",
31 "//components/startup_metric_utils",
32 "//components/tracing",
33 "//components/translate:translate_core_browser",
34 "//components/translate:translate_core_common",
35 "//components/url_matcher",
36 #"//content/public/browser", # Exists but doesn't build yet.
37 "//content/public/child",
38 "//content/public/common",
39 "//content/public/renderer",
43 #"//extensions/common/api:extensions_api",
55 "//third_party/angle:translator",
56 "//third_party/brotli",
57 "//third_party/harfbuzz-ng",
58 "//third_party/iccjpeg",
60 "//third_party/leveldatabase",
61 "//third_party/libpng",
62 "//third_party/libusb",
63 "//third_party/libwebm",
64 "//third_party/libwebp",
66 "//third_party/protobuf:protobuf_lite",
69 "//third_party/smhasher:cityhash",
70 "//third_party/smhasher:murmurhash3",
71 "//third_party/smhasher:pmurhash",
72 # TODO(brettw) re-enable once the unused variables in this .gn file are
73 # fixed and rolled into Chrome.
74 #"//third_party/WebKit/Source/platform",
75 "//third_party/WebKit/Source/wtf",
91 "//webkit/browser:storage",
97 "//third_party/fontconfig",
98 "//third_party/freetype2",
108 if (is_win || is_mac || is_chromeos) {
109 # RLZ works on these platforms.
118 "//content/public/common",
119 "//content/public/renderer",
122 "//third_party/libusb",
123 #"//third_party/WebKit/Source/platform",
124 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android.
127 # Not tested on Android yet:
128 "//webkit/browser:storage",
131 # This stuff all depends on ui/surface which requires some .class jni
132 # generators (ui/gl/gl.gyp:surface_jni_headers).