[email protected] | f0e7ff88 | 2013-12-26 21:23:09 | [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") { |
[email protected] | dd316f6 | 2014-03-18 20:27:26 | [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. |
[email protected] | f0e7ff88 | 2013-12-26 21:23:09 | [diff] [blame] | 16 | deps = [ |
[email protected] | dd316f6 | 2014-03-18 20:27:26 | [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", |
[email protected] | 4b6d32d | 2014-04-02 17:08:15 | [diff] [blame] | 21 | "//components/language_usage_metrics", |
| 22 | "//components/navigation_metrics", |
| 23 | "//components/onc", |
| 24 | "//components/startup_metric_utils", |
[email protected] | dd316f6 | 2014-03-18 20:27:26 | [diff] [blame] | 25 | #"//components/translate:translate_core_browser", |
| 26 | #"//components/translate:translate_core_common", |
| 27 | #"//crypto", |
[email protected] | 52f5fe7 | 2014-04-03 22:41:47 | [diff] [blame] | 28 | "//device/usb", |
[email protected] | 517d528 | 2014-04-02 17:03:30 | [diff] [blame] | 29 | "//ipc", |
[email protected] | dd316f6 | 2014-03-18 20:27:26 | [diff] [blame] | 30 | #"//net", |
| 31 | #"//net/third_party/nss:ssl", |
| 32 | #"//sdch", |
[email protected] | a915508 | 2014-04-06 06:55:08 | [diff] [blame] | 33 | #"//skia", |
[email protected] | dd316f6 | 2014-03-18 20:27:26 | [diff] [blame] | 34 | #"//third_party/WebKit/Source/platform", |
| 35 | #"//third_party/icu:icudata", |
| 36 | #"//third_party/leveldatabase", |
[email protected] | 7867196e5 | 2014-04-09 19:55:29 | [diff] [blame] | 37 | "//skia", |
[email protected] | a915508 | 2014-04-06 06:55:08 | [diff] [blame] | 38 | "//third_party/libpng", |
[email protected] | 1d6b606 | 2014-04-08 17:42:14 | [diff] [blame] | 39 | "//third_party/libusb", |
[email protected] | a915508 | 2014-04-06 06:55:08 | [diff] [blame] | 40 | "//third_party/re2", |
[email protected] | 7b31c83 | 2014-04-09 02:08:44 | [diff] [blame] | 41 | "//third_party/smhasher:cityhash", |
| 42 | "//third_party/smhasher:murmurhash3", |
| 43 | "//third_party/smhasher:pmurhash", |
[email protected] | a915508 | 2014-04-06 06:55:08 | [diff] [blame] | 44 | "//third_party/zlib", |
[email protected] | f0e7ff88 | 2013-12-26 21:23:09 | [diff] [blame] | 45 | "//tools/gn", |
[email protected] | 06d4187 | 2014-04-09 01:18:44 | [diff] [blame] | 46 | "//ui/events", |
[email protected] | 07a8725b | 2014-04-10 21:16:59 | [diff] [blame] | 47 | "//ui/gfx", |
[email protected] | 4b6d32d | 2014-04-02 17:08:15 | [diff] [blame] | 48 | "//url", |
[email protected] | f0e7ff88 | 2013-12-26 21:23:09 | [diff] [blame] | 49 | ] |
[email protected] | fce5c3fe | 2014-04-10 21:13:05 | [diff] [blame] | 50 | |
[email protected] | 5a8d516 | 2014-04-12 01:19:16 | [diff] [blame] | 51 | if (is_posix && !is_android) { # TODO(brettw) should be use_openssl |
[email protected] | 14cdf94 | 2014-04-11 20:23:34 | [diff] [blame] | 52 | deps += [ |
| 53 | "//third_party/openssl", |
| 54 | ] |
| 55 | } |
[email protected] | fce5c3fe | 2014-04-10 21:13:05 | [diff] [blame] | 56 | if (is_linux) { |
| 57 | deps += [ |
| 58 | "//third_party/freetype2", |
| 59 | ] |
| 60 | } |
[email protected] | 5a8d516 | 2014-04-12 01:19:16 | [diff] [blame] | 61 | |
| 62 | if (is_android) { |
| 63 | deps -= [ |
| 64 | "//skia", |
| 65 | "//third_party/libusb", |
| 66 | "//tools/gn", |
| 67 | "//ui/events", |
| 68 | "//ui/gfx", |
| 69 | ] |
| 70 | } |
[email protected] | f0e7ff88 | 2013-12-26 21:23:09 | [diff] [blame] | 71 | } |