blob: afade88d535b695432980ee40d095f9b87e5a22c [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]d05751a22014-05-29 20:54:2422 "//cc",
[email protected]cb75c092014-06-24 19:31:3423 "//chrome/browser/devtools",
[email protected]479fbf82014-06-23 22:30:1924 "//chrome/browser/ui/views",
[email protected]7f2b78ed2014-06-20 04:26:5525 "//chrome/common",
[email protected]3b816b92014-06-23 22:28:1526 "//chrome/plugin",
[email protected]58e36842014-06-21 15:55:0327 "//chrome/renderer",
[email protected]3b816b92014-06-23 22:28:1528 "//chrome/utility",
[email protected]7a1da462014-06-20 21:40:0129 "//components:all_components",
[email protected]dab154ee2014-06-13 23:48:5030 "//content",
[email protected]7a7e0852014-04-14 23:25:1331 "//crypto",
[email protected]543f171c2014-06-04 22:00:4132 "//extensions/common/api:extensions_api",
[email protected]52f5fe72014-04-03 22:41:4733 "//device/usb",
[email protected]8f2cee02014-05-22 23:19:2534 "//gin",
[email protected]d05751a22014-05-29 20:54:2435 "//gpu",
[email protected]b2b2bf52014-05-28 20:26:5736 "//google_apis",
[email protected]517d5282014-04-02 17:03:3037 "//ipc",
[email protected]9a1526b2014-04-30 05:27:0638 "//mojo",
[email protected]71c325d2014-06-13 23:14:0439 "//mojo/common",
40 "//mojo/environment:chromium",
41 "//mojo/service_manager",
42 "//mojo/system",
[email protected]4625ade2014-04-15 19:26:4443 "//net",
[email protected]71319202014-06-05 23:19:2844 "//pdf",
[email protected]240e3032014-05-27 20:15:2045 "//ppapi:ppapi_c",
[email protected]fc2020f2014-06-04 18:09:3946 "//printing",
[email protected]543f171c2014-06-04 22:00:4147 "//sandbox",
[email protected]c7e9f4942014-06-02 17:40:3048 "//sdch",
[email protected]1b87123d2014-04-12 10:37:1949 "//skia",
[email protected]b2b2bf52014-05-28 20:26:5750 "//sql",
[email protected]f9a32062014-06-21 20:20:3551 "//third_party/WebKit/public:all_blink",
[email protected]3a98c812014-05-30 00:52:3652 "//third_party/angle:translator",
[email protected]cceca60d2014-05-13 02:23:3453 "//third_party/brotli",
[email protected]797b25042014-07-01 23:54:1754 "//third_party/cacheinvalidation",
[email protected]822d467b2014-06-19 19:00:4355 "//third_party/ffmpeg",
[email protected]5c10cca42014-06-12 19:37:2856 "//third_party/flac",
[email protected]c67679f2014-05-21 16:53:1957 "//third_party/harfbuzz-ng",
[email protected]f9a32062014-06-21 20:20:3558 "//third_party/hunspell",
[email protected]cceca60d2014-05-13 02:23:3459 "//third_party/iccjpeg",
[email protected]cb3421f2014-04-14 00:42:4860 "//third_party/icu",
[email protected]1b87123d2014-04-12 10:37:1961 "//third_party/leveldatabase",
[email protected]797b25042014-07-01 23:54:1762 "//third_party/libaddressinput",
[email protected]fca567b2014-07-02 17:37:3463 "//third_party/libphonenumber",
[email protected]a9155082014-04-06 06:55:0864 "//third_party/libpng",
[email protected]0133ad72014-07-01 07:03:2565 "//third_party/libsrtp",
[email protected]1d6b6062014-04-08 17:42:1466 "//third_party/libusb",
[email protected]f087aad2014-05-16 18:16:1367 "//third_party/libwebm",
[email protected]4b08b342014-04-16 03:01:0368 "//third_party/libwebp",
[email protected]d62c51e2014-06-12 21:56:1169 "//third_party/libxslt",
[email protected]543f171c2014-06-04 22:00:4170 "//third_party/libyuv",
[email protected]dab154ee2014-06-13 23:48:5071 "//third_party/lzma_sdk",
[email protected]f1782d92014-06-03 23:14:2072 "//third_party/mesa",
[email protected]1da2cde2014-07-01 14:16:3673 "//third_party/opus",
[email protected]cceca60d2014-05-13 02:23:3474 "//third_party/ots",
[email protected]ff6d0962014-05-22 23:21:2375 "//third_party/protobuf:protobuf_lite",
[email protected]cceca60d2014-05-13 02:23:3476 "//third_party/qcms",
[email protected]a9155082014-04-06 06:55:0877 "//third_party/re2",
[email protected]7b31c832014-04-09 02:08:4478 "//third_party/smhasher:cityhash",
79 "//third_party/smhasher:murmurhash3",
80 "//third_party/smhasher:pmurhash",
[email protected]171e3ad2014-06-26 23:11:1281 "//third_party/snappy",
[email protected]5c10cca42014-06-12 19:37:2882 "//third_party/speex",
[email protected]824288842014-06-20 05:26:5983 "//third_party/widevine/cdm:version_h",
[email protected]a9155082014-04-06 06:55:0884 "//third_party/zlib",
[email protected]71eb1122014-05-06 04:25:2685 "//third_party:jpeg",
[email protected]f0e7ff882013-12-26 21:23:0986 "//tools/gn",
[email protected]bd56a5b2014-06-07 04:09:2987 "//ui/aura",
[email protected]df3ecfde2014-05-20 21:52:3488 "//ui/accessibility",
[email protected]52140d882014-05-30 19:22:4089 "//ui/base",
[email protected]06d41872014-04-09 01:18:4490 "//ui/events",
[email protected]07a8725b2014-04-10 21:16:5991 "//ui/gfx",
[email protected]1ea01752014-05-23 19:01:4692 "//ui/gl",
[email protected]a306aaa2014-05-24 13:21:5093 "//ui/native_theme",
[email protected]4c047c02014-04-21 22:41:1994 "//ui/resources",
[email protected]52140d882014-05-30 19:22:4095 "//ui/snapshot",
[email protected]e3d74862014-05-18 14:12:2796 "//ui/strings",
[email protected]0311d4c2014-05-17 04:55:1697 "//ui/surface",
[email protected]4b6d32d2014-04-02 17:08:1598 "//url",
[email protected]fa5e2bb2014-06-02 14:29:0999 "//v8:v8",
[email protected]44a5a362014-05-30 20:01:51100 "//webkit/browser:storage",
101 "//webkit/child",
[email protected]f0e7ff882013-12-26 21:23:09102 ]
[email protected]fce5c3fe2014-04-10 21:13:05103
[email protected]6fa82cc2014-06-18 20:33:07104 if (!is_win) {
[email protected]f8d55d32014-06-19 20:02:29105 deps += [ "//breakpad:symupload" ]
[email protected]6fa82cc2014-06-18 20:33:07106 }
107
[email protected]fce5c3fe2014-04-10 21:13:05108 if (is_linux) {
109 deps += [
[email protected]886323c2014-06-14 20:34:16110 "//dbus",
[email protected]8acc5f52014-05-31 22:16:30111 "//third_party/fontconfig",
[email protected]fce5c3fe2014-04-10 21:13:05112 "//third_party/freetype2",
113 ]
114 }
[email protected]5a8d5162014-04-12 01:19:16115
[email protected]a306aaa2014-05-24 13:21:50116 if (is_win) {
117 deps += [
118 "//ui/metro_viewer",
119 ]
120 }
121
[email protected]2d6893a2014-06-02 19:16:36122 if (is_win || is_mac || is_chromeos) {
123 # RLZ works on these platforms.
124 deps += [
125 "//rlz:rlz_lib",
126 ]
127 }
128
[email protected]137dff6d2014-06-12 19:35:55129 if (cpu_arch == "x86" || cpu_arch == "x64") {
130 # YASM is x86/x64 only.
131 deps += [ "//third_party/yasm($host_toolchain)" ]
132 }
133
[email protected]5a8d5162014-04-12 01:19:16134 if (is_android) {
135 deps -= [
[email protected]d05751a22014-05-29 20:54:24136 "//cc",
[email protected]cb75c092014-06-24 19:31:34137 "//chrome/browser/devtools", # Blocked on content.
[email protected]479fbf82014-06-23 22:30:19138 "//chrome/browser/ui/views", # Blocked on content.
[email protected]7f2b78ed2014-06-20 04:26:55139 "//chrome/common", # Blocked on content.
[email protected]3b816b92014-06-23 22:28:15140 "//chrome/plugin", # Blocked on content.
[email protected]58e36842014-06-21 15:55:03141 "//chrome/renderer", # Blocked on content.
[email protected]3b816b92014-06-23 22:28:15142 "//chrome/utility", # Blocked on content.
[email protected]dab154ee2014-06-13 23:48:50143 "//content",
[email protected]543f171c2014-06-04 22:00:41144 "//extensions/common/api:extensions_api",
[email protected]71319202014-06-05 23:19:28145 "//pdf", # Not compiled on Android in GYP yet, either.
[email protected]240e3032014-05-27 20:15:20146 "//ppapi:ppapi_c",
[email protected]bd56a5b2014-06-07 04:09:29147 "//sandbox",
[email protected]5a8d5162014-04-12 01:19:16148 "//third_party/libusb",
[email protected]d62c51e2014-06-12 21:56:11149
150 # Seems to not be compiled on Android. Otherwise it will need a config.h.
151 "//third_party/libxslt",
152
[email protected]5a8d5162014-04-12 01:19:16153 "//tools/gn",
[email protected]bd56a5b2014-06-07 04:09:29154 "//ui/aura",
[email protected]df3ecfde2014-05-20 21:52:34155
[email protected]31e0749c2014-06-12 19:55:11156 # Fails on Android for unknown reasons.
157 "//third_party/flac",
[email protected]f8d55d32014-06-19 20:02:29158 "//breakpad:symupload",
[email protected]31e0749c2014-06-12 19:55:11159
[email protected]effcf412014-06-10 20:19:27160 # TODO(brettw) make Blink work on Android.
[email protected]b1484512014-06-19 17:52:42161 "//third_party/WebKit/public:all_blink",
[email protected]effcf412014-06-10 20:19:27162
[email protected]44a5a362014-05-30 20:01:51163 # Not tested on Android yet:
[email protected]797b25042014-07-01 23:54:17164 "//third_party/libaddressinput",
[email protected]822d467b2014-06-19 19:00:43165 "//third_party/ffmpeg",
[email protected]44a5a362014-05-30 20:01:51166 "//webkit/browser:storage",
167 "//webkit/child",
[email protected]5a8d5162014-04-12 01:19:16168 ]
169 }
[email protected]378b4f02014-06-10 15:58:45170
171 if (use_ozone) {
172 deps += [
173 "//ui/events/ozone:events_ozone",
174 "//ui/events/ozone:events_ozone_evdev",
175 ]
176 }
[email protected]f0e7ff882013-12-26 21:23:09177}