blob: b83fe92f608467ac77ecfb0e3d484c3581313ef6 [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)23730a62014-03-21 14:25:57 +000021 #"//chrome",
Ben Murdoche5d81f52014-04-03 12:29:45 +010022 "//components/language_usage_metrics",
Bo Liu5c02ac12014-05-01 10:37:37 -070023 "//components/metrics",
Ben Murdoche5d81f52014-04-03 12:29:45 +010024 "//components/navigation_metrics",
25 "//components/onc",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010026 "//components/os_crypt",
Ben Murdoche5d81f52014-04-03 12:29:45 +010027 "//components/startup_metric_utils",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010028 "//components/resources:components_resources",
Bo Liu5c02ac12014-05-01 10:37:37 -070029 "//components/translate:translate_core_browser",
30 "//components/translate:translate_core_common",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010031 "//components/url_matcher",
Ben Murdocha02191e2014-04-16 11:17:03 +010032 "//crypto",
Ben Murdochc5cede92014-04-10 11:22:14 +010033 "//device/usb",
Bo Liu5c02ac12014-05-01 10:37:37 -070034 #"//extensions/common/api:extensions_api",
Ben Murdoche5d81f52014-04-03 12:29:45 +010035 "//ipc",
Bo Liu5c02ac12014-05-01 10:37:37 -070036 "//mojo",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010037 "//net",
Torne (Richard Coles)23730a62014-03-21 14:25:57 +000038 #"//sdch",
Ben Murdochc5cede92014-04-10 11:22:14 +010039 "//skia",
Ben Murdocha02191e2014-04-16 11:17:03 +010040 #"//third_party/WebKit/Source/platform",
41 "//third_party/icu",
42 "//third_party/leveldatabase",
Ben Murdochc5cede92014-04-10 11:22:14 +010043 "//third_party/libpng",
44 "//third_party/libusb",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010045 "//third_party/libwebp",
Ben Murdochc5cede92014-04-10 11:22:14 +010046 "//third_party/re2",
47 "//third_party/smhasher:cityhash",
48 "//third_party/smhasher:murmurhash3",
49 "//third_party/smhasher:pmurhash",
Bo Liu5c02ac12014-05-01 10:37:37 -070050 "//third_party/WebKit/Source/wtf",
Ben Murdochc5cede92014-04-10 11:22:14 +010051 "//third_party/zlib",
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000052 "//tools/gn",
Bo Liu5c02ac12014-05-01 10:37:37 -070053 "//ui/base:ui_base",
54 "//ui/base/strings",
Ben Murdochc5cede92014-04-10 11:22:14 +010055 "//ui/events",
Ben Murdocha02191e2014-04-16 11:17:03 +010056 "//ui/gfx",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010057 "//ui/resources",
Ben Murdoche5d81f52014-04-03 12:29:45 +010058 "//url",
Ben Murdoch0529e5d2014-04-24 10:50:13 +010059 "//v8:v8_base",
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000060 ]
Ben Murdocha02191e2014-04-16 11:17:03 +010061
62 if (is_linux) {
63 deps += [
64 "//third_party/freetype2",
65 ]
66 }
67
68 if (is_android) {
69 deps -= [
Ben Murdoch0529e5d2014-04-24 10:50:13 +010070 "//components/os_crypt",
71 "//crypto",
72 "//net",
Ben Murdocha02191e2014-04-16 11:17:03 +010073 "//skia",
74 "//third_party/libusb",
Bo Liu5c02ac12014-05-01 10:37:37 -070075 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android.
Ben Murdocha02191e2014-04-16 11:17:03 +010076 "//tools/gn",
Bo Liu5c02ac12014-05-01 10:37:37 -070077 "//ui/base:ui_base",
Ben Murdocha02191e2014-04-16 11:17:03 +010078 "//ui/events",
79 "//ui/gfx",
80 ]
81 }
Torne (Richard Coles)5d1f7b12014-02-21 12:16:55 +000082}