Disable ProcessUtilTest.GetAppOutputRestricted on Android
[chromium-blink-merge.git] / BUILD.gn
blobab33277908d397478ac767bf1a04eaf7a2073137
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     "//crypto",
34     "//device/usb",
35     #"//extensions/common/api:extensions_api",
36     "//gpu/command_buffer/client",
37     "//ipc",
38     "//mojo",
39     "//net",
40     #"//sdch",
41     "//skia",
42     "//third_party/brotli",
43     "//third_party/harfbuzz-ng",
44     "//third_party/iccjpeg",
45     "//third_party/icu",
46     "//third_party/leveldatabase",
47     "//third_party/libpng",
48     "//third_party/libusb",
49     "//third_party/libwebm",
50     "//third_party/libwebp",
51     "//third_party/ots",
52     "//third_party/qcms",
53     "//third_party/re2",
54     "//third_party/smhasher:cityhash",
55     "//third_party/smhasher:murmurhash3",
56     "//third_party/smhasher:pmurhash",
57     # TODO(brettw) re-enable once the unused variables in this .gn file are
58     # fixed and rolled into Chrome.
59     #"//third_party/WebKit/Source/platform",
60     "//third_party/WebKit/Source/wtf",
61     "//third_party/zlib",
62     "//third_party:jpeg",
63     "//tools/gn",
64     "//ui/accessibility",
65     "//ui/base:ui_base",
66     "//ui/events",
67     "//ui/gfx",
68     "//ui/resources",
69     "//ui/strings",
70     "//ui/surface",
71     "//url",
72     "//v8:mksnapshot",
73   ]
75   if (is_linux) {
76     deps += [
77       "//third_party/freetype2",
78     ]
79   }
81   if (is_android) {
82     deps -= [
83       "//components/os_crypt",
84       "//crypto",
85       "//gpu/command_buffer/client",  # Needs Skia.
86       "//net",
87       "//third_party/libusb",
88       #"//third_party/WebKit/Source/platform",
89       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
90       "//tools/gn",
92       # This UI stuff is blocked on Skia.
93       "//ui/accessibility",
94       "//ui/base:ui_base",
95       "//ui/events",
96       "//ui/gfx",
97       "//ui/surface",
98     ]
99   }