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 component("ownership") { | 5 component("ownership") { |
6 sources = [ | 6 sources = [ |
| 7 "mock_owner_key_util.cc", |
| 8 "mock_owner_key_util.h", |
7 "owner_key_util.cc", | 9 "owner_key_util.cc", |
8 "owner_key_util.h", | 10 "owner_key_util.h", |
9 "owner_key_util_impl.cc", | 11 "owner_key_util_impl.cc", |
10 "owner_key_util_impl.h", | 12 "owner_key_util_impl.h", |
11 ] | 13 ] |
12 | 14 |
13 defines = [ | 15 defines = [ |
14 "OWNERSHIP_IMPLEMENTATION" | 16 "OWNERSHIP_IMPLEMENTATION" |
15 ] | 17 ] |
16 | 18 |
17 deps = [ | 19 deps = [ |
18 "//base", | 20 "//base", |
19 "//crypto", | 21 "//crypto", |
20 ] | 22 ] |
21 } | 23 } |
22 | 24 |
23 component("test_support") { | |
24 sources = [ | |
25 "mock_owner_key_util.cc", | |
26 "mock_owner_key_util.h", | |
27 ] | |
28 | |
29 deps = [ | |
30 ":ownership", | |
31 "//base", | |
32 "//crypto", | |
33 ] | |
34 } | |
35 | |
36 source_set("unit_tests") { | 25 source_set("unit_tests") { |
37 sources = ["owner_key_util_unittest.cc"] | 26 sources = ["owner_key_util_unittest.cc"] |
38 | 27 |
39 deps = [ | 28 deps = [ |
40 ":ownership", | 29 ":ownership", |
41 "//testing/gtest", | 30 "//testing/gtest", |
42 ] | 31 ] |
43 } | 32 } |
OLD | NEW |