Improves audio support for case when process lacks MODIFY_AUDIO_SETTINGS and/or RECOR...
[chromium-blink-merge.git] / BUILD.gn
blob841f12ddd6ec879931d7f8272dcc6314ec9ec05e
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 # In GN, a "group" is a dummy target that just lists other targets.
12 group("root") {
13   # Note that some dependencies are commented out. These are things that are
14   # currently written but not hooked up to the build yet. They may need to be
15   # completed or possibly just tested and then re-enabled.
16   deps = [
17     # This is a temporary test of the not-yet-complete NaCl cross-compilation.
18     #"//base(//build/toolchain/nacl:x86_newlib)",
20     "//apps/common/api:apps_api",
21     "//cc",
22     #"//chrome",
23     "//components/favicon_base",
24     "//components/language_usage_metrics",
25     "//components/metrics",
26     "//components/navigation_metrics",
27     "//components/onc",
28     "//components/os_crypt",
29     "//components/query_parser",
30     "//components/resources:components_resources",
31     "//components/startup_metric_utils",
32     "//components/tracing",
33     "//components/translate:translate_core_browser",
34     "//components/translate:translate_core_common",
35     "//components/url_matcher",
36     #"//content/public/browser",  # Exists but doesn't build yet.
37     "//content/public/child",
38     "//content/public/common",
39     "//content/public/renderer",
40     "//content/browser/service_worker:database_proto",
41     "//content/browser/speech/proto",
42     "//crypto",
43     "//extensions/common/api:extensions_api",
44     "//dbus",
45     "//device/usb",
46     "//gin",
47     "//gpu",
48     "//google_apis",
49     "//ipc",
50     "//mojo",
51     "//net",
52     "//pdf",
53     "//ppapi:ppapi_c",
54     "//printing",
55     "//sandbox",
56     "//sdch",
57     "//skia",
58     "//sql",
59     "//third_party/angle:translator",
60     "//third_party/brotli",
61     "//third_party/harfbuzz-ng",
62     "//third_party/iccjpeg",
63     "//third_party/icu",
64     "//third_party/leveldatabase",
65     "//third_party/libpng",
66     "//third_party/libusb",
67     "//third_party/libwebm",
68     "//third_party/libwebp",
69     "//third_party/libyuv",
70     "//third_party/mesa",
71     "//third_party/ots",
72     "//third_party/protobuf:protobuf_lite",
73     "//third_party/qcms",
74     "//third_party/re2",
75     "//third_party/smhasher:cityhash",
76     "//third_party/smhasher:murmurhash3",
77     "//third_party/smhasher:pmurhash",
78     # "//third_party/WebKit/Source/platform",
79     "//third_party/WebKit/Source/wtf",
80     "//third_party/zlib",
81     "//third_party:jpeg",
82     "//tools/gn",
83     "//ui/aura",
84     "//ui/accessibility",
85     "//ui/base",
86     "//ui/events",
87     "//ui/gfx",
88     "//ui/gl",
89     "//ui/native_theme",
90     "//ui/resources",
91     "//ui/snapshot",
92     "//ui/strings",
93     "//ui/surface",
94     "//url",
95     "//v8:v8",
96     "//webkit/browser:storage",
97     "//webkit/child",
98   ]
100   if (is_linux) {
101     deps += [
102       "//third_party/fontconfig",
103       "//third_party/freetype2",
104     ]
105   }
107   if (is_win) {
108     deps += [
109       "//ui/metro_viewer",
110     ]
111   }
113   if (is_win || is_mac || is_chromeos) {
114     # RLZ works on these platforms.
115     deps += [
116       "//rlz:rlz_lib",
117     ]
118   }
120   if (is_android) {
121     deps -= [
122       "//cc",
123       "//content/public/common",
124       "//content/public/renderer",
125       "//dbus",
126       "//extensions/common/api:extensions_api",
127       "//pdf",  # Not compiled on Android in GYP yet, either.
128       "//ppapi:ppapi_c",
129       "//sandbox",
130       "//third_party/libusb",
131       # "//third_party/WebKit/Source/platform",
132       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
133       "//tools/gn",
134       "//ui/aura",
136       # Not tested on Android yet:
137       "//webkit/browser:storage",
138       "//webkit/child",
139     ]
140   }