Make adb_install_apk.py saner for humans.
[chromium-blink-merge.git] / BUILD.gn
blobe0adcc1fe2003f3123ad36cd3895331e6c061996
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/aura",
82     "//ui/accessibility",
83     "//ui/base",
84     "//ui/events",
85     "//ui/gfx",
86     "//ui/gl",
87     "//ui/native_theme",
88     "//ui/resources",
89     "//ui/snapshot",
90     "//ui/strings",
91     "//ui/surface",
92     "//url",
93     "//v8:v8",
94     "//webkit/browser:storage",
95     "//webkit/child",
96   ]
98   if (is_linux) {
99     deps += [
100       "//third_party/fontconfig",
101       "//third_party/freetype2",
102     ]
103   }
105   if (is_win) {
106     deps += [
107       "//ui/metro_viewer",
108     ]
109   }
111   if (is_win || is_mac || is_chromeos) {
112     # RLZ works on these platforms.
113     deps += [
114       "//rlz:rlz_lib",
115     ]
116   }
118   if (is_android) {
119     deps -= [
120       "//cc",
121       "//content/public/common",
122       "//content/public/renderer",
123       "//dbus",
124       "//extensions/common/api:extensions_api",
125       "//pdf",  # Not compiled on Android in GYP yet, either.
126       "//ppapi:ppapi_c",
127       "//sandbox",
128       "//third_party/libusb",
129       # "//third_party/WebKit/Source/platform",
130       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
131       "//tools/gn",
132       "//ui/aura",
134       # Not tested on Android yet:
135       "//webkit/browser:storage",
136       "//webkit/child",
137     ]
138   }