Remove NavigationRequestInfo::is_showing.
[chromium-blink-merge.git] / BUILD.gn
blob574f5399bf4454ea9225907060e8fb8f0cb236ce
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.
14 group("root") {
15   # Note that some dependencies are commented out. These are things that are
16   # currently written but not hooked up to the build yet. They may need to be
17   # completed or possibly just tested and then re-enabled.
18   deps = [
19     "//apps",
20     "//ash",
21     "//cc",
22     "//cc/blink",
23     "//chrome/browser",
24     "//chrome/browser/devtools",
25     "//chrome/browser/ui",
26     "//chrome/browser/ui/views",
27     "//chrome/common",
28     "//chrome/plugin",
29     "//chrome/renderer",
30     "//chrome/service",
31     "//chrome/utility",
32     "//components:all_components",
33     "//content",
34     "//content/shell:content_shell",
35     "//content/test:test_support",
36     "//crypto",
37     "//device/bluetooth",
38     "//device/nfc",
39     "//device/usb",
40     "//extensions/browser",
41     "//extensions/common",
42     "//extensions/common/api",
43     "//extensions/renderer",
44     "//gin",
45     "//gpu",
46     "//google_apis",
47     "//google_apis/gcm",
48     "//ipc",
49     "//ipc/mojo",
50     "//jingle:notifier",
51     "//media",
52     "//media/cast",
53     "//mojo",
54     "//net",
55     "//pdf",
56     "//ppapi:ppapi_c",
57     "//printing",
58     "//remoting/client/plugin",
59     "//sandbox",
60     "//sdch",
61     "//skia",
62     "//sql",
63     "//sync",
64     "//third_party/WebKit/public:all_blink",
65     "//third_party/angle:translator",
66     "//third_party/brotli",
67     "//third_party/cacheinvalidation",
68     "//third_party/cld",
69     "//third_party/cld_2",
70     "//third_party/ffmpeg",
71     "//third_party/flac",
72     "//third_party/harfbuzz-ng",
73     "//third_party/hunspell",
74     "//third_party/iccjpeg",
75     "//third_party/icu",
76     "//third_party/leveldatabase",
77     "//third_party/libaddressinput",
78     "//third_party/libphonenumber",
79     "//third_party/libjingle",
80     "//third_party/libpng",
81     "//third_party/libsrtp",
82     "//third_party/libusb",
83     "//third_party/libwebm",
84     "//third_party/libwebp",
85     "//third_party/libxslt",
86     "//third_party/libyuv",
87     "//third_party/lzma_sdk",
88     "//third_party/mesa",
89     "//third_party/opus",
90     "//third_party/ots",
91     "//third_party/protobuf:protobuf_lite",
92     "//third_party/qcms",
93     "//third_party/re2",
94     "//third_party/smhasher:cityhash",
95     "//third_party/smhasher:murmurhash3",
96     "//third_party/smhasher:pmurhash",
97     "//third_party/snappy",
98     "//third_party/speex",
99     "//third_party/usrsctp",
100     "//third_party/widevine/cdm:version_h",
101     "//third_party/webrtc",
102     "//third_party/zlib",
103     "//third_party:jpeg",
104     "//tools/gn",
105     "//tools/imagediff($host_toolchain)",
106     "//ui:ui_unittests",
107     "//ui/app_list",
108     "//ui/aura",
109     "//ui/accessibility",
110     "//ui/base",
111     "//ui/display",
112     "//ui/events",
113     "//ui/gfx",
114     "//ui/gl",
115     "//ui/keyboard",
116     "//ui/native_theme",
117     "//ui/resources",
118     "//ui/snapshot",
119     "//ui/strings",
120     "//ui/surface",
121     "//ui/views",
122     "//ui/views/controls/webview",
123     "//ui/web_dialogs",
124     "//ui/wm",
125     "//url",
126     "//v8:v8",
127     "//webkit/browser:storage",
128     "//webkit/child",
129   ]
131   if (!is_win) {
132     deps += [ "//breakpad:symupload" ]
133   }
135   if (is_linux) {
136     deps += [
137       "//dbus",
138       "//third_party/fontconfig",
139       "//third_party/freetype2",
140     ]
141   }
143   if (use_x11) {
144     deps += [ "//tools/xdisplaycheck" ]
145   }
147   if (is_win) {
148     deps += [
149       "//ui/metro_viewer",
150     ]
151   }
153   if (is_win || is_mac || is_chromeos) {
154     # RLZ works on these platforms.
155     deps += [
156       "//rlz:rlz_lib",
157     ]
158   }
160   if (cpu_arch == "x86" || cpu_arch == "x64") {
161     # YASM is x86/x64 only.
162     deps += [ "//third_party/yasm($host_toolchain)" ]
163   }
165   if (is_android) {
166     deps += [
167       "//ui/android:ui_java",
168       "//third_party/guava:guava_javalib",
169       "//third_party/android_tools:android_gcm_java",
170       "//third_party/android_tools:uiautomator_java",
171       "//third_party/android_tools:android_support_v13_java",
172       "//third_party/android_tools:android_support_v7_appcompat_java",
173       "//third_party/android_tools:android_support_v7_mediarouter_java",
174     ]
176     deps -= [
177       "//apps",  # Needs testing.
178       "//cc/blink", # Blocked on blink
179       "//chrome/browser",  # Blocked on content.
180       "//chrome/browser/devtools",  # Blocked on content.
181       "//chrome/browser/ui",  # Blocked on content.
182       "//chrome/browser/ui/views",  # Blocked on content.
183       "//chrome/common",  # Blocked on content.
184       "//chrome/plugin",  # Blocked on content.
185       "//chrome/renderer",  # Blocked on content.
186       "//chrome/service",  # Blocked on content.
187       "//chrome/utility",  # Blocked on content.
188       "//content",
189       "//content/shell:content_shell",  # Blocked on content.
190       "//content/test:test_support",  # Blocked on content.
191       "//extensions/browser",
192       "//extensions/common",
193       "//extensions/common/api",
194       "//extensions/renderer",
195       "//pdf",  # Not compiled on Android in GYP yet, either.
196       "//ppapi:ppapi_c",
197       "//sandbox",
198       "//third_party/libusb",
199       "//ui/keyboard",  # Blocked on content.
201       # Blocked on neon stuff in vp8
202       "//third_party/WebKit/public:all_blink",
204       # Seems to not be compiled on Android. Otherwise it will need a config.h.
205       "//third_party/libxslt",
207       # Not relevant to Android.
208       "//ash",
209       "//tools/gn",
210       "//ui/aura",
211       "//ui/display",
212       "//ui/views",
213       "//ui/views/controls/webview",
215       # Fails on Android for unknown reasons.
216       "//third_party/flac",
217       "//breakpad:symupload",
219       # Not tested on Android yet:
220       "//google_apis/gcm",
221       "//remoting/client/plugin",
222       "//third_party/cld_2",
223       "//third_party/libaddressinput",
224       "//third_party/ffmpeg",
225       "//ui:ui_unittests",
226       "//ui/app_list",
227       "//ui/web_dialogs",
228       "//ui/wm",
229       "//webkit/browser:storage",
230       "//webkit/child",
231     ]
232   }
234   if (use_ozone) {
235     deps += [
236       "//ui/ozone",
237       "//ui/ozone/demo",
238     ]
239   }