| 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 #"//chrome", | 21 #"//chrome", |
| 22 "//components/favicon_base", |
| 22 "//components/language_usage_metrics", | 23 "//components/language_usage_metrics", |
| 23 "//components/metrics", | 24 "//components/metrics", |
| 24 "//components/navigation_metrics", | 25 "//components/navigation_metrics", |
| 25 "//components/onc", | 26 "//components/onc", |
| 26 "//components/os_crypt", | 27 "//components/os_crypt", |
| 28 "//components/query_parser", |
| 29 "//components/resources:components_resources", |
| 27 "//components/startup_metric_utils", | 30 "//components/startup_metric_utils", |
| 28 "//components/resources:components_resources", | |
| 29 "//components/tracing", | 31 "//components/tracing", |
| 30 "//components/translate:translate_core_browser", | 32 "//components/translate:translate_core_browser", |
| 31 "//components/translate:translate_core_common", | 33 "//components/translate:translate_core_common", |
| 32 "//components/url_matcher", | 34 "//components/url_matcher", |
| 33 "//content/public/common", | 35 "//content/public/common", |
| 34 "//crypto", | 36 "//crypto", |
| 35 "//device/usb", | 37 "//device/usb", |
| 36 #"//extensions/common/api:extensions_api", | 38 #"//extensions/common/api:extensions_api", |
| 37 "//gin", | 39 "//gin", |
| 38 "//gpu/command_buffer/client", | 40 "//gpu/command_buffer/client", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 63 #"//third_party/WebKit/Source/platform", | 65 #"//third_party/WebKit/Source/platform", |
| 64 "//third_party/WebKit/Source/wtf", | 66 "//third_party/WebKit/Source/wtf", |
| 65 "//third_party/zlib", | 67 "//third_party/zlib", |
| 66 "//third_party:jpeg", | 68 "//third_party:jpeg", |
| 67 "//tools/gn", | 69 "//tools/gn", |
| 68 "//ui/accessibility", | 70 "//ui/accessibility", |
| 69 "//ui/base:ui_base", | 71 "//ui/base:ui_base", |
| 70 "//ui/events", | 72 "//ui/events", |
| 71 "//ui/gfx", | 73 "//ui/gfx", |
| 72 "//ui/gl", | 74 "//ui/gl", |
| 75 "//ui/native_theme", |
| 73 "//ui/resources", | 76 "//ui/resources", |
| 74 "//ui/strings", | 77 "//ui/strings", |
| 75 "//ui/surface", | 78 "//ui/surface", |
| 76 "//url", | 79 "//url", |
| 77 "//v8:mksnapshot", | 80 "//v8:mksnapshot", |
| 78 ] | 81 ] |
| 79 | 82 |
| 80 if (is_linux) { | 83 if (is_linux) { |
| 81 deps += [ | 84 deps += [ |
| 82 "//third_party/freetype2", | 85 "//third_party/freetype2", |
| 83 ] | 86 ] |
| 84 } | 87 } |
| 85 | 88 |
| 89 if (is_win) { |
| 90 deps += [ |
| 91 "//ui/metro_viewer", |
| 92 ] |
| 93 } |
| 94 |
| 86 if (is_android) { | 95 if (is_android) { |
| 87 deps -= [ | 96 deps -= [ |
| 88 "//content/public/common", | 97 "//content/public/common", |
| 89 "//third_party/libusb", | 98 "//third_party/libusb", |
| 90 #"//third_party/WebKit/Source/platform", | 99 #"//third_party/WebKit/Source/platform", |
| 91 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. | 100 "//third_party/WebKit/Source/wtf", # TODO(brettw) re-enable for Android. |
| 92 "//tools/gn", | 101 "//tools/gn", |
| 93 | 102 |
| 94 # This stuff all depends on ui/surface which requires some .class jni | 103 # This stuff all depends on ui/surface which requires some .class jni |
| 95 # generators (ui/gl/gl.gyp:surface_jni_headers). | 104 # generators (ui/gl/gl.gyp:surface_jni_headers). |
| 96 "//ui/gl", | 105 "//ui/gl", |
| 97 "//gpu/command_buffer/client", | 106 "//gpu/command_buffer/client", |
| 98 "//gpu/command_buffer/service", | 107 "//gpu/command_buffer/service", |
| 99 "//ui/surface", | 108 "//ui/surface", |
| 100 ] | 109 ] |
| 101 } | 110 } |
| 102 } | 111 } |
| OLD | NEW |