Roll android_tools
[chromium-blink-merge.git] / BUILD.gn
blobdd23b764f49987bb0749c83dedb0afe4f8dd46f7
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     #"//chrome",
22     "//components/language_usage_metrics",
23     "//components/metrics",
24     "//components/navigation_metrics",
25     "//components/onc",
26     "//components/os_crypt",
27     "//components/startup_metric_utils",
28     "//components/resources:components_resources",
29     "//components/tracing",
30     "//components/translate:translate_core_browser",
31     "//components/translate:translate_core_common",
32     "//components/url_matcher",
33     "//content/public/common",
34     "//crypto",
35     "//device/usb",
36     #"//extensions/common/api:extensions_api",
37     "//gpu/command_buffer/client",
38     "//gpu/command_buffer/service",
39     "//ipc",
40     "//mojo",
41     "//net",
42     #"//sdch",
43     "//skia",
44     "//third_party/brotli",
45     "//third_party/harfbuzz-ng",
46     "//third_party/iccjpeg",
47     "//third_party/icu",
48     "//third_party/leveldatabase",
49     "//third_party/libpng",
50     "//third_party/libusb",
51     "//third_party/libwebm",
52     "//third_party/libwebp",
53     "//third_party/ots",
54       "//third_party/protobuf:protobuf_lite",
55     "//third_party/qcms",
56     "//third_party/re2",
57     "//third_party/smhasher:cityhash",
58     "//third_party/smhasher:murmurhash3",
59     "//third_party/smhasher:pmurhash",
60     # TODO(brettw) re-enable once the unused variables in this .gn file are
61     # fixed and rolled into Chrome.
62     #"//third_party/WebKit/Source/platform",
63     "//third_party/WebKit/Source/wtf",
64     "//third_party/zlib",
65     "//third_party:jpeg",
66     "//tools/gn",
67     "//ui/accessibility",
68     "//ui/base:ui_base",
69     "//ui/events",
70     "//ui/gfx",
71     "//ui/resources",
72     "//ui/strings",
73     "//ui/surface",
74     "//url",
75     "//v8:mksnapshot",
76   ]
78   if (is_linux) {
79     deps += [
80       "//third_party/freetype2",
81     ]
82   }
84   if (is_android) {
85     deps -= [
86       "//components/os_crypt",
87       "//content/public/common",
88       "//crypto",
89       "//gpu/command_buffer/client",  # Needs Skia.
90       "//gpu/command_buffer/service",
91       "//net",
92       "//third_party/libusb",
93       # Should work, but staging this landing for Android separately.
94       "//third_party/protobuf:protobuf_lite",
95       #"//third_party/WebKit/Source/platform",
96       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
97       "//tools/gn",
99       # This UI stuff is blocked on Skia.
100       "//ui/accessibility",
101       "//ui/base:ui_base",
102       "//ui/events",
103       "//ui/gfx",
104       "//ui/surface",
105     ]
106   }