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