| 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 import("//build/config/ui.gni") | 11 import("//build/config/ui.gni") |
| 12 | 12 |
| 13 # In GN, a "group" is a dummy target that just lists other targets. | 13 # In GN, a "group" is a dummy target that just lists other targets. |
| 14 group("root") { | 14 group("root") { |
| 15 # Note that some dependencies are commented out. These are things that are | 15 # Note that some dependencies are commented out. These are things that are |
| 16 # currently written but not hooked up to the build yet. They may need to be | 16 # currently written but not hooked up to the build yet. They may need to be |
| 17 # completed or possibly just tested and then re-enabled. | 17 # completed or possibly just tested and then re-enabled. |
| 18 deps = [ | 18 deps = [ |
| 19 # This is a temporary test of the not-yet-complete NaCl cross-compilation. | 19 # This is a temporary test of the not-yet-complete NaCl cross-compilation. |
| 20 #"//base(//build/toolchain/nacl:x86_newlib)", | 20 #"//base(//build/toolchain/nacl:x86_newlib)", |
| 21 | 21 |
| 22 "//cc", | 22 "//cc", |
| 23 "//chrome/common", | 23 "//chrome/common", |
| 24 "//chrome/plugin", |
| 24 "//chrome/renderer", | 25 "//chrome/renderer", |
| 26 "//chrome/utility", |
| 25 "//components:all_components", | 27 "//components:all_components", |
| 26 "//content", | 28 "//content", |
| 27 "//crypto", | 29 "//crypto", |
| 28 "//extensions/common/api:extensions_api", | 30 "//extensions/common/api:extensions_api", |
| 29 "//device/usb", | 31 "//device/usb", |
| 30 "//gin", | 32 "//gin", |
| 31 "//gpu", | 33 "//gpu", |
| 32 "//google_apis", | 34 "//google_apis", |
| 33 "//ipc", | 35 "//ipc", |
| 34 "//mojo", | 36 "//mojo", |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 120 |
| 119 if (cpu_arch == "x86" || cpu_arch == "x64") { | 121 if (cpu_arch == "x86" || cpu_arch == "x64") { |
| 120 # YASM is x86/x64 only. | 122 # YASM is x86/x64 only. |
| 121 deps += [ "//third_party/yasm($host_toolchain)" ] | 123 deps += [ "//third_party/yasm($host_toolchain)" ] |
| 122 } | 124 } |
| 123 | 125 |
| 124 if (is_android) { | 126 if (is_android) { |
| 125 deps -= [ | 127 deps -= [ |
| 126 "//cc", | 128 "//cc", |
| 127 "//chrome/common", # Blocked on content. | 129 "//chrome/common", # Blocked on content. |
| 130 "//chrome/plugin", # Blocked on content. |
| 128 "//chrome/renderer", # Blocked on content. | 131 "//chrome/renderer", # Blocked on content. |
| 132 "//chrome/utility", # Blocked on content. |
| 129 "//content", | 133 "//content", |
| 130 "//extensions/common/api:extensions_api", | 134 "//extensions/common/api:extensions_api", |
| 131 "//pdf", # Not compiled on Android in GYP yet, either. | 135 "//pdf", # Not compiled on Android in GYP yet, either. |
| 132 "//ppapi:ppapi_c", | 136 "//ppapi:ppapi_c", |
| 133 "//sandbox", | 137 "//sandbox", |
| 134 "//third_party/libusb", | 138 "//third_party/libusb", |
| 135 | 139 |
| 136 # Seems to not be compiled on Android. Otherwise it will need a config.h. | 140 # Seems to not be compiled on Android. Otherwise it will need a config.h. |
| 137 "//third_party/libxslt", | 141 "//third_party/libxslt", |
| 138 | 142 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 153 ] | 157 ] |
| 154 } | 158 } |
| 155 | 159 |
| 156 if (use_ozone) { | 160 if (use_ozone) { |
| 157 deps += [ | 161 deps += [ |
| 158 "//ui/events/ozone:events_ozone", | 162 "//ui/events/ozone:events_ozone", |
| 159 "//ui/events/ozone:events_ozone_evdev", | 163 "//ui/events/ozone:events_ozone_evdev", |
| 160 ] | 164 ] |
| 161 } | 165 } |
| 162 } | 166 } |
| OLD | NEW |