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")
14 # A list of extra dependencies to add to the root target. This allows a
15 # checkout to add additional targets without explicitly changing any checked-
20 # In GN, a "group" is a dummy target that just lists other targets.
22 # This should not be linked into production and depends on test targets.
25 # Note that some dependencies are commented out. These are things that are
26 # currently written but not hooked up to the build yet. They may need to be
27 # completed or possibly just tested and then re-enabled.
34 "//chrome/browser/devtools",
39 "//components:all_components",
41 "//content/shell:content_shell",
42 "//content/test:test_support",
46 "//extensions/browser",
47 "//extensions/common",
48 "//extensions/common/api",
49 "//extensions/renderer",
66 "//remoting/client/plugin",
73 "//third_party/WebKit/public:all_blink",
74 "//third_party/angle:translator",
75 "//third_party/brotli",
76 "//third_party/cacheinvalidation",
78 "//third_party/cld_2",
79 "//third_party/ffmpeg",
81 "//third_party/harfbuzz-ng",
82 "//third_party/hunspell",
83 "//third_party/iccjpeg",
85 "//third_party/leveldatabase",
86 "//third_party/libphonenumber",
87 "//third_party/libjingle",
88 "//third_party/libpng",
89 "//third_party/libsrtp",
90 "//third_party/libusb",
91 "//third_party/libwebm",
92 "//third_party/libwebp",
93 "//third_party/libxslt",
94 "//third_party/libvpx",
95 "//third_party/libyuv",
96 "//third_party/lzma_sdk",
100 "//third_party/protobuf:protobuf_lite",
101 "//third_party/qcms",
103 "//third_party/smhasher:cityhash",
104 "//third_party/smhasher:murmurhash3",
105 "//third_party/smhasher:pmurhash",
106 "//third_party/snappy",
107 "//third_party/speex",
108 "//third_party/usrsctp",
109 "//third_party/widevine/cdm:version_h",
110 "//third_party/webrtc",
111 "//third_party/zlib",
112 "//third_party:jpeg",
114 "//tools/imagediff($host_toolchain)",
115 "//ui/accessibility",
130 "//ui/views/controls/webview",
137 deps += [ "//breakpad:symupload" ]
143 "//third_party/fontconfig",
144 "//third_party/freetype2",
149 deps += [ "//tools/xdisplaycheck" ]
153 deps += [ "//ui/wm" ]
162 if (is_win || is_mac || is_chromeos) {
163 # RLZ works on these platforms.
169 if (cpu_arch == "x86" || cpu_arch == "x64") {
170 # YASM is x86/x64 only.
171 deps += [ "//third_party/yasm($host_toolchain)" ]
176 "//base/android/linker:chromium_android_linker",
177 "//build/android/rezip",
178 "//third_party/openmax_dl/dl",
179 "//content/shell/android:content_shell_apk",
180 "//chrome/android:chrome_shell_apk",
181 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
182 "//ui/android:ui_java",
183 "//third_party/android_tools:android_gcm_java",
184 "//third_party/android_tools:uiautomator_java",
185 "//third_party/android_tools:android_support_v13_java",
186 "//third_party/android_tools:android_support_v7_appcompat_java",
187 "//third_party/android_tools:android_support_v7_mediarouter_java",
188 "//third_party/eyesfree:eyesfree_java",
192 "//apps", # Needs testing.
194 "//chrome/browser/devtools",
199 "//content/shell:content_shell",
200 "//extensions/browser",
201 "//extensions/common",
202 "//extensions/common/api",
203 "//extensions/renderer",
204 "//pdf", # Not compiled on Android in GYP yet, either.
206 "//third_party/libusb",
207 "//ui/keyboard", # Blocked on content.
209 # Seems to not be compiled on Android. Otherwise it will need a config.h.
210 "//third_party/libxslt",
212 # Not relevant to Android.
218 "//ui/views/controls/webview",
220 # Fails on Android for unknown reasons.
221 "//third_party/flac",
222 "//breakpad:symupload",
224 # Not tested on Android yet:
226 "//remoting/client/plugin",
228 "//third_party/cld_2",
229 "//third_party/ffmpeg",
243 if (!is_android && !is_ios) {