| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This is the root build file for GN. GN will start processing by loading this | 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 | 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 | 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 | 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. | 9 # file to your new one or GN won't know about it. |
| 10 | 10 |
| 11 # In GN, a "group" is a dummy target that just lists other targets. | 11 # In GN, a "group" is a dummy target that just lists other targets. |
| 12 group("root") { | 12 group("root") { |
| 13 # Note that some dependencies are commented out. These are things that are | 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 | 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. | 15 # completed or possibly just tested and then re-enabled. |
| 16 deps = [ | 16 deps = [ |
| 17 # This is a temporary test of the not-yet-complete NaCl cross-compilation. | 17 # This is a temporary test of the not-yet-complete NaCl cross-compilation. |
| 18 #"//base(//build/toolchain/nacl:x86_newlib)", | 18 #"//base(//build/toolchain/nacl:x86_newlib)", |
| 19 | 19 |
| 20 "//apps/common/api:apps_api", | 20 "//apps/common/api:apps_api", |
| 21 "//cc", |
| 21 #"//chrome", | 22 #"//chrome", |
| 22 "//components/favicon_base", | 23 "//components/favicon_base", |
| 23 "//components/language_usage_metrics", | 24 "//components/language_usage_metrics", |
| 24 "//components/metrics", | 25 "//components/metrics", |
| 25 "//components/navigation_metrics", | 26 "//components/navigation_metrics", |
| 26 "//components/onc", | 27 "//components/onc", |
| 27 "//components/os_crypt", | 28 "//components/os_crypt", |
| 28 "//components/query_parser", | 29 "//components/query_parser", |
| 29 "//components/resources:components_resources", | 30 "//components/resources:components_resources", |
| 30 "//components/startup_metric_utils", | 31 "//components/startup_metric_utils", |
| 31 "//components/tracing", | 32 "//components/tracing", |
| 32 "//components/translate:translate_core_browser", | 33 "//components/translate:translate_core_browser", |
| 33 "//components/translate:translate_core_common", | 34 "//components/translate:translate_core_common", |
| 34 "//components/url_matcher", | 35 "//components/url_matcher", |
| 35 "//content/public/common", | 36 "//content/public/common", |
| 36 "//content/public/renderer", | 37 "//content/public/renderer", |
| 37 "//crypto", | 38 "//crypto", |
| 38 "//device/usb", | 39 "//device/usb", |
| 39 #"//extensions/common/api:extensions_api", | 40 #"//extensions/common/api:extensions_api", |
| 40 "//gin", | 41 "//gin", |
| 41 "//gpu/command_buffer/client", | 42 "//gpu", |
| 42 "//gpu/command_buffer/service", | |
| 43 "//google_apis", | 43 "//google_apis", |
| 44 "//ipc", | 44 "//ipc", |
| 45 "//mojo", | 45 "//mojo", |
| 46 "//net", | 46 "//net", |
| 47 "//ppapi:ppapi_c", | 47 "//ppapi:ppapi_c", |
| 48 #"//sdch", | 48 #"//sdch", |
| 49 "//skia", | 49 "//skia", |
| 50 "//sql", | 50 "//sql", |
| 51 "//third_party/brotli", | 51 "//third_party/brotli", |
| 52 "//third_party/harfbuzz-ng", | 52 "//third_party/harfbuzz-ng", |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 } | 91 } |
| 92 | 92 |
| 93 if (is_win) { | 93 if (is_win) { |
| 94 deps += [ | 94 deps += [ |
| 95 "//ui/metro_viewer", | 95 "//ui/metro_viewer", |
| 96 ] | 96 ] |
| 97 } | 97 } |
| 98 | 98 |
| 99 if (is_android) { | 99 if (is_android) { |
| 100 deps -= [ | 100 deps -= [ |
| 101 "//cc", |
| 101 "//content/public/common", | 102 "//content/public/common", |
| 102 "//content/public/renderer", | 103 "//content/public/renderer", |
| 103 "//ppapi:ppapi_c", | 104 "//ppapi:ppapi_c", |
| 104 "//third_party/libusb", | 105 "//third_party/libusb", |
| 105 #"//third_party/WebKit/Source/platform", | 106 #"//third_party/WebKit/Source/platform", |
| 106 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. | 107 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. |
| 107 "//tools/gn", | 108 "//tools/gn", |
| 108 | 109 |
| 109 # This stuff all depends on ui/surface which requires some .class jni | 110 # This stuff all depends on ui/surface which requires some .class jni |
| 110 # generators (ui/gl/gl.gyp:surface_jni_headers). | 111 # generators (ui/gl/gl.gyp:surface_jni_headers). |
| 111 "//ui/gl", | 112 "//ui/gl", |
| 112 "//gpu/command_buffer/client", | 113 "//gpu", |
| 113 "//gpu/command_buffer/service", | |
| 114 "//ui/surface", | 114 "//ui/surface", |
| 115 ] | 115 ] |
| 116 } | 116 } |
| 117 } | 117 } |
| OLD | NEW |