| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//mojo/public/mojo.gni") | 6 import("//mojo/public/mojo.gni") |
| 7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//mojo/tools/embed/rules.gni") | 9 import("//mojo/tools/embed/rules.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 "init.h", | 108 "init.h", |
| 109 ] | 109 ] |
| 110 | 110 |
| 111 deps = [ | 111 deps = [ |
| 112 "//base", | 112 "//base", |
| 113 ] | 113 ] |
| 114 } | 114 } |
| 115 | 115 |
| 116 source_set("in_process_native_runner") { | 116 source_set("in_process_native_runner") { |
| 117 sources = [ | 117 sources = [ |
| 118 "dynamic_service_runner.cc", | |
| 119 "dynamic_service_runner.h", | |
| 120 "in_process_native_runner.cc", | 118 "in_process_native_runner.cc", |
| 121 "in_process_native_runner.h", | 119 "in_process_native_runner.h", |
| 122 ] | 120 ] |
| 123 | 121 |
| 124 public_deps = [ | 122 public_deps = [ |
| 125 "//shell/application_manager:application_manager", | 123 ":native_application_support", |
| 124 "//shell/application_manager", |
| 126 ] | 125 ] |
| 127 | 126 |
| 128 deps = [ | 127 deps = [ |
| 129 "//base", | 128 "//base", |
| 130 "//mojo/gles2", | |
| 131 "//mojo/public/cpp/system", | |
| 132 ] | 129 ] |
| 133 | |
| 134 # This target has to include the public thunk headers, which generally | |
| 135 # shouldn't be included without picking an implementation. We are providing | |
| 136 # the implementation but the thunk header target cannot declare that we are | |
| 137 # permitted to include it since it's in the public SDK and we are not. | |
| 138 # Suppress include checking so we can still check the rest of the targets in | |
| 139 # this file. | |
| 140 check_includes = false | |
| 141 } | 130 } |
| 142 | 131 |
| 143 source_set("lib") { | 132 source_set("lib") { |
| 144 sources = [ | 133 sources = [ |
| 145 "app_child_process.cc", | 134 "app_child_process.cc", |
| 146 "app_child_process.h", | 135 "app_child_process.h", |
| 147 "app_child_process_host.cc", | 136 "app_child_process_host.cc", |
| 148 "app_child_process_host.h", | 137 "app_child_process_host.h", |
| 149 "child_process.cc", | 138 "child_process.cc", |
| 150 "child_process.h", | 139 "child_process.h", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 168 "test_child_process.h", | 157 "test_child_process.h", |
| 169 "url_resolver.cc", | 158 "url_resolver.cc", |
| 170 "url_resolver.h", | 159 "url_resolver.h", |
| 171 ] | 160 ] |
| 172 | 161 |
| 173 deps = [ | 162 deps = [ |
| 174 ":app_child_process_bindings", | 163 ":app_child_process_bindings", |
| 175 ":external_application_registrar_bindings", | 164 ":external_application_registrar_bindings", |
| 176 ":init", | 165 ":init", |
| 177 ":in_process_native_runner", | 166 ":in_process_native_runner", |
| 167 ":native_application_support", |
| 178 "//base", | 168 "//base", |
| 179 "//base/third_party/dynamic_annotations", | 169 "//base/third_party/dynamic_annotations", |
| 180 "//base:base_static", | 170 "//base:base_static", |
| 181 "//mojo/application", | 171 "//mojo/application", |
| 182 "//mojo/common", | 172 "//mojo/common", |
| 183 "//mojo/common:tracing_impl", | 173 "//mojo/common:tracing_impl", |
| 184 "//mojo/edk/system", | 174 "//mojo/edk/system", |
| 185 "//mojo/public/cpp/bindings", | 175 "//mojo/public/cpp/bindings", |
| 186 "//mojo/public/interfaces/application", | 176 "//mojo/public/interfaces/application", |
| 187 "//mojo/services/network/public/interfaces", | 177 "//mojo/services/network/public/interfaces", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 217 |
| 228 # This target includes some files behind #ifdef OS... guards. Since gn is not | 218 # This target includes some files behind #ifdef OS... guards. Since gn is not |
| 229 # smart enough to understand preprocess includes, it does complains about | 219 # smart enough to understand preprocess includes, it does complains about |
| 230 # these includes when not using the build files for that OS. Suppress checking | 220 # these includes when not using the build files for that OS. Suppress checking |
| 231 # so we can enable checking for the rest of the targets in this file. | 221 # so we can enable checking for the rest of the targets in this file. |
| 232 # TODO: Might be better to split the files with OS-specific includes out to a | 222 # TODO: Might be better to split the files with OS-specific includes out to a |
| 233 # separate source_set so we can leave checking on for the rest of the target. | 223 # separate source_set so we can leave checking on for the rest of the target. |
| 234 check_includes = false | 224 check_includes = false |
| 235 } | 225 } |
| 236 | 226 |
| 227 source_set("native_application_support") { |
| 228 sources = [ |
| 229 "native_application_support.cc", |
| 230 "native_application_support.h", |
| 231 ] |
| 232 |
| 233 public_deps = [ |
| 234 "//mojo/public/cpp/bindings", |
| 235 ] |
| 236 |
| 237 deps = [ |
| 238 "//base", |
| 239 "//mojo/gles2", |
| 240 ] |
| 241 |
| 242 # This target has to include the public thunk headers, which generally |
| 243 # shouldn't be included without picking an implementation. We are providing |
| 244 # the implementation but the thunk header target cannot declare that we are |
| 245 # permitted to include it since it's in the public SDK and we are not. |
| 246 # Suppress include checking so we can still check the rest of the targets in |
| 247 # this file. |
| 248 check_includes = false |
| 249 } |
| 250 |
| 237 source_set("switches") { | 251 source_set("switches") { |
| 238 sources = [ | 252 sources = [ |
| 239 "switches.cc", | 253 "switches.cc", |
| 240 "switches.h", | 254 "switches.h", |
| 241 ] | 255 ] |
| 242 | 256 |
| 243 deps = [ | 257 deps = [ |
| 244 "//base", | 258 "//base", |
| 245 ] | 259 ] |
| 246 } | 260 } |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 "//mojo/public/cpp/system:system", | 566 "//mojo/public/cpp/system:system", |
| 553 "//mojo/services/http_server/public/cpp", | 567 "//mojo/services/http_server/public/cpp", |
| 554 "//mojo/services/http_server/public/interfaces", | 568 "//mojo/services/http_server/public/interfaces", |
| 555 "//mojo/services/network/public/interfaces", | 569 "//mojo/services/network/public/interfaces", |
| 556 "//shell/test:bindings", | 570 "//shell/test:bindings", |
| 557 ":embed_pingable", | 571 ":embed_pingable", |
| 558 ] | 572 ] |
| 559 | 573 |
| 560 data_deps = [ "//services/http_server:http_server($default_toolchain)" ] | 574 data_deps = [ "//services/http_server:http_server($default_toolchain)" ] |
| 561 } | 575 } |
| OLD | NEW |