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/crypto.gni")
6 import("//build/config/features.gni")
9 component("ownership") {
11 "mock_owner_key_util.cc",
12 "mock_owner_key_util.h",
15 "owner_key_util_impl.cc",
16 "owner_key_util_impl.h",
17 "owner_settings_service.cc",
18 "owner_settings_service.h",
21 defines = [ "OWNERSHIP_IMPLEMENTATION" ]
25 "//components/keyed_service/core",
26 "//components/policy/proto",
27 "//components/policy:policy_component_common",
31 if (enable_configuration_policy) {
32 deps += [ "//components/policy" ]
42 source_set("unit_tests") {
45 "owner_key_util_impl_unittest.cc",
48 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]