This CL does small refactoring extension_toolbar_model.cc before removing NOTIFICATIO...
[chromium-blink-merge.git] / BUILD.gn
blob12d726427a0d1258511138c4e949e619b4b8ddd9
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/navigation_metrics",
24     "//components/onc",
25     "//components/os_crypt",
26     "//components/startup_metric_utils",
27     "//components/resources:components_resources",
28     #"//components/translate:translate_core_browser",
29     #"//components/translate:translate_core_common",
30     "//components/url_matcher",
31     "//crypto",
32     "//device/usb",
33     #"//extensions/common/api:extensions_api",
34     "//ipc",
35     "//net",
36     #"//sdch",
37     "//skia",
38     #"//third_party/WebKit/Source/platform",
39     "//third_party/icu",
40     "//third_party/leveldatabase",
41     "//third_party/libpng",
42     "//third_party/libusb",
43     "//third_party/libwebp",
44     "//third_party/re2",
45     "//third_party/smhasher:cityhash",
46     "//third_party/smhasher:murmurhash3",
47     "//third_party/smhasher:pmurhash",
48     "//third_party/WebKit/Source/wtf",
49     "//third_party/zlib",
50     "//tools/gn",
51     "//ui/base/strings",
52     "//ui/events",
53     "//ui/gfx",
54     "//ui/resources",
55     "//url",
56     "//v8:v8_base",
57   ]
59   if (is_linux) {
60     deps += [
61       "//third_party/freetype2",
62     ]
63   }
65   if (is_android) {
66     deps -= [
67       "//components/os_crypt",
68       "//crypto",
69       "//net",
70       "//skia",
71       "//third_party/libusb",
72       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
73       "//tools/gn",
74       "//ui/events",
75       "//ui/gfx",
76     ]
77   }