Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / ownership / BUILD.gn
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.
4
5 component("ownership") {
6   sources = [
7     "mock_owner_key_util.cc",
8     "mock_owner_key_util.h",
9     "owner_key_util.cc",
10     "owner_key_util.h",
11     "owner_key_util_impl.cc",
12     "owner_key_util_impl.h",
13     "owner_settings_service.cc",
14     "owner_settings_service.h",
15   ]
16
17   defines = [
18     "OWNERSHIP_IMPLEMENTATION"
19   ]
20
21   deps = [
22     "//base",
23     "//components/keyed_service/core",
24     "//components/policy",
25     "//components/policy/proto",
26     "//components/policy:policy_component_common",
27     "//crypto",
28   ]
29 }
30
31 source_set("unit_tests") {
32   testonly = true
33   sources = ["owner_key_util_unittest.cc"]
34
35   deps = [
36     ":ownership",
37     "//testing/gtest",
38   ]
39 }