-# Copyright 2014 The Chromium Authors. All rights reserved.
+# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//build/config/crypto.gni")
+import("//build/config/chromeos/ui_mode.gni")
import("//build/config/features.gni")
+import("//crypto/features.gni")
-if (is_chromeos) {
+if (is_chromeos_ash) {
component("ownership") {
sources = [
"mock_owner_key_util.cc",
defines = [ "OWNERSHIP_IMPLEMENTATION" ]
+ public_deps = [ "//components/policy/proto" ]
+
deps = [
"//base",
+ "//build:chromeos_buildflags",
"//components/keyed_service/core",
"//components/policy:generated",
"//components/policy/core/common",
]
if (use_nss_certs) {
- public_deps = [ "//crypto:platform" ]
+ public_configs = [ "//build/config/linux/nss" ]
}
}
testonly = true
sources = [ "owner_key_util_impl_unittest.cc" ]
- configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
-
deps = [
":ownership",
"//base",