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