Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 1 | # 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. |
| 12 | group("root") { |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 13 | # 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) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 16 | deps = [ |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 17 | # This is a temporary test of the not-yet-complete NaCl cross-compilation. |
| 18 | #"//base(//build/toolchain/nacl:x86_newlib)", |
| 19 | |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 20 | "//apps/common/api:apps_api", |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 21 | #"//chrome", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 22 | "//components/language_usage_metrics", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 23 | "//components/metrics", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 24 | "//components/navigation_metrics", |
| 25 | "//components/onc", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 26 | "//components/os_crypt", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 27 | "//components/startup_metric_utils", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 28 | "//components/resources:components_resources", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 29 | "//components/translate:translate_core_browser", |
| 30 | "//components/translate:translate_core_common", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 31 | "//components/url_matcher", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 32 | "//crypto", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 33 | "//device/usb", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 34 | #"//extensions/common/api:extensions_api", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 35 | "//ipc", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 36 | "//mojo", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 37 | "//net", |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 38 | #"//sdch", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 39 | "//skia", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 40 | #"//third_party/WebKit/Source/platform", |
| 41 | "//third_party/icu", |
| 42 | "//third_party/leveldatabase", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 43 | "//third_party/libpng", |
| 44 | "//third_party/libusb", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 45 | "//third_party/libwebp", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 46 | "//third_party/re2", |
| 47 | "//third_party/smhasher:cityhash", |
| 48 | "//third_party/smhasher:murmurhash3", |
| 49 | "//third_party/smhasher:pmurhash", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 50 | "//third_party/WebKit/Source/wtf", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 51 | "//third_party/zlib", |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 52 | "//tools/gn", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 53 | "//ui/base:ui_base", |
| 54 | "//ui/base/strings", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 55 | "//ui/events", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 56 | "//ui/gfx", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 57 | "//ui/resources", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 58 | "//url", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 59 | "//v8:v8_base", |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 60 | ] |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 61 | |
| 62 | if (is_linux) { |
| 63 | deps += [ |
| 64 | "//third_party/freetype2", |
| 65 | ] |
| 66 | } |
| 67 | |
| 68 | if (is_android) { |
| 69 | deps -= [ |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 70 | "//components/os_crypt", |
| 71 | "//crypto", |
| 72 | "//net", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 73 | "//skia", |
| 74 | "//third_party/libusb", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 75 | "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 76 | "//tools/gn", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame^] | 77 | "//ui/base:ui_base", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 78 | "//ui/events", |
| 79 | "//ui/gfx", |
| 80 | ] |
| 81 | } |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 82 | } |