OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 source_set("shell") { | 9 source_set("shell") { |
10 output_name = "mojo_shell" | 10 output_name = "mojo_shell" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 public_deps = [ | 43 public_deps = [ |
44 "//base", | 44 "//base", |
45 "//mojo/application/public/interfaces", | 45 "//mojo/application/public/interfaces", |
46 "//mojo/common", | 46 "//mojo/common", |
47 "//mojo/public/cpp/bindings", | 47 "//mojo/public/cpp/bindings", |
48 "//mojo/services/network/public/interfaces", | 48 "//mojo/services/network/public/interfaces", |
49 "//mojo/services/updater", | 49 "//mojo/services/updater", |
50 "//url", | 50 "//url", |
51 ] | 51 ] |
52 deps = [ | 52 deps = [ |
53 ":interfaces", | |
54 "//base/third_party/dynamic_annotations", | 53 "//base/third_party/dynamic_annotations", |
55 "//crypto:crypto", | 54 "//crypto:crypto", |
56 "//mojo/application/public/cpp:sources", | 55 "//mojo/application/public/cpp:sources", |
57 "//mojo/environment:chromium", | 56 "//mojo/environment:chromium", |
58 "//mojo/util:filename_util", | 57 "//mojo/util:filename_util", |
59 "//third_party/mojo/src/mojo/edk/system", | 58 "//third_party/mojo/src/mojo/edk/system", |
60 "//url", | 59 "//url", |
61 ] | 60 ] |
62 } | 61 } |
63 | 62 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 } | 107 } |
109 | 108 |
110 mojom("test_bindings") { | 109 mojom("test_bindings") { |
111 sources = [ | 110 sources = [ |
112 "application_manager_apptests.mojom", | 111 "application_manager_apptests.mojom", |
113 "capability_filter_unittest.mojom", | 112 "capability_filter_unittest.mojom", |
114 "test.mojom", | 113 "test.mojom", |
115 ] | 114 ] |
116 } | 115 } |
117 | 116 |
118 mojom("interfaces") { | |
119 sources = [ | |
120 "application_manager.mojom", | |
121 ] | |
122 } | |
123 | |
124 mojo_native_application("apptests") { | 117 mojo_native_application("apptests") { |
125 output_name = "mojo_shell_apptests" | 118 output_name = "mojo_shell_apptests" |
126 testonly = true | 119 testonly = true |
127 | 120 |
128 sources = [ | 121 sources = [ |
129 "application_manager_apptest.cc", | 122 "application_manager_apptest.cc", |
130 ] | 123 ] |
131 | 124 |
132 deps = [ | 125 deps = [ |
133 ":test_bindings", | 126 ":test_bindings", |
(...skipping 16 matching lines...) Expand all Loading... |
150 | 143 |
151 sources = [ | 144 sources = [ |
152 "application_manager_apptest_driver.cc", | 145 "application_manager_apptest_driver.cc", |
153 ] | 146 ] |
154 | 147 |
155 deps = [ | 148 deps = [ |
156 ":test_bindings", | 149 ":test_bindings", |
157 "//base", | 150 "//base", |
158 "//base:base_static", | 151 "//base:base_static", |
159 "//mojo/application/public/cpp", | 152 "//mojo/application/public/cpp", |
| 153 "//mojo/application/public/interfaces", |
160 "//mojo/common:common_base", | 154 "//mojo/common:common_base", |
161 "//mojo/converters/network", | 155 "//mojo/converters/network", |
162 "//mojo/runner:init", | 156 "//mojo/runner:init", |
163 "//mojo/runner/child:test_native_main", | 157 "//mojo/runner/child:test_native_main", |
164 "//mojo/shell:interfaces", | |
165 "//third_party/mojo/src/mojo/edk/system", | 158 "//third_party/mojo/src/mojo/edk/system", |
166 ] | 159 ] |
167 } | 160 } |
168 | 161 |
169 executable("application_manager_apptest_target") { | 162 executable("application_manager_apptest_target") { |
170 testonly = true | 163 testonly = true |
171 | 164 |
172 sources = [ | 165 sources = [ |
173 "application_manager_apptest_target.cc", | 166 "application_manager_apptest_target.cc", |
174 ] | 167 ] |
175 | 168 |
176 deps = [ | 169 deps = [ |
177 ":test_bindings", | 170 ":test_bindings", |
178 "//base", | 171 "//base", |
179 "//mojo/application/public/cpp", | 172 "//mojo/application/public/cpp", |
180 "//mojo/common:common_base", | 173 "//mojo/common:common_base", |
181 "//mojo/converters/network", | 174 "//mojo/converters/network", |
182 "//mojo/runner/child:test_native_main", | 175 "//mojo/runner/child:test_native_main", |
183 ] | 176 ] |
184 } | 177 } |
OLD | NEW |