blob: abdbc45fb37c148dca54d3c80a12b0f581a77070 [file] [log] [blame]
[email protected]f0e7ff882013-12-26 21:23:091# 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.
4
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.
10
11# In GN, a "group" is a dummy target that just lists other targets.
12group("root") {
[email protected]dd316f62014-03-18 20:27:2613 # 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.
[email protected]f0e7ff882013-12-26 21:23:0916 deps = [
[email protected]dd316f62014-03-18 20:27:2617 # This is a temporary test of the not-yet-complete NaCl cross-compilation.
18 #"//base(//build/toolchain/nacl:x86_newlib)",
19
20 #"//chrome",
[email protected]4b6d32d2014-04-02 17:08:1521 "//components/language_usage_metrics",
22 "//components/navigation_metrics",
23 "//components/onc",
24 "//components/startup_metric_utils",
[email protected]dd316f62014-03-18 20:27:2625 #"//components/translate:translate_core_browser",
26 #"//components/translate:translate_core_common",
27 #"//crypto",
[email protected]52f5fe72014-04-03 22:41:4728 "//device/usb",
[email protected]517d5282014-04-02 17:03:3029 "//ipc",
[email protected]dd316f62014-03-18 20:27:2630 #"//net",
31 #"//net/third_party/nss:ssl",
32 #"//sdch",
[email protected]a9155082014-04-06 06:55:0833 #"//skia",
[email protected]dd316f62014-03-18 20:27:2634 #"//third_party/WebKit/Source/platform",
35 #"//third_party/icu:icudata",
36 #"//third_party/leveldatabase",
[email protected]7867196e52014-04-09 19:55:2937 "//skia",
[email protected]a9155082014-04-06 06:55:0838 "//third_party/libpng",
[email protected]1d6b6062014-04-08 17:42:1439 "//third_party/libusb",
[email protected]a9155082014-04-06 06:55:0840 "//third_party/re2",
[email protected]7b31c832014-04-09 02:08:4441 "//third_party/smhasher:cityhash",
42 "//third_party/smhasher:murmurhash3",
43 "//third_party/smhasher:pmurhash",
[email protected]a9155082014-04-06 06:55:0844 "//third_party/zlib",
[email protected]f0e7ff882013-12-26 21:23:0945 "//tools/gn",
[email protected]06d41872014-04-09 01:18:4446 "//ui/events",
[email protected]07a8725b2014-04-10 21:16:5947 "//ui/gfx",
[email protected]4b6d32d2014-04-02 17:08:1548 "//url",
[email protected]f0e7ff882013-12-26 21:23:0949 ]
[email protected]fce5c3fe2014-04-10 21:13:0550
[email protected]5a8d5162014-04-12 01:19:1651 if (is_posix && !is_android) { # TODO(brettw) should be use_openssl
[email protected]14cdf942014-04-11 20:23:3452 deps += [
53 "//third_party/openssl",
54 ]
55 }
[email protected]fce5c3fe2014-04-10 21:13:0556 if (is_linux) {
57 deps += [
58 "//third_party/freetype2",
59 ]
60 }
[email protected]5a8d5162014-04-12 01:19:1661
62 if (is_android) {
63 deps -= [
64 "//skia",
65 "//third_party/libusb",
66 "//tools/gn",
67 "//ui/events",
68 "//ui/gfx",
69 ]
70 }
[email protected]f0e7ff882013-12-26 21:23:0971}