blob: d7683924b304575b1641f63e436b2ce3ca68edea [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
[email protected]30c409f2014-04-26 09:56:0920 "//apps/common/api:apps_api",
[email protected]d05751a22014-05-29 20:54:2421 "//cc",
[email protected]dd316f62014-03-18 20:27:2622 #"//chrome",
[email protected]a306aaa2014-05-24 13:21:5023 "//components/favicon_base",
[email protected]4b6d32d2014-04-02 17:08:1524 "//components/language_usage_metrics",
[email protected]9825cba2014-04-28 22:29:4025 "//components/metrics",
[email protected]4b6d32d2014-04-02 17:08:1526 "//components/navigation_metrics",
27 "//components/onc",
[email protected]656b6b22014-04-18 00:34:5828 "//components/os_crypt",
[email protected]a306aaa2014-05-24 13:21:5029 "//components/query_parser",
[email protected]63b99ff2014-04-24 00:37:3030 "//components/resources:components_resources",
[email protected]a306aaa2014-05-24 13:21:5031 "//components/startup_metric_utils",
[email protected]df3ecfde2014-05-20 21:52:3432 "//components/tracing",
[email protected]caf75c682014-04-28 13:32:4233 "//components/translate:translate_core_browser",
34 "//components/translate:translate_core_common",
[email protected]303a7ec2014-04-22 15:45:5235 "//components/url_matcher",
[email protected]d28b3cb82014-05-31 04:46:1836 #"//content/public/browser", # Exists but doesn't build yet.
[email protected]89670af72014-06-02 17:58:3337 "//content/public/child",
[email protected]7e4c33142014-05-21 22:01:3238 "//content/public/common",
[email protected]189add52014-05-28 16:51:4439 "//content/public/renderer",
[email protected]7a7e0852014-04-14 23:25:1340 "//crypto",
[email protected]52f5fe72014-04-03 22:41:4741 "//device/usb",
[email protected]30c409f2014-04-26 09:56:0942 #"//extensions/common/api:extensions_api",
[email protected]8f2cee02014-05-22 23:19:2543 "//gin",
[email protected]d05751a22014-05-29 20:54:2444 "//gpu",
[email protected]b2b2bf52014-05-28 20:26:5745 "//google_apis",
[email protected]517d5282014-04-02 17:03:3046 "//ipc",
[email protected]9a1526b2014-04-30 05:27:0647 "//mojo",
[email protected]4625ade2014-04-15 19:26:4448 "//net",
[email protected]240e3032014-05-27 20:15:2049 "//ppapi:ppapi_c",
[email protected]c0083e92014-06-02 05:30:5850 #"//sandbox",
[email protected]c7e9f4942014-06-02 17:40:3051 "//sdch",
[email protected]1b87123d2014-04-12 10:37:1952 "//skia",
[email protected]b2b2bf52014-05-28 20:26:5753 "//sql",
[email protected]3a98c812014-05-30 00:52:3654 "//third_party/angle:translator",
[email protected]cceca60d2014-05-13 02:23:3455 "//third_party/brotli",
[email protected]c67679f2014-05-21 16:53:1956 "//third_party/harfbuzz-ng",
[email protected]cceca60d2014-05-13 02:23:3457 "//third_party/iccjpeg",
[email protected]cb3421f2014-04-14 00:42:4858 "//third_party/icu",
[email protected]1b87123d2014-04-12 10:37:1959 "//third_party/leveldatabase",
[email protected]a9155082014-04-06 06:55:0860 "//third_party/libpng",
[email protected]1d6b6062014-04-08 17:42:1461 "//third_party/libusb",
[email protected]f087aad2014-05-16 18:16:1362 "//third_party/libwebm",
[email protected]4b08b342014-04-16 03:01:0363 "//third_party/libwebp",
[email protected]cceca60d2014-05-13 02:23:3464 "//third_party/ots",
[email protected]ff6d0962014-05-22 23:21:2365 "//third_party/protobuf:protobuf_lite",
[email protected]cceca60d2014-05-13 02:23:3466 "//third_party/qcms",
[email protected]a9155082014-04-06 06:55:0867 "//third_party/re2",
[email protected]7b31c832014-04-09 02:08:4468 "//third_party/smhasher:cityhash",
69 "//third_party/smhasher:murmurhash3",
70 "//third_party/smhasher:pmurhash",
[email protected]eb44eab2014-05-20 19:24:4971 # TODO(brettw) re-enable once the unused variables in this .gn file are
72 # fixed and rolled into Chrome.
73 #"//third_party/WebKit/Source/platform",
[email protected]10498272014-04-24 16:44:0474 "//third_party/WebKit/Source/wtf",
[email protected]a9155082014-04-06 06:55:0875 "//third_party/zlib",
[email protected]71eb1122014-05-06 04:25:2676 "//third_party:jpeg",
[email protected]f0e7ff882013-12-26 21:23:0977 "//tools/gn",
[email protected]df3ecfde2014-05-20 21:52:3478 "//ui/accessibility",
[email protected]52140d882014-05-30 19:22:4079 "//ui/base",
[email protected]06d41872014-04-09 01:18:4480 "//ui/events",
[email protected]07a8725b2014-04-10 21:16:5981 "//ui/gfx",
[email protected]1ea01752014-05-23 19:01:4682 "//ui/gl",
[email protected]a306aaa2014-05-24 13:21:5083 "//ui/native_theme",
[email protected]4c047c02014-04-21 22:41:1984 "//ui/resources",
[email protected]52140d882014-05-30 19:22:4085 "//ui/snapshot",
[email protected]e3d74862014-05-18 14:12:2786 "//ui/strings",
[email protected]0311d4c2014-05-17 04:55:1687 "//ui/surface",
[email protected]4b6d32d2014-04-02 17:08:1588 "//url",
[email protected]fa5e2bb2014-06-02 14:29:0989 "//v8:v8",
[email protected]44a5a362014-05-30 20:01:5190 "//webkit/browser:storage",
91 "//webkit/child",
[email protected]f0e7ff882013-12-26 21:23:0992 ]
[email protected]fce5c3fe2014-04-10 21:13:0593
94 if (is_linux) {
95 deps += [
[email protected]8acc5f52014-05-31 22:16:3096 "//third_party/fontconfig",
[email protected]fce5c3fe2014-04-10 21:13:0597 "//third_party/freetype2",
98 ]
99 }
[email protected]5a8d5162014-04-12 01:19:16100
[email protected]a306aaa2014-05-24 13:21:50101 if (is_win) {
102 deps += [
103 "//ui/metro_viewer",
104 ]
105 }
106
[email protected]5a8d5162014-04-12 01:19:16107 if (is_android) {
108 deps -= [
[email protected]d05751a22014-05-29 20:54:24109 "//cc",
[email protected]7e4c33142014-05-21 22:01:32110 "//content/public/common",
[email protected]189add52014-05-28 16:51:44111 "//content/public/renderer",
[email protected]240e3032014-05-27 20:15:20112 "//ppapi:ppapi_c",
[email protected]5a8d5162014-04-12 01:19:16113 "//third_party/libusb",
[email protected]eb44eab2014-05-20 19:24:49114 #"//third_party/WebKit/Source/platform",
[email protected]34eca5692014-04-24 17:06:04115 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android.
[email protected]5a8d5162014-04-12 01:19:16116 "//tools/gn",
[email protected]df3ecfde2014-05-20 21:52:34117
[email protected]44a5a362014-05-30 20:01:51118 # Not tested on Android yet:
119 "//webkit/browser:storage",
120 "//webkit/child",
121
[email protected]1ea01752014-05-23 19:01:46122 # This stuff all depends on ui/surface which requires some .class jni
123 # generators (ui/gl/gl.gyp:surface_jni_headers).
124 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24125 "//gpu",
[email protected]52140d882014-05-30 19:22:40126 "//ui/snapshot",
[email protected]df3ecfde2014-05-20 21:52:34127 "//ui/surface",
[email protected]5a8d5162014-04-12 01:19:16128 ]
129 }
[email protected]f0e7ff882013-12-26 21:23:09130}