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 import("//build/config/ui.gni")
13 # In GN, a "group" is a dummy target that just lists other targets.
15 # This should not be linked into production and depends on test targets.
18 # 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
20 # completed or possibly just tested and then re-enabled.
27 "//chrome/browser/devtools",
28 "//chrome/browser/ui",
29 "//chrome/browser/ui/views",
35 "//components:all_components",
37 "//content/shell:content_shell",
38 "//content/test:test_support",
42 "//extensions/browser",
43 "//extensions/common",
44 "//extensions/common/api",
45 "//extensions/renderer",
60 "//remoting/client/plugin",
66 "//third_party/WebKit/public:all_blink",
67 "//third_party/angle:translator",
68 "//third_party/brotli",
69 "//third_party/cacheinvalidation",
71 "//third_party/cld_2",
72 "//third_party/ffmpeg",
74 "//third_party/harfbuzz-ng",
75 "//third_party/hunspell",
76 "//third_party/iccjpeg",
78 "//third_party/leveldatabase",
79 "//third_party/libaddressinput",
80 "//third_party/libphonenumber",
81 "//third_party/libjingle",
82 "//third_party/libpng",
83 "//third_party/libsrtp",
84 "//third_party/libusb",
85 "//third_party/libwebm",
86 "//third_party/libwebp",
87 "//third_party/libxslt",
88 "//third_party/libyuv",
89 "//third_party/lzma_sdk",
93 "//third_party/protobuf:protobuf_lite",
96 "//third_party/smhasher:cityhash",
97 "//third_party/smhasher:murmurhash3",
98 "//third_party/smhasher:pmurhash",
99 "//third_party/snappy",
100 "//third_party/speex",
101 "//third_party/usrsctp",
102 "//third_party/widevine/cdm:version_h",
103 "//third_party/webrtc",
104 "//third_party/zlib",
105 "//third_party:jpeg",
107 "//tools/imagediff($host_toolchain)",
111 "//ui/accessibility",
124 "//ui/views/controls/webview",
129 "//webkit/browser:storage",
133 deps += [ "//breakpad:symupload" ]
139 "//third_party/fontconfig",
140 "//third_party/freetype2",
145 deps += [ "//tools/xdisplaycheck" ]
154 if (is_win || is_mac || is_chromeos) {
155 # RLZ works on these platforms.
161 if (cpu_arch == "x86" || cpu_arch == "x64") {
162 # YASM is x86/x64 only.
163 deps += [ "//third_party/yasm($host_toolchain)" ]
168 "//ui/android:ui_java",
169 "//third_party/guava:guava_javalib",
170 "//third_party/android_tools:android_gcm_java",
171 "//third_party/android_tools:uiautomator_java",
172 "//third_party/android_tools:android_support_v13_java",
173 "//third_party/android_tools:android_support_v7_appcompat_java",
174 "//third_party/android_tools:android_support_v7_mediarouter_java",
175 "//third_party/eyesfree:eyesfree_java",
179 "//apps", # Needs testing.
180 "//cc/blink", # Blocked on blink
181 "//chrome/browser", # Blocked on content.
182 "//chrome/browser/devtools", # Blocked on content.
183 "//chrome/browser/ui", # Blocked on content.
184 "//chrome/browser/ui/views", # Blocked on content.
185 "//chrome/common", # Blocked on content.
186 "//chrome/plugin", # Blocked on content.
187 "//chrome/renderer", # Blocked on content.
188 "//chrome/service", # Blocked on content.
189 "//chrome/utility", # Blocked on content.
191 "//content/shell:content_shell", # Blocked on content.
192 "//content/test:test_support", # Blocked on content.
193 "//extensions/browser",
194 "//extensions/common",
195 "//extensions/common/api",
196 "//extensions/renderer",
197 "//pdf", # Not compiled on Android in GYP yet, either.
200 "//third_party/libusb",
201 "//ui/keyboard", # Blocked on content.
203 # Blocked on neon stuff in vp8
204 "//third_party/WebKit/public:all_blink",
206 # Seems to not be compiled on Android. Otherwise it will need a config.h.
207 "//third_party/libxslt",
209 # Not relevant to Android.
215 "//ui/views/controls/webview",
217 # Fails on Android for unknown reasons.
218 "//third_party/flac",
219 "//breakpad:symupload",
221 # Not tested on Android yet:
223 "//remoting/client/plugin",
224 "//third_party/cld_2",
225 "//third_party/libaddressinput",
226 "//third_party/ffmpeg",
231 "//webkit/browser:storage",
243 if (!is_android && !is_ios) {