| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 group("host") { | 9 group("host") { |
| 10 testonly = true | 10 testonly = true |
| 11 | 11 |
| 12 deps = [ | 12 deps = [ |
| 13 ":lib", | 13 ":lib", |
| 14 ":mojo_runner_host_unittests", | 14 ":mojo_runner_host_unittests", |
| 15 ] | 15 ] |
| 16 } | 16 } |
| 17 | 17 |
| 18 source_set("native_application_support") { | 18 source_set("native_application_support") { |
| 19 sources = [ | 19 sources = [ |
| 20 "native_application_support.cc", | 20 "native_application_support.cc", |
| 21 "native_application_support.h", | 21 "native_application_support.h", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 deps = [ | 24 deps = [ |
| 25 "//base", | 25 "//base", |
| 26 "//mojo/platform_handle:platform_handle_impl", | |
| 27 "//services/shell", | 26 "//services/shell", |
| 28 ] | 27 ] |
| 29 | 28 |
| 30 # This target has to include the public thunk headers, which generally | 29 # This target has to include the public thunk headers, which generally |
| 31 # shouldn't be included without picking an implementation. We are providing | 30 # shouldn't be included without picking an implementation. We are providing |
| 32 # the implementation but the thunk header target cannot declare that we are | 31 # the implementation but the thunk header target cannot declare that we are |
| 33 # permitted to include it since it's in the public SDK and we are not. | 32 # permitted to include it since it's in the public SDK and we are not. |
| 34 # Suppress include checking so we can still check the rest of the targets in | 33 # Suppress include checking so we can still check the rest of the targets in |
| 35 # this file. | 34 # this file. |
| 36 check_includes = false | 35 check_includes = false |
| 37 } | 36 } |
| 38 | 37 |
| 39 source_set("child_process_base") { | 38 source_set("child_process_base") { |
| 40 sources = [ | 39 sources = [ |
| 41 "child_process_base.cc", | 40 "child_process_base.cc", |
| 42 "child_process_base.h", | 41 "child_process_base.h", |
| 43 ] | 42 ] |
| 44 | 43 |
| 45 deps = [ | 44 deps = [ |
| 46 "//base", | 45 "//base", |
| 47 "//mojo/edk/system", | 46 "//mojo/edk/system", |
| 48 "//mojo/platform_handle:platform_handle_impl", | |
| 49 "//services/shell", | 47 "//services/shell", |
| 50 "//services/shell/public/interfaces", | 48 "//services/shell/public/interfaces", |
| 51 "//services/shell/runner:init", | 49 "//services/shell/runner:init", |
| 52 "//services/shell/runner/common", | 50 "//services/shell/runner/common", |
| 53 ] | 51 ] |
| 54 } | 52 } |
| 55 | 53 |
| 56 source_set("lib") { | 54 source_set("lib") { |
| 57 sources = [ | 55 sources = [ |
| 58 "child_process.cc", | 56 "child_process.cc", |
| 59 "child_process.h", | 57 "child_process.h", |
| 60 "child_process_host.cc", | 58 "child_process_host.cc", |
| 61 "child_process_host.h", | 59 "child_process_host.h", |
| 62 "in_process_native_runner.cc", | 60 "in_process_native_runner.cc", |
| 63 "in_process_native_runner.h", | 61 "in_process_native_runner.h", |
| 64 "out_of_process_native_runner.cc", | 62 "out_of_process_native_runner.cc", |
| 65 "out_of_process_native_runner.h", | 63 "out_of_process_native_runner.h", |
| 66 ] | 64 ] |
| 67 | 65 |
| 68 deps = [ | 66 deps = [ |
| 69 ":child_process_base", | 67 ":child_process_base", |
| 70 ":native_application_support", | 68 ":native_application_support", |
| 71 "//base:base_static", | 69 "//base:base_static", |
| 72 "//base:i18n", | 70 "//base:i18n", |
| 73 "//mojo/platform_handle:platform_handle_impl", | |
| 74 "//services/shell/public/cpp:sources", | 71 "//services/shell/public/cpp:sources", |
| 75 "//services/shell/runner:init", | 72 "//services/shell/runner:init", |
| 76 "//services/shell/runner/common", | 73 "//services/shell/runner/common", |
| 77 ] | 74 ] |
| 78 | 75 |
| 79 public_deps = [ | 76 public_deps = [ |
| 80 "//base", | 77 "//base", |
| 81 "//mojo/edk/system", | 78 "//mojo/edk/system", |
| 82 "//mojo/public/cpp/system", | 79 "//mojo/public/cpp/system", |
| 83 "//services/shell", | 80 "//services/shell", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 ":lib", | 114 ":lib", |
| 118 "//base", | 115 "//base", |
| 119 "//base/test:test_support", | 116 "//base/test:test_support", |
| 120 "//mojo/edk/system", | 117 "//mojo/edk/system", |
| 121 "//services/shell", | 118 "//services/shell", |
| 122 "//services/shell/runner:init", | 119 "//services/shell/runner:init", |
| 123 "//services/shell/runner/common", | 120 "//services/shell/runner/common", |
| 124 "//testing/gtest", | 121 "//testing/gtest", |
| 125 ] | 122 ] |
| 126 } | 123 } |
| OLD | NEW |