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 import("//build/config/android/config.gni")
17 # A list of extra dependencies to add to the root target. This allows a
18 # checkout to add additional targets without explicitly changing any checked-
23 # In GN, a "group" is a dummy target that just lists other targets.
25 # This should not be linked into production and depends on test targets.
28 # Note that some dependencies are commented out. These are things that are
29 # currently written but not hooked up to the build yet. They may need to be
30 # completed or possibly just tested and then re-enabled.
37 "//chrome/browser/devtools",
42 "//components:all_components",
44 "//content/shell:content_shell",
45 "//content/test:test_support",
50 "//extensions/browser",
51 "//extensions/common",
52 "//extensions/common/api",
53 "//extensions/renderer",
70 "//remoting/client/plugin",
77 "//third_party/WebKit/public:all_blink",
78 "//third_party/angle:translator",
79 "//third_party/brotli",
80 "//third_party/cacheinvalidation",
82 "//third_party/cld_2",
83 "//third_party/ffmpeg",
85 "//third_party/harfbuzz-ng",
86 "//third_party/hunspell",
87 "//third_party/iccjpeg",
89 "//third_party/leveldatabase",
90 "//third_party/libphonenumber",
91 "//third_party/libjingle",
92 "//third_party/libpng",
93 "//third_party/libsrtp",
94 "//third_party/libusb",
95 "//third_party/libwebm",
96 "//third_party/libwebp",
97 "//third_party/libxslt",
98 "//third_party/libvpx",
99 "//third_party/libyuv",
100 "//third_party/lzma_sdk",
101 "//third_party/mesa",
102 "//third_party/opus",
104 "//third_party/protobuf:protobuf_lite",
105 "//third_party/qcms",
107 "//third_party/smhasher:cityhash",
108 "//third_party/smhasher:murmurhash3",
109 "//third_party/smhasher:pmurhash",
110 "//third_party/snappy",
111 "//third_party/speex",
112 "//third_party/usrsctp",
113 "//third_party/widevine/cdm:version_h",
114 "//third_party/webrtc",
115 "//third_party/zlib",
116 "//third_party:jpeg",
118 "//tools/imagediff($host_toolchain)",
119 "//ui/accessibility",
134 "//ui/views/controls/webview",
141 deps += [ "//breakpad:symupload" ]
147 "//third_party/fontconfig",
148 "//third_party/freetype2",
153 deps += [ "//tools/xdisplaycheck" ]
157 deps += [ "//ui/wm" ]
166 if (is_win || is_mac || is_chromeos) {
167 # RLZ works on these platforms.
173 if (cpu_arch == "x86" || cpu_arch == "x64") {
174 # YASM is x86/x64 only.
175 deps += [ "//third_party/yasm($host_toolchain)" ]
180 "//base/android/linker:chromium_android_linker",
181 "//build/android/rezip",
182 "//third_party/openmax_dl/dl",
183 "//content/shell/android:content_shell_apk",
184 "//chrome/android:chrome_shell_apk",
185 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
186 "//ui/android:ui_java",
187 "//third_party/android_tools:android_gcm_java",
188 "//third_party/android_tools:uiautomator_java",
189 "//third_party/android_tools:android_support_v13_java",
190 "//third_party/android_tools:android_support_v7_appcompat_java",
191 "//third_party/android_tools:android_support_v7_mediarouter_java",
192 "//third_party/eyesfree:eyesfree_java",
195 if (has_chrome_android_internal) {
202 "//apps", # Needs testing.
204 "//chrome/browser/devtools",
209 "//content/shell:content_shell",
210 "//extensions/browser",
211 "//extensions/common",
212 "//extensions/common/api",
213 "//extensions/renderer",
214 "//pdf", # Not compiled on Android in GYP yet, either.
216 "//third_party/libusb",
217 "//ui/keyboard", # Blocked on content.
219 # Seems to not be compiled on Android. Otherwise it will need a config.h.
220 "//third_party/libxslt",
222 # Not relevant to Android.
228 "//ui/views/controls/webview",
230 # Fails on Android for unknown reasons.
231 "//third_party/flac",
232 "//breakpad:symupload",
234 # Not tested on Android yet:
236 "//remoting/client/plugin",
238 "//third_party/cld_2",
239 "//third_party/ffmpeg",
253 if (!is_android && !is_ios) {