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/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 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 group("all") { | 10 group("all") { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 "//mojo/common", | 54 "//mojo/common", |
55 "//mojo/public/cpp/bindings", | 55 "//mojo/public/cpp/bindings", |
56 "//mojo/services/network/public/interfaces", | 56 "//mojo/services/network/public/interfaces", |
57 "//mojo/services/updater", | 57 "//mojo/services/updater", |
58 "//mojo/shell/public/interfaces", | 58 "//mojo/shell/public/interfaces", |
59 "//url", | 59 "//url", |
60 ] | 60 ] |
61 deps = [ | 61 deps = [ |
62 "//base/third_party/dynamic_annotations", | 62 "//base/third_party/dynamic_annotations", |
63 "//crypto:crypto", | 63 "//crypto:crypto", |
| 64 "//mojo/edk/system", |
64 "//mojo/environment:chromium", | 65 "//mojo/environment:chromium", |
65 "//mojo/shell/public/cpp:sources", | 66 "//mojo/shell/public/cpp:sources", |
66 "//mojo/util:filename_util", | 67 "//mojo/util:filename_util", |
67 "//third_party/mojo/src/mojo/edk/system", | |
68 "//url", | 68 "//url", |
69 ] | 69 ] |
70 } | 70 } |
71 | 71 |
72 source_set("test_support") { | 72 source_set("test_support") { |
73 testonly = true | 73 testonly = true |
74 sources = [ | 74 sources = [ |
75 "capability_filter_test.cc", | 75 "capability_filter_test.cc", |
76 "capability_filter_test.h", | 76 "capability_filter_test.h", |
77 "test_package_manager.cc", | 77 "test_package_manager.cc", |
(...skipping 22 matching lines...) Expand all Loading... |
100 "fetcher/url_resolver_unittest.cc", | 100 "fetcher/url_resolver_unittest.cc", |
101 "query_util_unittest.cc", | 101 "query_util_unittest.cc", |
102 ] | 102 ] |
103 | 103 |
104 deps = [ | 104 deps = [ |
105 ":shell", | 105 ":shell", |
106 ":test_bindings", | 106 ":test_bindings", |
107 ":test_support", | 107 ":test_support", |
108 "//base", | 108 "//base", |
109 "//mojo/edk/system:test_utils", | 109 "//mojo/edk/system:test_utils", |
| 110 "//mojo/edk/test:run_all_unittests", |
110 "//mojo/public/cpp/system", | 111 "//mojo/public/cpp/system", |
111 "//mojo/shell/fetcher", | 112 "//mojo/shell/fetcher", |
112 "//mojo/shell/package_manager", | 113 "//mojo/shell/package_manager", |
113 "//mojo/shell/public/cpp", | 114 "//mojo/shell/public/cpp", |
114 "//mojo/util:filename_util", | 115 "//mojo/util:filename_util", |
115 "//testing/gtest", | 116 "//testing/gtest", |
116 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | |
117 "//url", | 117 "//url", |
118 ] | 118 ] |
119 } | 119 } |
120 | 120 |
121 mojom("test_bindings") { | 121 mojom("test_bindings") { |
122 sources = [ | 122 sources = [ |
123 "application_manager_apptests.mojom", | 123 "application_manager_apptests.mojom", |
124 "application_package_apptest.mojom", | 124 "application_package_apptest.mojom", |
125 "capability_filter_unittest.mojom", | 125 "capability_filter_unittest.mojom", |
126 "test.mojom", | 126 "test.mojom", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 ] | 185 ] |
186 | 186 |
187 deps = [ | 187 deps = [ |
188 ":copy_application_manager_apptest_driver_manifest", | 188 ":copy_application_manager_apptest_driver_manifest", |
189 ":test_bindings", | 189 ":test_bindings", |
190 "//base", | 190 "//base", |
191 "//base:base_static", | 191 "//base:base_static", |
192 "//build/config/sanitizers:deps", | 192 "//build/config/sanitizers:deps", |
193 "//mojo/common:common_base", | 193 "//mojo/common:common_base", |
194 "//mojo/converters/network", | 194 "//mojo/converters/network", |
| 195 "//mojo/edk/system", |
195 "//mojo/shell/public/cpp", | 196 "//mojo/shell/public/cpp", |
196 "//mojo/shell/public/interfaces", | 197 "//mojo/shell/public/interfaces", |
197 "//mojo/shell/runner:init", | 198 "//mojo/shell/runner:init", |
198 "//mojo/shell/runner/child:test_native_main", | 199 "//mojo/shell/runner/child:test_native_main", |
199 "//mojo/shell/runner/common", | 200 "//mojo/shell/runner/common", |
200 "//third_party/mojo/src/mojo/edk/system", | |
201 ] | 201 ] |
202 } | 202 } |
203 | 203 |
204 copy("copy_application_manager_apptest_driver_manifest") { | 204 copy("copy_application_manager_apptest_driver_manifest") { |
205 sources = [ | 205 sources = [ |
206 "application_manager_apptest_driver_manifest.json", | 206 "application_manager_apptest_driver_manifest.json", |
207 ] | 207 ] |
208 outputs = [ | 208 outputs = [ |
209 "${root_out_dir}/{{source_file_part}}", | 209 "${root_out_dir}/{{source_file_part}}", |
210 ] | 210 ] |
211 } | 211 } |
212 | 212 |
213 executable("application_manager_apptest_target") { | 213 executable("application_manager_apptest_target") { |
214 testonly = true | 214 testonly = true |
215 | 215 |
216 sources = [ | 216 sources = [ |
217 "application_manager_apptest_target.cc", | 217 "application_manager_apptest_target.cc", |
218 ] | 218 ] |
219 | 219 |
220 deps = [ | 220 deps = [ |
221 ":test_bindings", | 221 ":test_bindings", |
222 "//base", | 222 "//base", |
223 "//build/config/sanitizers:deps", | 223 "//build/config/sanitizers:deps", |
224 "//mojo/common:common_base", | 224 "//mojo/common:common_base", |
225 "//mojo/converters/network", | 225 "//mojo/converters/network", |
226 "//mojo/shell/public/cpp", | 226 "//mojo/shell/public/cpp", |
227 "//mojo/shell/runner/child:test_native_main", | 227 "//mojo/shell/runner/child:test_native_main", |
228 ] | 228 ] |
229 } | 229 } |
OLD | NEW |