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
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
7 component("ownership") {
9 "mock_owner_key_util.cc",
10 "mock_owner_key_util.h",
13 "owner_key_util_impl.cc",
14 "owner_key_util_impl.h",
15 "owner_settings_service.cc",
16 "owner_settings_service.h",
19 defines = [ "OWNERSHIP_IMPLEMENTATION" ]
23 "//components/keyed_service/core",
24 "//components/policy/proto",
25 "//components/policy:policy_component_common",
29 if (enable_configuration_policy) {
30 deps += [ "//components/policy" ]
34 source_set("unit_tests") {
37 "owner_key_util_impl_unittest.cc",
40 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]