Exclude PepperGamepadHostTest.WaitForReply from memory bots until it can be fixed.
[chromium-blink-merge.git] / BUILD.gn
blob94e851d3f6b83cab9386c9e283249d5844224eb1
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/libphonenumber",
64     "//third_party/libpng",
65     "//third_party/libsrtp",
66     "//third_party/libusb",
67     "//third_party/libwebm",
68     "//third_party/libwebp",
69     "//third_party/libxslt",
70     "//third_party/libyuv",
71     "//third_party/lzma_sdk",
72     "//third_party/mesa",
73     "//third_party/opus",
74     "//third_party/ots",
75     "//third_party/protobuf:protobuf_lite",
76     "//third_party/qcms",
77     "//third_party/re2",
78     "//third_party/smhasher:cityhash",
79     "//third_party/smhasher:murmurhash3",
80     "//third_party/smhasher:pmurhash",
81     "//third_party/snappy",
82     "//third_party/speex",
83     "//third_party/widevine/cdm:version_h",
84     "//third_party/zlib",
85     "//third_party:jpeg",
86     "//tools/gn",
87     "//ui/aura",
88     "//ui/accessibility",
89     "//ui/base",
90     "//ui/events",
91     "//ui/gfx",
92     "//ui/gl",
93     "//ui/keyboard",
94     "//ui/native_theme",
95     "//ui/resources",
96     "//ui/snapshot",
97     "//ui/strings",
98     "//ui/surface",
99     "//ui/web_dialogs",
100     "//ui/wm",
101     "//url",
102     "//v8:v8",
103     "//webkit/browser:storage",
104     "//webkit/child",
105   ]
107   if (!is_win) {
108     deps += [ "//breakpad:symupload" ]
109   }
111   if (is_linux) {
112     deps += [
113       "//dbus",
114       "//third_party/fontconfig",
115       "//third_party/freetype2",
116     ]
117   }
119   if (is_win) {
120     deps += [
121       "//ui/metro_viewer",
122     ]
123   }
125   if (is_win || is_mac || is_chromeos) {
126     # RLZ works on these platforms.
127     deps += [
128       "//rlz:rlz_lib",
129     ]
130   }
132   if (cpu_arch == "x86" || cpu_arch == "x64") {
133     # YASM is x86/x64 only.
134     deps += [ "//third_party/yasm($host_toolchain)" ]
135   }
137   if (is_android) {
138     deps -= [
139       "//cc",
140       "//chrome/browser/devtools",  # Blocked on content.
141       "//chrome/browser/ui/views",  # Blocked on content.
142       "//chrome/common",  # Blocked on content.
143       "//chrome/plugin",  # Blocked on content.
144       "//chrome/renderer",  # Blocked on content.
145       "//chrome/utility",  # Blocked on content.
146       "//content",
147       "//extensions/common/api:extensions_api",
148       "//pdf",  # Not compiled on Android in GYP yet, either.
149       "//ppapi:ppapi_c",
150       "//sandbox",
151       "//third_party/libusb",
152       "//ui/keyboard",  # Blocked on content.
154       # Seems to not be compiled on Android. Otherwise it will need a config.h.
155       "//third_party/libxslt",
157       "//tools/gn",
158       "//ui/aura",
160       # Fails on Android for unknown reasons.
161       "//third_party/flac",
162       "//breakpad:symupload",
164       # TODO(brettw) make Blink work on Android.
165       "//third_party/WebKit/public:all_blink",
167       # Not tested on Android yet:
168       "//third_party/libaddressinput",
169       "//third_party/ffmpeg",
170       "//ui/web_dialogs",
171       "//ui/wm",
172       "//webkit/browser:storage",
173       "//webkit/child",
174     ]
175   }
177   if (use_ozone) {
178     deps += [
179       "//ui/events/ozone:events_ozone",
180       "//ui/events/ozone:events_ozone_evdev",
181     ]
182   }