Changes layer reparenting to happen after a window parent is changed in aura::Window...
[chromium-blink-merge.git] / BUILD.gn
blob2d50e7e6bd5278946bd185594300d24a61beefa8
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/translate:translate_core_browser",
27     #"//components/translate:translate_core_common",
28     "//components/url_matcher",
29     "//crypto",
30     "//device/usb",
31     "//ipc",
32     "//net",
33     #"//sdch",
34     "//skia",
35     #"//third_party/WebKit/Source/platform",
36     "//third_party/icu",
37     "//third_party/leveldatabase",
38     "//third_party/libpng",
39     "//third_party/libusb",
40     "//third_party/libwebp",
41     "//third_party/re2",
42     "//third_party/smhasher:cityhash",
43     "//third_party/smhasher:murmurhash3",
44     "//third_party/smhasher:pmurhash",
45     "//third_party/zlib",
46     "//tools/gn",
47     "//ui/events",
48     "//ui/gfx",
49     "//ui/resources",
50     "//url",
51     "//v8:v8_base",
52   ]
54   if (is_linux) {
55     deps += [
56       "//third_party/freetype2",
57     ]
58   }
60   if (is_android) {
61     deps -= [
62       "//components/os_crypt",
63       "//crypto",
64       "//net",
65       "//skia",
66       "//third_party/libusb",
67       "//tools/gn",
68       "//ui/events",
69       "//ui/gfx",
70     ]
71   }