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/chromeos/ui_mode.gni")
6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni")
10 component("ownership") {
12 "mock_owner_key_util.cc",
13 "mock_owner_key_util.h",
16 "owner_key_util_impl.cc",
17 "owner_key_util_impl.h",
18 "owner_settings_service.cc",
19 "owner_settings_service.h",
22 defines = [ "OWNERSHIP_IMPLEMENTATION" ]
24 public_deps = [ "//components/policy/proto" ]
28 "//build:chromeos_buildflags",
29 "//components/keyed_service/core",
30 "//components/policy:generated",
31 "//components/policy/core/common",
32 "//components/policy/proto",
37 public_deps += [ "//crypto:platform" ]
41 source_set("unit_tests") {
43 sources = [ "owner_key_util_impl_unittest.cc" ]