[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / components / ownership / BUILD.gn
1 # Copyright 2014 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/chromeos/ui_mode.gni")
6 import("//build/config/features.gni")
7 import("//crypto/features.gni")
8
9 if (is_chromeos_ash) {
10   component("ownership") {
11     sources = [
12       "mock_owner_key_util.cc",
13       "mock_owner_key_util.h",
14       "owner_key_util.cc",
15       "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",
20     ]
21
22     defines = [ "OWNERSHIP_IMPLEMENTATION" ]
23
24     public_deps = [ "//components/policy/proto" ]
25
26     deps = [
27       "//base",
28       "//build:chromeos_buildflags",
29       "//components/keyed_service/core",
30       "//components/policy:generated",
31       "//components/policy/core/common",
32       "//components/policy/proto",
33       "//crypto",
34     ]
35
36     if (use_nss_certs) {
37       public_configs = [ "//build/config/linux/nss" ]
38     }
39   }
40
41   source_set("unit_tests") {
42     testonly = true
43     sources = [ "owner_key_util_impl_unittest.cc" ]
44
45     deps = [
46       ":ownership",
47       "//base",
48       "//testing/gtest",
49     ]
50   }
51 }