[Android WebView] Enable AwSettingsTest#testBlockNetworkImagesDoesNotBlockDataUrlImage
[chromium-blink-merge.git] / BUILD.gn
blob2224f680e3393c5e18b91140b8d7940843c04c2f
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     # This is a temporary test of the not-yet-complete NaCl cross-compilation.
20     #"//base(//build/toolchain/nacl:x86_newlib)",
22     "//cc",
23     "//chrome/browser/devtools",
24     "//chrome/browser/ui/views",
25     "//chrome/common",
26     "//chrome/plugin",
27     "//chrome/renderer",
28     "//chrome/utility",
29     "//components:all_components",
30     "//content",
31     "//crypto",
32     "//extensions/common/api:extensions_api",
33     "//device/usb",
34     "//gin",
35     "//gpu",
36     "//google_apis",
37     "//ipc",
38     "//mojo",
39     "//mojo/common",
40     "//mojo/environment:chromium",
41     "//mojo/service_manager",
42     "//mojo/system",
43     "//net",
44     "//pdf",
45     "//ppapi:ppapi_c",
46     "//printing",
47     "//sandbox",
48     "//sdch",
49     "//skia",
50     "//sql",
51     "//third_party/WebKit/public:all_blink",
52     "//third_party/angle:translator",
53     "//third_party/brotli",
54     "//third_party/cacheinvalidation",
55     "//third_party/ffmpeg",
56     "//third_party/flac",
57     "//third_party/harfbuzz-ng",
58     "//third_party/hunspell",
59     "//third_party/iccjpeg",
60     "//third_party/icu",
61     "//third_party/leveldatabase",
62     "//third_party/libaddressinput",
63     "//third_party/libpng",
64     "//third_party/libsrtp",
65     "//third_party/libusb",
66     "//third_party/libwebm",
67     "//third_party/libwebp",
68     "//third_party/libxslt",
69     "//third_party/libyuv",
70     "//third_party/lzma_sdk",
71     "//third_party/mesa",
72     "//third_party/opus",
73     "//third_party/ots",
74     "//third_party/protobuf:protobuf_lite",
75     "//third_party/qcms",
76     "//third_party/re2",
77     "//third_party/smhasher:cityhash",
78     "//third_party/smhasher:murmurhash3",
79     "//third_party/smhasher:pmurhash",
80     "//third_party/snappy",
81     "//third_party/speex",
82     "//third_party/widevine/cdm:version_h",
83     "//third_party/zlib",
84     "//third_party:jpeg",
85     "//tools/gn",
86     "//ui/aura",
87     "//ui/accessibility",
88     "//ui/base",
89     "//ui/events",
90     "//ui/gfx",
91     "//ui/gl",
92     "//ui/native_theme",
93     "//ui/resources",
94     "//ui/snapshot",
95     "//ui/strings",
96     "//ui/surface",
97     "//url",
98     "//v8:v8",
99     "//webkit/browser:storage",
100     "//webkit/child",
101   ]
103   if (!is_win) {
104     deps += [ "//breakpad:symupload" ]
105   }
107   if (is_linux) {
108     deps += [
109       "//dbus",
110       "//third_party/fontconfig",
111       "//third_party/freetype2",
112     ]
113   }
115   if (is_win) {
116     deps += [
117       "//ui/metro_viewer",
118     ]
119   }
121   if (is_win || is_mac || is_chromeos) {
122     # RLZ works on these platforms.
123     deps += [
124       "//rlz:rlz_lib",
125     ]
126   }
128   if (cpu_arch == "x86" || cpu_arch == "x64") {
129     # YASM is x86/x64 only.
130     deps += [ "//third_party/yasm($host_toolchain)" ]
131   }
133   if (is_android) {
134     deps -= [
135       "//cc",
136       "//chrome/browser/devtools",  # Blocked on content.
137       "//chrome/browser/ui/views",  # Blocked on content.
138       "//chrome/common",  # Blocked on content.
139       "//chrome/plugin",  # Blocked on content.
140       "//chrome/renderer",  # Blocked on content.
141       "//chrome/utility",  # Blocked on content.
142       "//content",
143       "//extensions/common/api:extensions_api",
144       "//pdf",  # Not compiled on Android in GYP yet, either.
145       "//ppapi:ppapi_c",
146       "//sandbox",
147       "//third_party/libusb",
149       # Seems to not be compiled on Android. Otherwise it will need a config.h.
150       "//third_party/libxslt",
152       "//tools/gn",
153       "//ui/aura",
155       # Fails on Android for unknown reasons.
156       "//third_party/flac",
157       "//breakpad:symupload",
159       # TODO(brettw) make Blink work on Android.
160       "//third_party/WebKit/public:all_blink",
162       # Not tested on Android yet:
163       "//third_party/libaddressinput",
164       "//third_party/ffmpeg",
165       "//webkit/browser:storage",
166       "//webkit/child",
167     ]
168   }
170   if (use_ozone) {
171     deps += [
172       "//ui/events/ozone:events_ozone",
173       "//ui/events/ozone:events_ozone_evdev",
174     ]
175   }