OLD | NEW |
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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("package_manager") { | 7 source_set("package_manager") { |
8 sources = [ | 8 sources = [ |
9 "content_handler_connection.cc", | 9 "content_handler_connection.cc", |
10 "content_handler_connection.h", | 10 "content_handler_connection.h", |
11 "package_manager_impl.cc", | 11 "package_manager_impl.cc", |
12 "package_manager_impl.h", | 12 "package_manager_impl.h", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//mojo/fetcher", | |
17 "//mojo/shell", | 16 "//mojo/shell", |
| 17 "//mojo/shell/fetcher", |
18 "//mojo/util:filename_util", | 18 "//mojo/util:filename_util", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 test("unittests") { | 22 test("unittests") { |
23 output_name = "mojo_package_manager_unittests" | 23 output_name = "mojo_package_manager_unittests" |
24 | 24 |
25 sources = [ | 25 sources = [ |
26 "capability_filter_content_handler_unittest.cc", | 26 "capability_filter_content_handler_unittest.cc", |
27 "content_handler_unittest.cc", | 27 "content_handler_unittest.cc", |
28 ] | 28 ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 ":package_manager", | 31 ":package_manager", |
32 "//base", | 32 "//base", |
33 "//mojo/application/public/cpp", | 33 "//mojo/application/public/cpp", |
34 "//mojo/shell", | 34 "//mojo/shell", |
35 "//mojo/shell:test_support", | 35 "//mojo/shell:test_support", |
36 "//testing/gtest", | 36 "//testing/gtest", |
37 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 37 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
38 "//url", | 38 "//url", |
39 ] | 39 ] |
40 } | 40 } |
OLD | NEW |