Fix the ScreenToDIPPoint function on Windows high DPI.
[chromium-blink-merge.git] / BUILD.gn
blob2e3799ee8fce7918b8fe00f650fb07b0d1cd2dba
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     "//crypto",
29     "//device/usb",
30     "//ipc",
31     "//net",
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/libwebp",
40     "//third_party/re2",
41     "//third_party/smhasher:cityhash",
42     "//third_party/smhasher:murmurhash3",
43     "//third_party/smhasher:pmurhash",
44     "//third_party/zlib",
45     "//tools/gn",
46     "//ui/events",
47     "//ui/gfx",
48     "//url",
49   ]
51   if (is_linux) {
52     deps += [
53       "//third_party/freetype2",
54     ]
55   }
57   if (is_android) {
58     deps -= [
59       "//crypto",
60       "//net",
61       "//skia",
62       "//third_party/libusb",
63       "//tools/gn",
64       "//ui/events",
65       "//ui/gfx",
66     ]
67   }