Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: services/service_manager/runner/host/BUILD.gn

Issue 2576233002: Consolidating the mojo NativeRunner functionality. (Closed)
Patch Set: Clean-up. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/service_manager/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 group("host") { 10 group("host") {
11 testonly = true 11 testonly = true
12 12
13 deps = [ 13 deps = [
14 ":lib", 14 ":lib",
15 ":mojo_runner_host_unittests", 15 ":mojo_service_process_launcher_unittests",
16 ] 16 ]
17 } 17 }
18 18
19 source_set("lib") { 19 source_set("lib") {
20 sources = [ 20 sources = [
21 "child_process_host.cc", 21 "service_process_launcher.cc",
22 "child_process_host.h", 22 "service_process_launcher.h",
23 "out_of_process_native_runner.cc",
24 "out_of_process_native_runner.h",
25 ] 23 ]
26 24
27 deps = [ 25 deps = [
28 "//base:base_static", 26 "//base:base_static",
29 "//base:i18n", 27 "//base:i18n",
30 "//services/service_manager/public/cpp:sources", 28 "//services/service_manager/public/cpp:sources",
31 "//services/service_manager/public/cpp/standalone_service", 29 "//services/service_manager/public/cpp/standalone_service",
32 "//services/service_manager/runner:init", 30 "//services/service_manager/runner:init",
33 "//services/service_manager/runner/common", 31 "//services/service_manager/runner/common",
34 ] 32 ]
35 33
36 public_deps = [ 34 public_deps = [
37 "//base", 35 "//base",
38 "//mojo/edk/system", 36 "//mojo/edk/system",
39 "//mojo/public/cpp/system", 37 "//mojo/public/cpp/system",
40 "//services/service_manager", 38 "//services/service_manager",
41 "//services/service_manager/public/interfaces", 39 "//services/service_manager/public/interfaces",
42 ] 40 ]
43 41
44 if (is_linux && !is_android) { 42 if (is_linux && !is_android) {
45 deps += [ "//sandbox/linux:sandbox_services" ] 43 deps += [ "//sandbox/linux:sandbox_services" ]
46 } 44 }
47 } 45 }
48 46
49 test("mojo_runner_host_unittests") { 47 test("mojo_service_process_launcher_unittests") {
Ken Rockot(use gerrit already) 2016/12/15 01:13:45 If you rename the test suite you also need to upda
Jay Civelli 2016/12/16 19:35:16 I merged the mojo_runner_host_unittests to service
50 sources = [ 48 sources = [
51 "child_process_host_unittest.cc",
52 "host_unittests.cc", 49 "host_unittests.cc",
50 "service_process_launcher_unittest.cc",
53 ] 51 ]
54 52
55 deps = [ 53 deps = [
56 ":lib", 54 ":lib",
57 "//base", 55 "//base",
58 "//base/test:test_support", 56 "//base/test:test_support",
59 "//mojo/edk/system", 57 "//mojo/edk/system",
60 "//services/service_manager", 58 "//services/service_manager",
61 "//services/service_manager/runner:init", 59 "//services/service_manager/runner:init",
62 "//services/service_manager/runner/common", 60 "//services/service_manager/runner/common",
(...skipping 17 matching lines...) Expand all
80 78
81 data_deps = [ 79 data_deps = [
82 ":host_test_service_manifest", 80 ":host_test_service_manifest",
83 ] 81 ]
84 } 82 }
85 83
86 service_manifest("host_test_service_manifest") { 84 service_manifest("host_test_service_manifest") {
87 name = "host_test_service" 85 name = "host_test_service"
88 source = "host_test_service_manifest.json" 86 source = "host_test_service_manifest.json"
89 } 87 }
OLDNEW
« no previous file with comments | « services/service_manager/native_runner_delegate.h ('k') | services/service_manager/runner/host/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698