[DevTools] Touch emulation in content.
[chromium-blink-merge.git] / BUILD.gn
blob8e5f1716416127d42794b2ff564b26d2d1466f1c
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     #"//chrome",
21     "//components/language_usage_metrics",
22     "//components/navigation_metrics",
23     "//components/onc",
24     "//components/startup_metric_utils",
25     #"//components/translate:translate_core_browser",
26     #"//components/translate:translate_core_common",
27     #"//crypto",
28     "//device/usb",
29     "//ipc",
30     #"//net",
31     #"//net/third_party/nss:ssl",
32     #"//sdch",
33     "//skia",
34     #"//third_party/WebKit/Source/platform",
35     "//third_party/icu",
36     "//third_party/leveldatabase",
37     "//third_party/libpng",
38     "//third_party/libusb",
39     "//third_party/re2",
40     "//third_party/smhasher:cityhash",
41     "//third_party/smhasher:murmurhash3",
42     "//third_party/smhasher:pmurhash",
43     "//third_party/zlib",
44     "//tools/gn",
45     "//ui/events",
46     "//ui/gfx",
47     "//url",
48   ]
50   if (is_posix && !is_android) {  # TODO(brettw) should be use_openssl
51     deps += [
52       "//third_party/openssl",
53     ]
54   }
55   if (is_linux) {
56     deps += [
57       "//third_party/freetype2",
58     ]
59   }
61   if (is_android) {
62     deps -= [
63       "//skia",
64       "//third_party/libusb",
65       "//tools/gn",
66       "//ui/events",
67       "//ui/gfx",
68     ]
69   }