Pepper: Move attributes out of the trusted plugin.
[chromium-blink-merge.git] / BUILD.gn
blob7f26b2b106fd524555b8c27d22396f8d394bf4bc
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/os_crypt",
25     "//components/startup_metric_utils",
26     "//components/resources:components_resources",
27     #"//components/translate:translate_core_browser",
28     #"//components/translate:translate_core_common",
29     "//components/url_matcher",
30     "//crypto",
31     "//device/usb",
32     "//ipc",
33     "//net",
34     #"//sdch",
35     "//skia",
36     #"//third_party/WebKit/Source/platform",
37     "//third_party/icu",
38     "//third_party/leveldatabase",
39     "//third_party/libpng",
40     "//third_party/libusb",
41     "//third_party/libwebp",
42     "//third_party/re2",
43     "//third_party/smhasher:cityhash",
44     "//third_party/smhasher:murmurhash3",
45     "//third_party/smhasher:pmurhash",
46     "//third_party/WebKit/Source/wtf",
47     "//third_party/zlib",
48     "//tools/gn",
49     "//ui/events",
50     "//ui/gfx",
51     "//ui/resources",
52     "//url",
53     "//v8:v8_base",
54   ]
56   if (is_linux) {
57     deps += [
58       "//third_party/freetype2",
59     ]
60   }
62   if (is_android) {
63     deps -= [
64       "//components/os_crypt",
65       "//crypto",
66       "//net",
67       "//skia",
68       "//third_party/libusb",
69       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
70       "//tools/gn",
71       "//ui/events",
72       "//ui/gfx",
73     ]
74   }