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")
8 component("ownership") {
10 "mock_owner_key_util.cc",
11 "mock_owner_key_util.h",
14 "owner_key_util_impl.cc",
15 "owner_key_util_impl.h",
16 "owner_settings_service.cc",
17 "owner_settings_service.h",
20 defines = [ "OWNERSHIP_IMPLEMENTATION" ]
24 "//components/keyed_service/core",
25 "//components/policy/proto",
26 "//components/policy:policy_component_common",
30 if (enable_configuration_policy) {
31 deps += [ "//components/policy" ]
35 deps += [ "//crypto:platform" ]
39 source_set("unit_tests") {
42 "owner_key_util_impl_unittest.cc",
45 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]