[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / components / ownership / BUILD.gn
index 2cf3c64..5ca74d0 100644 (file)
@@ -1,11 +1,12 @@
-# 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",
@@ -20,8 +21,11 @@ if (is_chromeos) {
 
     defines = [ "OWNERSHIP_IMPLEMENTATION" ]
 
+    public_deps = [ "//components/policy/proto" ]
+
     deps = [
       "//base",
+      "//build:chromeos_buildflags",
       "//components/keyed_service/core",
       "//components/policy:generated",
       "//components/policy/core/common",
@@ -30,7 +34,7 @@ if (is_chromeos) {
     ]
 
     if (use_nss_certs) {
-      public_deps = [ "//crypto:platform" ]
+      public_configs = [ "//build/config/linux/nss" ]
     }
   }
 
@@ -38,8 +42,6 @@ if (is_chromeos) {
     testonly = true
     sources = [ "owner_key_util_impl_unittest.cc" ]
 
-    configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
-
     deps = [
       ":ownership",
       "//base",