blob: 868ada79b71fc1952081f1aa5fd5a619b422b398 [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
[email protected]378b4f02014-06-10 15:58:4511import("//build/config/ui.gni")
12
[email protected]f0e7ff882013-12-26 21:23:0913# In GN, a "group" is a dummy target that just lists other targets.
14group("root") {
[email protected]dd316f62014-03-18 20:27:2615 # Note that some dependencies are commented out. These are things that are
16 # currently written but not hooked up to the build yet. They may need to be
17 # completed or possibly just tested and then re-enabled.
[email protected]f0e7ff882013-12-26 21:23:0918 deps = [
[email protected]dd316f62014-03-18 20:27:2619 # This is a temporary test of the not-yet-complete NaCl cross-compilation.
20 #"//base(//build/toolchain/nacl:x86_newlib)",
21
[email protected]30c409f2014-04-26 09:56:0922 "//apps/common/api:apps_api",
[email protected]d05751a22014-05-29 20:54:2423 "//cc",
[email protected]dd316f62014-03-18 20:27:2624 #"//chrome",
[email protected]a306aaa2014-05-24 13:21:5025 "//components/favicon_base",
[email protected]4b6d32d2014-04-02 17:08:1526 "//components/language_usage_metrics",
[email protected]9825cba2014-04-28 22:29:4027 "//components/metrics",
[email protected]4b6d32d2014-04-02 17:08:1528 "//components/navigation_metrics",
29 "//components/onc",
[email protected]656b6b22014-04-18 00:34:5830 "//components/os_crypt",
[email protected]a306aaa2014-05-24 13:21:5031 "//components/query_parser",
[email protected]63b99ff2014-04-24 00:37:3032 "//components/resources:components_resources",
[email protected]a306aaa2014-05-24 13:21:5033 "//components/startup_metric_utils",
[email protected]df3ecfde2014-05-20 21:52:3434 "//components/tracing",
[email protected]caf75c682014-04-28 13:32:4235 "//components/translate:translate_core_browser",
36 "//components/translate:translate_core_common",
[email protected]303a7ec2014-04-22 15:45:5237 "//components/url_matcher",
[email protected]d28b3cb82014-05-31 04:46:1838 #"//content/public/browser", # Exists but doesn't build yet.
[email protected]89670af72014-06-02 17:58:3339 "//content/public/child",
[email protected]7e4c33142014-05-21 22:01:3240 "//content/public/common",
[email protected]189add52014-05-28 16:51:4441 "//content/public/renderer",
[email protected]b506cdf2014-06-09 17:13:2142 "//content/browser/service_worker:database_proto",
43 "//content/browser/speech/proto",
[email protected]7a7e0852014-04-14 23:25:1344 "//crypto",
[email protected]543f171c2014-06-04 22:00:4145 "//extensions/common/api:extensions_api",
[email protected]6fd0d9b2014-06-03 12:48:5546 "//dbus",
[email protected]52f5fe72014-04-03 22:41:4747 "//device/usb",
[email protected]8f2cee02014-05-22 23:19:2548 "//gin",
[email protected]d05751a22014-05-29 20:54:2449 "//gpu",
[email protected]b2b2bf52014-05-28 20:26:5750 "//google_apis",
[email protected]517d5282014-04-02 17:03:3051 "//ipc",
[email protected]9a1526b2014-04-30 05:27:0652 "//mojo",
[email protected]4625ade2014-04-15 19:26:4453 "//net",
[email protected]71319202014-06-05 23:19:2854 "//pdf",
[email protected]240e3032014-05-27 20:15:2055 "//ppapi:ppapi_c",
[email protected]fc2020f2014-06-04 18:09:3956 "//printing",
[email protected]543f171c2014-06-04 22:00:4157 "//sandbox",
[email protected]c7e9f4942014-06-02 17:40:3058 "//sdch",
[email protected]1b87123d2014-04-12 10:37:1959 "//skia",
[email protected]b2b2bf52014-05-28 20:26:5760 "//sql",
[email protected]3a98c812014-05-30 00:52:3661 "//third_party/angle:translator",
[email protected]cceca60d2014-05-13 02:23:3462 "//third_party/brotli",
[email protected]c67679f2014-05-21 16:53:1963 "//third_party/harfbuzz-ng",
[email protected]cceca60d2014-05-13 02:23:3464 "//third_party/iccjpeg",
[email protected]cb3421f2014-04-14 00:42:4865 "//third_party/icu",
[email protected]1b87123d2014-04-12 10:37:1966 "//third_party/leveldatabase",
[email protected]a9155082014-04-06 06:55:0867 "//third_party/libpng",
[email protected]1d6b6062014-04-08 17:42:1468 "//third_party/libusb",
[email protected]f087aad2014-05-16 18:16:1369 "//third_party/libwebm",
[email protected]4b08b342014-04-16 03:01:0370 "//third_party/libwebp",
[email protected]543f171c2014-06-04 22:00:4171 "//third_party/libyuv",
[email protected]f1782d92014-06-03 23:14:2072 "//third_party/mesa",
[email protected]cceca60d2014-05-13 02:23:3473 "//third_party/ots",
[email protected]ff6d0962014-05-22 23:21:2374 "//third_party/protobuf:protobuf_lite",
[email protected]cceca60d2014-05-13 02:23:3475 "//third_party/qcms",
[email protected]a9155082014-04-06 06:55:0876 "//third_party/re2",
[email protected]7b31c832014-04-09 02:08:4477 "//third_party/smhasher:cityhash",
78 "//third_party/smhasher:murmurhash3",
79 "//third_party/smhasher:pmurhash",
[email protected]effcf412014-06-10 20:19:2780 "//third_party/WebKit/public:blink_headers",
[email protected]10498272014-04-24 16:44:0481 "//third_party/WebKit/Source/wtf",
[email protected]a9155082014-04-06 06:55:0882 "//third_party/zlib",
[email protected]71eb1122014-05-06 04:25:2683 "//third_party:jpeg",
[email protected]f0e7ff882013-12-26 21:23:0984 "//tools/gn",
[email protected]bd56a5b2014-06-07 04:09:2985 "//ui/aura",
[email protected]df3ecfde2014-05-20 21:52:3486 "//ui/accessibility",
[email protected]52140d882014-05-30 19:22:4087 "//ui/base",
[email protected]06d41872014-04-09 01:18:4488 "//ui/events",
[email protected]07a8725b2014-04-10 21:16:5989 "//ui/gfx",
[email protected]1ea01752014-05-23 19:01:4690 "//ui/gl",
[email protected]a306aaa2014-05-24 13:21:5091 "//ui/native_theme",
[email protected]4c047c02014-04-21 22:41:1992 "//ui/resources",
[email protected]52140d882014-05-30 19:22:4093 "//ui/snapshot",
[email protected]e3d74862014-05-18 14:12:2794 "//ui/strings",
[email protected]0311d4c2014-05-17 04:55:1695 "//ui/surface",
[email protected]4b6d32d2014-04-02 17:08:1596 "//url",
[email protected]fa5e2bb2014-06-02 14:29:0997 "//v8:v8",
[email protected]44a5a362014-05-30 20:01:5198 "//webkit/browser:storage",
99 "//webkit/child",
[email protected]f0e7ff882013-12-26 21:23:09100 ]
[email protected]fce5c3fe2014-04-10 21:13:05101
102 if (is_linux) {
103 deps += [
[email protected]8acc5f52014-05-31 22:16:30104 "//third_party/fontconfig",
[email protected]fce5c3fe2014-04-10 21:13:05105 "//third_party/freetype2",
106 ]
107 }
[email protected]5a8d5162014-04-12 01:19:16108
[email protected]a306aaa2014-05-24 13:21:50109 if (is_win) {
110 deps += [
111 "//ui/metro_viewer",
112 ]
113 }
114
[email protected]2d6893a2014-06-02 19:16:36115 if (is_win || is_mac || is_chromeos) {
116 # RLZ works on these platforms.
117 deps += [
118 "//rlz:rlz_lib",
119 ]
120 }
121
[email protected]137dff6d2014-06-12 19:35:55122 if (cpu_arch == "x86" || cpu_arch == "x64") {
123 # YASM is x86/x64 only.
124 deps += [ "//third_party/yasm($host_toolchain)" ]
125 }
126
[email protected]5a8d5162014-04-12 01:19:16127 if (is_android) {
128 deps -= [
[email protected]d05751a22014-05-29 20:54:24129 "//cc",
[email protected]7e4c33142014-05-21 22:01:32130 "//content/public/common",
[email protected]189add52014-05-28 16:51:44131 "//content/public/renderer",
[email protected]6fd0d9b2014-06-03 12:48:55132 "//dbus",
[email protected]543f171c2014-06-04 22:00:41133 "//extensions/common/api:extensions_api",
[email protected]71319202014-06-05 23:19:28134 "//pdf", # Not compiled on Android in GYP yet, either.
[email protected]240e3032014-05-27 20:15:20135 "//ppapi:ppapi_c",
[email protected]bd56a5b2014-06-07 04:09:29136 "//sandbox",
[email protected]5a8d5162014-04-12 01:19:16137 "//third_party/libusb",
138 "//tools/gn",
[email protected]bd56a5b2014-06-07 04:09:29139 "//ui/aura",
[email protected]df3ecfde2014-05-20 21:52:34140
[email protected]effcf412014-06-10 20:19:27141 # TODO(brettw) make Blink work on Android.
142 "//third_party/WebKit/public:blink_headers",
143 "//third_party/WebKit/Source/wtf",
144
[email protected]44a5a362014-05-30 20:01:51145 # Not tested on Android yet:
146 "//webkit/browser:storage",
147 "//webkit/child",
[email protected]5a8d5162014-04-12 01:19:16148 ]
149 }
[email protected]378b4f02014-06-10 15:58:45150
151 if (use_ozone) {
152 deps += [
153 "//ui/events/ozone:events_ozone",
154 "//ui/events/ozone:events_ozone_evdev",
155 ]
156 }
[email protected]f0e7ff882013-12-26 21:23:09157}