LevelDBPrefStore: Initialize uninitialized member in constructor.
[chromium-blink-merge.git] / BUILD.gn
blobfebc47a31567dd6c704213142469e3d05509156a
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     "//apps/common/api:apps_api",
23     "//cc",
24     #"//chrome",
25     "//components/favicon_base",
26     "//components/language_usage_metrics",
27     "//components/metrics",
28     "//components/navigation_metrics",
29     "//components/onc",
30     "//components/os_crypt",
31     "//components/query_parser",
32     "//components/resources:components_resources",
33     "//components/startup_metric_utils",
34     "//components/tracing",
35     "//components/translate:translate_core_browser",
36     "//components/translate:translate_core_common",
37     "//components/url_matcher",
38     #"//content/public/browser",  # Exists but doesn't build yet.
39     "//content/public/child",
40     "//content/public/common",
41     "//content/public/renderer",
42     "//content/browser/service_worker:database_proto",
43     "//content/browser/speech/proto",
44     "//crypto",
45     "//extensions/common/api:extensions_api",
46     "//dbus",
47     "//device/usb",
48     "//gin",
49     "//gpu",
50     "//google_apis",
51     "//ipc",
52     "//mojo",
53     "//net",
54     "//pdf",
55     "//ppapi:ppapi_c",
56     "//printing",
57     "//sandbox",
58     "//sdch",
59     "//skia",
60     "//sql",
61     "//third_party/angle:translator",
62     "//third_party/brotli",
63     "//third_party/harfbuzz-ng",
64     "//third_party/iccjpeg",
65     "//third_party/icu",
66     "//third_party/leveldatabase",
67     "//third_party/libpng",
68     "//third_party/libusb",
69     "//third_party/libwebm",
70     "//third_party/libwebp",
71     "//third_party/libyuv",
72     "//third_party/mesa",
73     "//third_party/ots",
74     "//third_party/protobuf:protobuf_lite",
75     "//third_party/qcms",
76     "//third_party/re2",
77     "//third_party/smhasher:cityhash",
78     "//third_party/smhasher:murmurhash3",
79     "//third_party/smhasher:pmurhash",
80     "//third_party/WebKit/public:blink_headers",
81     "//third_party/WebKit/Source/wtf",
82     "//third_party/zlib",
83     "//third_party:jpeg",
84     "//tools/gn",
85     "//ui/aura",
86     "//ui/accessibility",
87     "//ui/base",
88     "//ui/events",
89     "//ui/gfx",
90     "//ui/gl",
91     "//ui/native_theme",
92     "//ui/resources",
93     "//ui/snapshot",
94     "//ui/strings",
95     "//ui/surface",
96     "//url",
97     "//v8:v8",
98     "//webkit/browser:storage",
99     "//webkit/child",
100   ]
102   if (is_linux) {
103     deps += [
104       "//third_party/fontconfig",
105       "//third_party/freetype2",
106     ]
107   }
109   if (is_win) {
110     deps += [
111       "//ui/metro_viewer",
112     ]
113   }
115   if (is_win || is_mac || is_chromeos) {
116     # RLZ works on these platforms.
117     deps += [
118       "//rlz:rlz_lib",
119     ]
120   }
122   if (is_android) {
123     deps -= [
124       "//cc",
125       "//content/public/common",
126       "//content/public/renderer",
127       "//dbus",
128       "//extensions/common/api:extensions_api",
129       "//pdf",  # Not compiled on Android in GYP yet, either.
130       "//ppapi:ppapi_c",
131       "//sandbox",
132       "//third_party/libusb",
133       "//tools/gn",
134       "//ui/aura",
136       # TODO(brettw) make Blink work on Android.
137       "//third_party/WebKit/public:blink_headers",
138       "//third_party/WebKit/Source/wtf",
140       # Not tested on Android yet:
141       "//webkit/browser:storage",
142       "//webkit/child",
143     ]
144   }
146   if (use_ozone) {
147     deps += [
148       "//ui/events/ozone:events_ozone",
149       "//ui/events/ozone:events_ozone_evdev",
150     ]
151   }