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) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 21 | "//cc", |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 22 | #"//chrome", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 23 | "//components/favicon_base", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 24 | "//components/language_usage_metrics", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame] | 25 | "//components/metrics", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 26 | "//components/navigation_metrics", |
| 27 | "//components/onc", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 28 | "//components/os_crypt", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 29 | "//components/query_parser", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 30 | "//components/resources:components_resources", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 31 | "//components/startup_metric_utils", |
| 32 | "//components/tracing", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame] | 33 | "//components/translate:translate_core_browser", |
| 34 | "//components/translate:translate_core_common", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 35 | "//components/url_matcher", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 36 | "//content/public/common", |
| 37 | "//content/public/renderer", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 38 | "//crypto", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 39 | "//device/usb", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame] | 40 | #"//extensions/common/api:extensions_api", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 41 | "//gin", |
| 42 | "//gpu", |
| 43 | "//google_apis", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 44 | "//ipc", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame] | 45 | "//mojo", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 46 | "//net", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 47 | "//ppapi:ppapi_c", |
| 48 | "//sandbox", |
Torne (Richard Coles) | 23730a6 | 2014-03-21 14:25:57 +0000 | [diff] [blame] | 49 | #"//sdch", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 50 | "//skia", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 51 | "//sql", |
| 52 | "//third_party/angle:translator", |
| 53 | "//third_party/brotli", |
| 54 | "//third_party/harfbuzz-ng", |
| 55 | "//third_party/iccjpeg", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 56 | "//third_party/icu", |
| 57 | "//third_party/leveldatabase", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 58 | "//third_party/libpng", |
| 59 | "//third_party/libusb", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 60 | "//third_party/libwebm", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 61 | "//third_party/libwebp", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 62 | "//third_party/ots", |
| 63 | "//third_party/protobuf:protobuf_lite", |
| 64 | "//third_party/qcms", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 65 | "//third_party/re2", |
| 66 | "//third_party/smhasher:cityhash", |
| 67 | "//third_party/smhasher:murmurhash3", |
| 68 | "//third_party/smhasher:pmurhash", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 69 | # TODO(brettw) re-enable once the unused variables in this .gn file are |
| 70 | # fixed and rolled into Chrome. |
| 71 | #"//third_party/WebKit/Source/platform", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame] | 72 | "//third_party/WebKit/Source/wtf", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 73 | "//third_party/zlib", |
Torne (Richard Coles) | 010d83a | 2014-05-14 12:12:37 +0100 | [diff] [blame] | 74 | "//third_party:jpeg", |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 75 | "//tools/gn", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 76 | "//ui/accessibility", |
| 77 | "//ui/base", |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 78 | "//ui/events", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 79 | "//ui/gfx", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 80 | "//ui/gl", |
| 81 | "//ui/native_theme", |
Ben Murdoch | 0529e5d | 2014-04-24 10:50:13 +0100 | [diff] [blame] | 82 | "//ui/resources", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 83 | "//ui/snapshot", |
| 84 | "//ui/strings", |
| 85 | "//ui/surface", |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 86 | "//url", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 87 | "//v8:mksnapshot", |
| 88 | "//webkit/browser:storage", |
| 89 | "//webkit/child", |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 90 | ] |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 91 | |
| 92 | if (is_linux) { |
| 93 | deps += [ |
| 94 | "//third_party/freetype2", |
| 95 | ] |
| 96 | } |
| 97 | |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 98 | if (is_win) { |
| 99 | deps += [ |
| 100 | "//ui/metro_viewer", |
| 101 | ] |
| 102 | } |
| 103 | |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 104 | if (is_android) { |
| 105 | deps -= [ |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 106 | "//cc", |
| 107 | "//content/public/common", |
| 108 | "//content/public/renderer", |
| 109 | "//ppapi:ppapi_c", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 110 | "//third_party/libusb", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 111 | #"//third_party/WebKit/Source/platform", |
Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame] | 112 | "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 113 | "//tools/gn", |
Torne (Richard Coles) | cedac22 | 2014-06-03 10:58:34 +0100 | [diff] [blame^] | 114 | |
| 115 | # Not tested on Android yet: |
| 116 | "//webkit/browser:storage", |
| 117 | "//webkit/child", |
| 118 | |
| 119 | # This stuff all depends on ui/surface which requires some .class jni |
| 120 | # generators (ui/gl/gl.gyp:surface_jni_headers). |
| 121 | "//ui/gl", |
| 122 | "//gpu", |
| 123 | "//ui/snapshot", |
| 124 | "//ui/surface", |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 125 | ] |
| 126 | } |
Torne (Richard Coles) | 5d1f7b1 | 2014-02-21 12:16:55 +0000 | [diff] [blame] | 127 | } |