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