| 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/browser", | |
| 24 "//chrome/browser/devtools", | 23 "//chrome/browser/devtools", |
| 25 "//chrome/browser/ui", | |
| 26 "//chrome/browser/ui/views", | 24 "//chrome/browser/ui/views", |
| 27 "//chrome/common", | 25 "//chrome/common", |
| 28 "//chrome/plugin", | 26 "//chrome/plugin", |
| 29 "//chrome/renderer", | 27 "//chrome/renderer", |
| 30 "//chrome/service", | 28 "//chrome/service", |
| 31 "//chrome/utility", | 29 "//chrome/utility", |
| 32 "//components:all_components", | 30 "//components:all_components", |
| 33 "//content", | 31 "//content", |
| 34 "//crypto", | 32 "//crypto", |
| 35 "//extensions/common/api:extensions_api", | 33 "//extensions/common/api:extensions_api", |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 } | 131 } |
| 134 | 132 |
| 135 if (cpu_arch == "x86" || cpu_arch == "x64") { | 133 if (cpu_arch == "x86" || cpu_arch == "x64") { |
| 136 # YASM is x86/x64 only. | 134 # YASM is x86/x64 only. |
| 137 deps += [ "//third_party/yasm($host_toolchain)" ] | 135 deps += [ "//third_party/yasm($host_toolchain)" ] |
| 138 } | 136 } |
| 139 | 137 |
| 140 if (is_android) { | 138 if (is_android) { |
| 141 deps -= [ | 139 deps -= [ |
| 142 "//cc", | 140 "//cc", |
| 143 "//chrome/browser", # Blocked on content. | |
| 144 "//chrome/browser/devtools", # Blocked on content. | 141 "//chrome/browser/devtools", # Blocked on content. |
| 145 "//chrome/browser/ui", # Blocked on content. | |
| 146 "//chrome/browser/ui/views", # Blocked on content. | 142 "//chrome/browser/ui/views", # Blocked on content. |
| 147 "//chrome/common", # Blocked on content. | 143 "//chrome/common", # Blocked on content. |
| 148 "//chrome/plugin", # Blocked on content. | 144 "//chrome/plugin", # Blocked on content. |
| 149 "//chrome/renderer", # Blocked on content. | 145 "//chrome/renderer", # Blocked on content. |
| 150 "//chrome/service", # Blocked on content. | 146 "//chrome/service", # Blocked on content. |
| 151 "//chrome/utility", # Blocked on content. | 147 "//chrome/utility", # Blocked on content. |
| 152 "//content", | 148 "//content", |
| 153 "//extensions/common/api:extensions_api", | 149 "//extensions/common/api:extensions_api", |
| 154 "//pdf", # Not compiled on Android in GYP yet, either. | 150 "//pdf", # Not compiled on Android in GYP yet, either. |
| 155 "//ppapi:ppapi_c", | 151 "//ppapi:ppapi_c", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 180 ] | 176 ] |
| 181 } | 177 } |
| 182 | 178 |
| 183 if (use_ozone) { | 179 if (use_ozone) { |
| 184 deps += [ | 180 deps += [ |
| 185 "//ui/events/ozone:events_ozone", | 181 "//ui/events/ozone:events_ozone", |
| 186 "//ui/events/ozone:events_ozone_evdev", | 182 "//ui/events/ozone:events_ozone_evdev", |
| 187 ] | 183 ] |
| 188 } | 184 } |
| 189 } | 185 } |
| OLD | NEW |