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 | |
| 20 | #"//chrome", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 21 | "//components/language_usage_metrics", |
| 22 | "//components/navigation_metrics", |
| 23 | "//components/onc", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 24 | "//components/os_crypt", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 25 | "//components/startup_metric_utils", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 26 | "//components/resources:components_resources", |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 27 | #"//components/translate:translate_core_browser", |
| 28 | #"//components/translate:translate_core_common", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 29 | "//components/url_matcher", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 30 | "//crypto", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 31 | "//device/usb", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 32 | "//ipc", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 33 | "//net", |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 34 | #"//sdch", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 35 | "//skia", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 36 | #"//third_party/WebKit/Source/platform", |
| 37 | "//third_party/icu", |
| 38 | "//third_party/leveldatabase", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 39 | "//third_party/libpng", |
| 40 | "//third_party/libusb", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 41 | "//third_party/libwebp", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 42 | "//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) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 47 | "//tools/gn", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 48 | "//ui/events", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 49 | "//ui/gfx", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 50 | "//ui/resources", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 51 | "//url", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 52 | "//v8:v8_base", |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 53 | ] |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 54 | |
| 55 | if (is_linux) { |
| 56 | deps += [ |
| 57 | "//third_party/freetype2", |
| 58 | ] |
| 59 | } |
| 60 | |
| 61 | if (is_android) { |
| 62 | deps -= [ |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame^] | 63 | "//components/os_crypt", |
| 64 | "//crypto", |
| 65 | "//net", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 66 | "//skia", |
| 67 | "//third_party/libusb", |
| 68 | "//tools/gn", |
| 69 | "//ui/events", |
| 70 | "//ui/gfx", |
| 71 | ] |
| 72 | } |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 73 | } |