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