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