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",
49 "//extensions/browser",
50 "//extensions/common",
51 "//extensions/common/api",
52 "//extensions/renderer",
69 "//remoting/client/plugin",
76 "//third_party/WebKit/public:all_blink",
77 "//third_party/angle:translator",
78 "//third_party/brotli",
79 "//third_party/cacheinvalidation",
81 "//third_party/cld_2",
82 "//third_party/ffmpeg",
84 "//third_party/harfbuzz-ng",
85 "//third_party/hunspell",
86 "//third_party/iccjpeg",
88 "//third_party/leveldatabase",
89 "//third_party/libphonenumber",
90 "//third_party/libjingle",
91 "//third_party/libpng",
92 "//third_party/libsrtp",
93 "//third_party/libusb",
94 "//third_party/libwebm",
95 "//third_party/libwebp",
96 "//third_party/libxslt",
97 "//third_party/libvpx",
98 "//third_party/libyuv",
99 "//third_party/lzma_sdk",
100 "//third_party/mesa",
101 "//third_party/opus",
103 "//third_party/protobuf:protobuf_lite",
104 "//third_party/qcms",
106 "//third_party/smhasher:cityhash",
107 "//third_party/smhasher:murmurhash3",
108 "//third_party/smhasher:pmurhash",
109 "//third_party/snappy",
110 "//third_party/speex",
111 "//third_party/usrsctp",
112 "//third_party/widevine/cdm:version_h",
113 "//third_party/webrtc",
114 "//third_party/zlib",
115 "//third_party:jpeg",
117 "//tools/imagediff($host_toolchain)",
118 "//ui/accessibility",
133 "//ui/views/controls/webview",
140 deps += [ "//breakpad:symupload" ]
146 "//third_party/fontconfig",
147 "//third_party/freetype2",
152 deps += [ "//tools/xdisplaycheck" ]
156 deps += [ "//ui/wm" ]
165 if (is_win || is_mac || is_chromeos) {
166 # RLZ works on these platforms.
172 if (cpu_arch == "x86" || cpu_arch == "x64") {
173 # YASM is x86/x64 only.
174 deps += [ "//third_party/yasm($host_toolchain)" ]
179 "//base/android/linker:chromium_android_linker",
180 "//build/android/rezip",
181 "//third_party/openmax_dl/dl",
182 "//content/shell/android:content_shell_apk",
183 "//chrome/android:chrome_shell_apk",
184 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
185 "//ui/android:ui_java",
186 "//third_party/android_tools:android_gcm_java",
187 "//third_party/android_tools:uiautomator_java",
188 "//third_party/android_tools:android_support_v13_java",
189 "//third_party/android_tools:android_support_v7_appcompat_java",
190 "//third_party/android_tools:android_support_v7_mediarouter_java",
191 "//third_party/eyesfree:eyesfree_java",
194 if (has_chrome_android_internal) {
201 "//apps", # Needs testing.
203 "//chrome/browser/devtools",
208 "//content/shell:content_shell",
209 "//extensions/browser",
210 "//extensions/common",
211 "//extensions/common/api",
212 "//extensions/renderer",
213 "//pdf", # Not compiled on Android in GYP yet, either.
215 "//third_party/libusb",
216 "//ui/keyboard", # Blocked on content.
218 # Seems to not be compiled on Android. Otherwise it will need a config.h.
219 "//third_party/libxslt",
221 # Not relevant to Android.
227 "//ui/views/controls/webview",
229 # Fails on Android for unknown reasons.
230 "//third_party/flac",
231 "//breakpad:symupload",
233 # Not tested on Android yet:
235 "//remoting/client/plugin",
237 "//third_party/cld_2",
238 "//third_party/ffmpeg",
252 if (!is_android && !is_ios) {