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

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

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 months 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
« no previous file with comments | « services/shell/runner/common/switches.cc ('k') | services/shell/runner/host/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//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", 26 "//mojo/platform_handle:platform_handle_impl",
27 "//mojo/shell", 27 "//services/shell",
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 "//mojo/message_pump", 48 "//mojo/message_pump",
49 "//mojo/platform_handle:platform_handle_impl", 49 "//mojo/platform_handle:platform_handle_impl",
50 "//mojo/shell", 50 "//services/shell",
51 "//mojo/shell/public/interfaces", 51 "//services/shell/public/interfaces",
52 "//mojo/shell/runner:init", 52 "//services/shell/runner:init",
53 "//mojo/shell/runner/common", 53 "//services/shell/runner/common",
54 ] 54 ]
55 } 55 }
56 56
57 source_set("lib") { 57 source_set("lib") {
58 sources = [ 58 sources = [
59 "child_process.cc", 59 "child_process.cc",
60 "child_process.h", 60 "child_process.h",
61 "child_process_host.cc", 61 "child_process_host.cc",
62 "child_process_host.h", 62 "child_process_host.h",
63 "in_process_native_runner.cc", 63 "in_process_native_runner.cc",
64 "in_process_native_runner.h", 64 "in_process_native_runner.h",
65 "out_of_process_native_runner.cc", 65 "out_of_process_native_runner.cc",
66 "out_of_process_native_runner.h", 66 "out_of_process_native_runner.h",
67 ] 67 ]
68 68
69 deps = [ 69 deps = [
70 ":child_process_base", 70 ":child_process_base",
71 ":native_application_support", 71 ":native_application_support",
72 "//base:base_static", 72 "//base:base_static",
73 "//base:i18n", 73 "//base:i18n",
74 "//mojo/message_pump", 74 "//mojo/message_pump",
75 "//mojo/platform_handle:platform_handle_impl", 75 "//mojo/platform_handle:platform_handle_impl",
76 "//mojo/shell/public/cpp:sources", 76 "//services/shell/public/cpp:sources",
77 "//mojo/shell/runner:init", 77 "//services/shell/runner:init",
78 "//mojo/shell/runner/common", 78 "//services/shell/runner/common",
79 ] 79 ]
80 80
81 public_deps = [ 81 public_deps = [
82 "//base", 82 "//base",
83 "//mojo/edk/system", 83 "//mojo/edk/system",
84 "//mojo/public/cpp/system", 84 "//mojo/public/cpp/system",
85 "//mojo/shell", 85 "//services/shell",
86 "//mojo/shell/public/interfaces", 86 "//services/shell/public/interfaces",
87 ] 87 ]
88 88
89 if (is_linux && !is_android) { 89 if (is_linux && !is_android) {
90 sources += [ 90 sources += [
91 "linux_sandbox.cc", 91 "linux_sandbox.cc",
92 "linux_sandbox.h", 92 "linux_sandbox.h",
93 ] 93 ]
94 94
95 deps += [ 95 deps += [
96 "//sandbox/linux:sandbox", 96 "//sandbox/linux:sandbox",
(...skipping 17 matching lines...) Expand all
114 "host_unittests.cc", 114 "host_unittests.cc",
115 "in_process_native_runner_unittest.cc", 115 "in_process_native_runner_unittest.cc",
116 ] 116 ]
117 117
118 deps = [ 118 deps = [
119 ":lib", 119 ":lib",
120 "//base", 120 "//base",
121 "//base/test:test_support", 121 "//base/test:test_support",
122 "//mojo/edk/system", 122 "//mojo/edk/system",
123 "//mojo/message_pump", 123 "//mojo/message_pump",
124 "//mojo/shell", 124 "//services/shell",
125 "//mojo/shell/runner:init", 125 "//services/shell/runner:init",
126 "//mojo/shell/runner/common", 126 "//services/shell/runner/common",
127 "//testing/gtest", 127 "//testing/gtest",
128 ] 128 ]
129 } 129 }
OLDNEW
« no previous file with comments | « services/shell/runner/common/switches.cc ('k') | services/shell/runner/host/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698