Add an extension override bubble and warning box for proxy extensions. (2nd attempt...
[chromium-blink-merge.git] / BUILD.gn
blob3ecf735fecda31ba64e9c7d47d91ecc886ce425a
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     "//crypto",
41     "//extensions/common/api:extensions_api",
42     "//dbus",
43     "//device/usb",
44     "//gin",
45     "//gpu",
46     "//google_apis",
47     "//ipc",
48     "//mojo",
49     "//net",
50     "//pdf",
51     "//ppapi:ppapi_c",
52     "//printing",
53     "//sandbox",
54     "//sdch",
55     "//skia",
56     "//sql",
57     "//third_party/angle:translator",
58     "//third_party/brotli",
59     "//third_party/harfbuzz-ng",
60     "//third_party/iccjpeg",
61     "//third_party/icu",
62     "//third_party/leveldatabase",
63     "//third_party/libpng",
64     "//third_party/libusb",
65     "//third_party/libwebm",
66     "//third_party/libwebp",
67     "//third_party/libyuv",
68     "//third_party/mesa",
69     "//third_party/ots",
70     "//third_party/protobuf:protobuf_lite",
71     "//third_party/qcms",
72     "//third_party/re2",
73     "//third_party/smhasher:cityhash",
74     "//third_party/smhasher:murmurhash3",
75     "//third_party/smhasher:pmurhash",
76     # "//third_party/WebKit/Source/platform",
77     "//third_party/WebKit/Source/wtf",
78     "//third_party/zlib",
79     "//third_party:jpeg",
80     "//tools/gn",
81     "//ui/accessibility",
82     "//ui/base",
83     "//ui/events",
84     "//ui/gfx",
85     "//ui/gl",
86     "//ui/native_theme",
87     "//ui/resources",
88     "//ui/snapshot",
89     "//ui/strings",
90     "//ui/surface",
91     "//url",
92     "//v8:v8",
93     "//webkit/browser:storage",
94     "//webkit/child",
95   ]
97   if (is_linux) {
98     deps += [
99       "//third_party/fontconfig",
100       "//third_party/freetype2",
101     ]
102   }
104   if (is_win) {
105     deps += [
106       "//ui/metro_viewer",
107     ]
108   }
110   if (is_win || is_mac || is_chromeos) {
111     # RLZ works on these platforms.
112     deps += [
113       "//rlz:rlz_lib",
114     ]
115   }
117   if (is_android) {
118     deps -= [
119       "//cc",
120       "//content/public/common",
121       "//content/public/renderer",
122       "//dbus",
123       "//extensions/common/api:extensions_api",
124       "//pdf",  # Not compiled on Android in GYP yet, either.
125       "//ppapi:ppapi_c",
126       "//third_party/libusb",
127       # "//third_party/WebKit/Source/platform",
128       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
129       "//sandbox",
130       "//tools/gn",
132       # Not tested on Android yet:
133       "//webkit/browser:storage",
134       "//webkit/child",
135     ]
136   }