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