blob: b2b4bc16b63d195fa91093f2233227c6850bdbd3 [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
20 #"//chrome",
Ben Murdoche5d81f52014-04-03 12:29:45 +010021 "//components/language_usage_metrics",
22 "//components/navigation_metrics",
23 "//components/onc",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010024 "//components/os_crypt",
Ben Murdoche5d81f52014-04-03 12:29:45 +010025 "//components/startup_metric_utils",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010026 "//components/resources:components_resources",
Torne (Richard Coles)23730a62014-03-21 14:25:57 +000027 #"//components/translate:translate_core_browser",
28 #"//components/translate:translate_core_common",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010029 "//components/url_matcher",
Ben Murdocha02191e2014-04-16 11:17:03 +010030 "//crypto",
Ben Murdochc5cede92014-04-10 11:22:14 +010031 "//device/usb",
Ben Murdoche5d81f52014-04-03 12:29:45 +010032 "//ipc",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010033 "//net",
Torne (Richard Coles)23730a62014-03-21 14:25:57 +000034 #"//sdch",
Ben Murdochc5cede92014-04-10 11:22:14 +010035 "//skia",
Ben Murdocha02191e2014-04-16 11:17:03 +010036 #"//third_party/WebKit/Source/platform",
37 "//third_party/icu",
38 "//third_party/leveldatabase",
Ben Murdochc5cede92014-04-10 11:22:14 +010039 "//third_party/libpng",
40 "//third_party/libusb",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010041 "//third_party/libwebp",
Ben Murdochc5cede92014-04-10 11:22:14 +010042 "//third_party/re2",
43 "//third_party/smhasher:cityhash",
44 "//third_party/smhasher:murmurhash3",
45 "//third_party/smhasher:pmurhash",
46 "//third_party/zlib",
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000047 "//tools/gn",
Ben Murdochc5cede92014-04-10 11:22:14 +010048 "//ui/events",
Ben Murdocha02191e2014-04-16 11:17:03 +010049 "//ui/gfx",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010050 "//ui/resources",
Ben Murdoche5d81f52014-04-03 12:29:45 +010051 "//url",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010052 "//v8:v8_base",
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000053 ]
Ben Murdocha02191e2014-04-16 11:17:03 +010054
55 if (is_linux) {
56 deps += [
57 "//third_party/freetype2",
58 ]
59 }
60
61 if (is_android) {
62 deps -= [
Ben Murdoch0529e5d2014-04-24 10:50:13 +010063 "//components/os_crypt",
64 "//crypto",
65 "//net",
Ben Murdocha02191e2014-04-16 11:17:03 +010066 "//skia",
67 "//third_party/libusb",
68 "//tools/gn",
69 "//ui/events",
70 "//ui/gfx",
71 ]
72 }
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000073}