| 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("//services/shell/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.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_library_runner") { | 18 source_set("native_library_runner") { |
| 19 sources = [ | 19 sources = [ |
| 20 "native_library_runner.cc", | 20 "native_library_runner.cc", |
| 21 "native_library_runner.h", | 21 "native_library_runner.h", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 deps = [ | 24 deps = [ |
| 25 "//base", | 25 "//base", |
| 26 "//mojo/edk/system", | 26 "//mojo/edk/system", |
| 27 "//services/shell", | 27 "//services/service_manager", |
| 28 ] | 28 ] |
| 29 | 29 |
| 30 # This target has to include the public thunk headers, which generally | 30 # This target has to include the public thunk headers, which generally |
| 31 # shouldn't be included without picking an implementation. We are providing | 31 # shouldn't be included without picking an implementation. We are providing |
| 32 # the implementation but the thunk header target cannot declare that we are | 32 # 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. | 33 # 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 | 34 # Suppress include checking so we can still check the rest of the targets in |
| 35 # this file. | 35 # this file. |
| 36 check_includes = false | 36 check_includes = false |
| 37 } | 37 } |
| 38 | 38 |
| 39 source_set("child_process_base") { | 39 source_set("child_process_base") { |
| 40 sources = [ | 40 sources = [ |
| 41 "child_process_base.cc", | 41 "child_process_base.cc", |
| 42 "child_process_base.h", | 42 "child_process_base.h", |
| 43 ] | 43 ] |
| 44 | 44 |
| 45 deps = [ | 45 deps = [ |
| 46 "//base", | 46 "//base", |
| 47 "//mojo/edk/system", | 47 "//mojo/edk/system", |
| 48 "//services/shell", | 48 "//services/service_manager", |
| 49 "//services/shell/public/interfaces", | 49 "//services/service_manager/public/interfaces", |
| 50 "//services/shell/runner:init", | 50 "//services/service_manager/runner:init", |
| 51 "//services/shell/runner/common", | 51 "//services/service_manager/runner/common", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 if (is_linux && !is_android) { | 54 if (is_linux && !is_android) { |
| 55 sources += [ | 55 sources += [ |
| 56 "linux_sandbox.cc", | 56 "linux_sandbox.cc", |
| 57 "linux_sandbox.h", | 57 "linux_sandbox.h", |
| 58 ] | 58 ] |
| 59 | 59 |
| 60 deps += [ | 60 deps += [ |
| 61 "//sandbox/linux:sandbox", | 61 "//sandbox/linux:sandbox", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 82 "in_process_native_runner.h", | 82 "in_process_native_runner.h", |
| 83 "out_of_process_native_runner.cc", | 83 "out_of_process_native_runner.cc", |
| 84 "out_of_process_native_runner.h", | 84 "out_of_process_native_runner.h", |
| 85 ] | 85 ] |
| 86 | 86 |
| 87 deps = [ | 87 deps = [ |
| 88 ":child_process_base", | 88 ":child_process_base", |
| 89 ":native_library_runner", | 89 ":native_library_runner", |
| 90 "//base:base_static", | 90 "//base:base_static", |
| 91 "//base:i18n", | 91 "//base:i18n", |
| 92 "//services/shell/public/cpp:sources", | 92 "//services/service_manager/public/cpp:sources", |
| 93 "//services/shell/runner:init", | 93 "//services/service_manager/runner:init", |
| 94 "//services/shell/runner/common", | 94 "//services/service_manager/runner/common", |
| 95 ] | 95 ] |
| 96 | 96 |
| 97 public_deps = [ | 97 public_deps = [ |
| 98 "//base", | 98 "//base", |
| 99 "//mojo/edk/system", | 99 "//mojo/edk/system", |
| 100 "//mojo/public/cpp/system", | 100 "//mojo/public/cpp/system", |
| 101 "//services/shell", | 101 "//services/service_manager", |
| 102 "//services/shell/public/interfaces", | 102 "//services/service_manager/public/interfaces", |
| 103 ] | 103 ] |
| 104 | 104 |
| 105 if (is_linux && !is_android) { | 105 if (is_linux && !is_android) { |
| 106 deps += [ "//sandbox/linux:sandbox_services" ] | 106 deps += [ "//sandbox/linux:sandbox_services" ] |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 | 109 |
| 110 test("mojo_runner_host_unittests") { | 110 test("mojo_runner_host_unittests") { |
| 111 sources = [ | 111 sources = [ |
| 112 "child_process_host_unittest.cc", | 112 "child_process_host_unittest.cc", |
| 113 "host_unittests.cc", | 113 "host_unittests.cc", |
| 114 "in_process_native_runner_unittest.cc", | 114 "in_process_native_runner_unittest.cc", |
| 115 ] | 115 ] |
| 116 | 116 |
| 117 deps = [ | 117 deps = [ |
| 118 ":lib", | 118 ":lib", |
| 119 "//base", | 119 "//base", |
| 120 "//base/test:test_support", | 120 "//base/test:test_support", |
| 121 "//mojo/edk/system", | 121 "//mojo/edk/system", |
| 122 "//services/shell", | 122 "//services/service_manager", |
| 123 "//services/shell/runner:init", | 123 "//services/service_manager/runner:init", |
| 124 "//services/shell/runner/common", | 124 "//services/service_manager/runner/common", |
| 125 "//testing/gtest", | 125 "//testing/gtest", |
| 126 ] | 126 ] |
| 127 } | 127 } |
| OLD | NEW |