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

Side by Side Diff: mojo/runner/child/BUILD.gn

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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
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 7
8 group("child") { 8 group("child") {
9 testonly = true 9 testonly = true
10 deps = [ 10 deps = [
11 ":apptests", 11 ":apptests",
12 ":lib", 12 ":lib",
13 ] 13 ]
14 } 14 }
15 15
16 source_set("lib") { 16 source_set("lib") {
17 sources = [ 17 sources = [
18 "runner_connection.cc", 18 "runner_connection.cc",
19 "runner_connection.h", 19 "runner_connection.h",
20 ] 20 ]
21 21
22 deps = [ 22 deps = [
23 ":interfaces", 23 ":interfaces",
24 "//base", 24 "//base",
25 "//mojo/application/public/interfaces",
26 "//mojo/message_pump", 25 "//mojo/message_pump",
27 "//mojo/platform_handle:platform_handle_impl", 26 "//mojo/platform_handle:platform_handle_impl",
27 "//mojo/shell/public/interfaces",
28 "//third_party/mojo/src/mojo/edk/system", 28 "//third_party/mojo/src/mojo/edk/system",
29 ] 29 ]
30 } 30 }
31 31
32 mojom("interfaces") { 32 mojom("interfaces") {
33 sources = [ 33 sources = [
34 "child_controller.mojom", 34 "child_controller.mojom",
35 ] 35 ]
36 36
37 deps = [ 37 deps = [
38 "//mojo/application/public/interfaces", 38 "//mojo/shell/public/interfaces",
39 ] 39 ]
40 40
41 import_dirs = [ "//mojo/services" ] 41 import_dirs = [ "//mojo/services" ]
42 } 42 }
43 43
44 source_set("test_native_main") { 44 source_set("test_native_main") {
45 sources = [ 45 sources = [
46 "test_native_main.cc", 46 "test_native_main.cc",
47 "test_native_main.h", 47 "test_native_main.h",
48 ] 48 ]
49 49
50 public_deps = [ 50 public_deps = [
51 "//mojo/runner:init", 51 "//mojo/runner:init",
52 ] 52 ]
53 53
54 deps = [ 54 deps = [
55 "//base", 55 "//base",
56 "//mojo/application/public/cpp",
57 "//mojo/gles2", 56 "//mojo/gles2",
58 "//mojo/message_pump", 57 "//mojo/message_pump",
59 "//mojo/runner/child:lib", 58 "//mojo/runner/child:lib",
59 "//mojo/shell/public/cpp",
60 "//third_party/mojo/src/mojo/edk/system", 60 "//third_party/mojo/src/mojo/edk/system",
61 ] 61 ]
62 } 62 }
63 63
64 mojom("apptest_interfaces") { 64 mojom("apptest_interfaces") {
65 sources = [ 65 sources = [
66 "test_native_service.mojom", 66 "test_native_service.mojom",
67 ] 67 ]
68 68
69 deps = [ 69 deps = [
70 "//mojo/application/public/interfaces", 70 "//mojo/shell/public/interfaces",
71 ] 71 ]
72 72
73 import_dirs = [ "//mojo/services" ] 73 import_dirs = [ "//mojo/services" ]
74 } 74 }
75 75
76 mojo_native_application("apptests") { 76 mojo_native_application("apptests") {
77 output_name = "mojo_runner_child_apptest" 77 output_name = "mojo_runner_child_apptest"
78 testonly = true 78 testonly = true
79 avoid_runner_cycle = true 79 avoid_runner_cycle = true
80 80
81 sources = [ 81 sources = [
82 "native_apptest.cc", 82 "native_apptest.cc",
83 ] 83 ]
84 84
85 deps = [ 85 deps = [
86 ":apptest_interfaces", 86 ":apptest_interfaces",
87 "//base", 87 "//base",
88 "//base/test:test_config", 88 "//base/test:test_config",
89 "//mojo/application/public/cpp:sources",
90 "//mojo/application/public/cpp:test_support",
91 "//mojo/common:common_base", 89 "//mojo/common:common_base",
92 "//mojo/converters/network:network", 90 "//mojo/converters/network:network",
91 "//mojo/shell/public/cpp:sources",
92 "//mojo/shell/public/cpp:test_support",
93 ] 93 ]
94 94
95 data_deps = [ 95 data_deps = [
96 ":native_target", 96 ":native_target",
97 ] 97 ]
98 } 98 }
99 99
100 executable("native_target") { 100 executable("native_target") {
101 output_name = "mojo_runner_child_apptest_native_target" 101 output_name = "mojo_runner_child_apptest_native_target"
102 testonly = true 102 testonly = true
103 103
104 sources = [ 104 sources = [
105 "native_apptest_target.cc", 105 "native_apptest_target.cc",
106 ] 106 ]
107 107
108 deps = [ 108 deps = [
109 ":apptest_interfaces", 109 ":apptest_interfaces",
110 ":lib", 110 ":lib",
111 ":test_native_main", 111 ":test_native_main",
112 "//base", 112 "//base",
113 "//mojo/application/public/cpp",
114 "//mojo/common:common_base", 113 "//mojo/common:common_base",
114 "//mojo/shell/public/cpp",
115 ] 115 ]
116 } 116 }
OLDNEW
« no previous file with comments | « mojo/runner/android/background_application_loader_unittest.cc ('k') | mojo/runner/child/child_controller.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698