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

Side by Side Diff: services/shell/runner/child/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/BUILD.gn ('k') | services/shell/runner/child/manifest.json » ('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/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_manifest.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 group("child") { 9 group("child") {
10 testonly = true 10 testonly = true
11 deps = [ 11 deps = [
12 ":apptests", 12 ":apptests",
13 ] 13 ]
14 } 14 }
15 15
16 source_set("test_native_main") { 16 source_set("test_native_main") {
17 sources = [ 17 sources = [
18 "test_native_main.cc", 18 "test_native_main.cc",
19 "test_native_main.h", 19 "test_native_main.h",
20 ] 20 ]
21 21
22 public_deps = [ 22 public_deps = [
23 "//mojo/shell/runner:init", 23 "//services/shell/runner:init",
24 ] 24 ]
25 25
26 deps = [ 26 deps = [
27 "//base", 27 "//base",
28 "//mojo/edk/system", 28 "//mojo/edk/system",
29 "//mojo/message_pump", 29 "//mojo/message_pump",
30 "//mojo/shell/public/cpp", 30 "//services/shell/public/cpp",
31 "//mojo/shell/runner/common", 31 "//services/shell/runner/common",
32 ] 32 ]
33 } 33 }
34 34
35 mojom("apptest_interfaces") { 35 mojom("apptest_interfaces") {
36 sources = [ 36 sources = [
37 "test_native_service.mojom", 37 "test_native_service.mojom",
38 ] 38 ]
39 39
40 deps = [ 40 deps = [
41 "//mojo/shell/public/interfaces", 41 "//services/shell/public/interfaces",
42 ] 42 ]
43 43
44 import_dirs = [ "//mojo/services" ] 44 import_dirs = [ "//mojo/services" ]
45 } 45 }
46 46
47 mojo_native_application("apptests") { 47 mojo_native_application("apptests") {
48 output_name = "mojo_runner_child_apptest" 48 output_name = "mojo_runner_child_apptest"
49 testonly = true 49 testonly = true
50 avoid_runner_cycle = true 50 avoid_runner_cycle = true
51 51
52 sources = [ 52 sources = [
53 "native_apptest.cc", 53 "native_apptest.cc",
54 ] 54 ]
55 55
56 deps = [ 56 deps = [
57 ":apptest_interfaces", 57 ":apptest_interfaces",
58 "//base", 58 "//base",
59 "//base/test:test_config", 59 "//base/test:test_config",
60 "//mojo/shell/public/cpp:sources", 60 "//services/shell/public/cpp:sources",
61 "//mojo/shell/public/cpp:test_support", 61 "//services/shell/public/cpp:test_support",
62 ] 62 ]
63 63
64 data_deps = [ 64 data_deps = [
65 ":manifest", 65 ":manifest",
66 ":native_target", 66 ":native_target",
67 ] 67 ]
68 } 68 }
69 69
70 mojo_application_manifest("manifest") { 70 mojo_application_manifest("manifest") {
71 application_name = "mojo_runner_child_apptest" 71 application_name = "mojo_runner_child_apptest"
72 source = "manifest.json" 72 source = "manifest.json"
73 } 73 }
74 74
75 executable("native_target") { 75 executable("native_target") {
76 output_name = "mojo_runner_child_apptest_native_target" 76 output_name = "mojo_runner_child_apptest_native_target"
77 testonly = true 77 testonly = true
78 78
79 sources = [ 79 sources = [
80 "native_apptest_target.cc", 80 "native_apptest_target.cc",
81 ] 81 ]
82 82
83 deps = [ 83 deps = [
84 ":apptest_interfaces", 84 ":apptest_interfaces",
85 ":test_native_main", 85 ":test_native_main",
86 "//base", 86 "//base",
87 "//build/config/sanitizers:deps", 87 "//build/config/sanitizers:deps",
88 "//mojo/shell/public/cpp", 88 "//services/shell/public/cpp",
89 ] 89 ]
90 } 90 }
OLDNEW
« no previous file with comments | « services/shell/runner/BUILD.gn ('k') | services/shell/runner/child/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698