blob: 6d7ec994f2463c6b6226bc1c5001aadda8f61f1b [file] [log] [blame]
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +00001# 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") {
Torne (Richard Coles)23730a62014-03-21 14:25:57 +000013 # 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.
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000016 deps = [
Torne (Richard Coles)23730a62014-03-21 14:25:57 +000017 # This is a temporary test of the not-yet-complete NaCl cross-compilation.
18 #"//base(//build/toolchain/nacl:x86_newlib)",
19
Bo Liu5c02ac12014-05-01 10:37:37 -070020 "//apps/common/api:apps_api",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010021 "//cc",
Torne (Richard Coles)23730a62014-03-21 14:25:57 +000022 #"//chrome",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010023 "//components/favicon_base",
Ben Murdoche5d81f52014-04-03 12:29:45 +010024 "//components/language_usage_metrics",
Bo Liu5c02ac12014-05-01 10:37:37 -070025 "//components/metrics",
Ben Murdoche5d81f52014-04-03 12:29:45 +010026 "//components/navigation_metrics",
27 "//components/onc",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010028 "//components/os_crypt",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010029 "//components/query_parser",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010030 "//components/resources:components_resources",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010031 "//components/startup_metric_utils",
32 "//components/tracing",
Bo Liu5c02ac12014-05-01 10:37:37 -070033 "//components/translate:translate_core_browser",
34 "//components/translate:translate_core_common",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010035 "//components/url_matcher",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010036 "//content/public/common",
37 "//content/public/renderer",
Ben Murdocha02191e2014-04-16 11:17:03 +010038 "//crypto",
Ben Murdochc5cede92014-04-10 11:22:14 +010039 "//device/usb",
Bo Liu5c02ac12014-05-01 10:37:37 -070040 #"//extensions/common/api:extensions_api",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010041 "//gin",
42 "//gpu",
43 "//google_apis",
Ben Murdoche5d81f52014-04-03 12:29:45 +010044 "//ipc",
Bo Liu5c02ac12014-05-01 10:37:37 -070045 "//mojo",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010046 "//net",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010047 "//ppapi:ppapi_c",
48 "//sandbox",
Torne (Richard Coles)23730a62014-03-21 14:25:57 +000049 #"//sdch",
Ben Murdochc5cede92014-04-10 11:22:14 +010050 "//skia",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010051 "//sql",
52 "//third_party/angle:translator",
53 "//third_party/brotli",
54 "//third_party/harfbuzz-ng",
55 "//third_party/iccjpeg",
Ben Murdocha02191e2014-04-16 11:17:03 +010056 "//third_party/icu",
57 "//third_party/leveldatabase",
Ben Murdochc5cede92014-04-10 11:22:14 +010058 "//third_party/libpng",
59 "//third_party/libusb",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010060 "//third_party/libwebm",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010061 "//third_party/libwebp",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010062 "//third_party/ots",
63 "//third_party/protobuf:protobuf_lite",
64 "//third_party/qcms",
Ben Murdochc5cede92014-04-10 11:22:14 +010065 "//third_party/re2",
66 "//third_party/smhasher:cityhash",
67 "//third_party/smhasher:murmurhash3",
68 "//third_party/smhasher:pmurhash",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010069 # TODO(brettw) re-enable once the unused variables in this .gn file are
70 # fixed and rolled into Chrome.
71 #"//third_party/WebKit/Source/platform",
Bo Liu5c02ac12014-05-01 10:37:37 -070072 "//third_party/WebKit/Source/wtf",
Ben Murdochc5cede92014-04-10 11:22:14 +010073 "//third_party/zlib",
Torne (Richard Coles)010d83a2014-05-14 12:12:37 +010074 "//third_party:jpeg",
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000075 "//tools/gn",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010076 "//ui/accessibility",
77 "//ui/base",
Ben Murdochc5cede92014-04-10 11:22:14 +010078 "//ui/events",
Ben Murdocha02191e2014-04-16 11:17:03 +010079 "//ui/gfx",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010080 "//ui/gl",
81 "//ui/native_theme",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010082 "//ui/resources",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010083 "//ui/snapshot",
84 "//ui/strings",
85 "//ui/surface",
Ben Murdoche5d81f52014-04-03 12:29:45 +010086 "//url",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010087 "//v8:mksnapshot",
88 "//webkit/browser:storage",
89 "//webkit/child",
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000090 ]
Ben Murdocha02191e2014-04-16 11:17:03 +010091
92 if (is_linux) {
93 deps += [
94 "//third_party/freetype2",
95 ]
96 }
97
Torne (Richard Coles)cedac222014-06-03 10:58:34 +010098 if (is_win) {
99 deps += [
100 "//ui/metro_viewer",
101 ]
102 }
103
Ben Murdocha02191e2014-04-16 11:17:03 +0100104 if (is_android) {
105 deps -= [
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100106 "//cc",
107 "//content/public/common",
108 "//content/public/renderer",
109 "//ppapi:ppapi_c",
Ben Murdocha02191e2014-04-16 11:17:03 +0100110 "//third_party/libusb",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100111 #"//third_party/WebKit/Source/platform",
Bo Liu5c02ac12014-05-01 10:37:37 -0700112 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android.
Ben Murdocha02191e2014-04-16 11:17:03 +0100113 "//tools/gn",
Torne (Richard Coles)cedac222014-06-03 10:58:34 +0100114
115 # Not tested on Android yet:
116 "//webkit/browser:storage",
117 "//webkit/child",
118
119 # This stuff all depends on ui/surface which requires some .class jni
120 # generators (ui/gl/gl.gyp:surface_jni_headers).
121 "//ui/gl",
122 "//gpu",
123 "//ui/snapshot",
124 "//ui/surface",
Ben Murdocha02191e2014-04-16 11:17:03 +0100125 ]
126 }
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +0000127}