summaryrefslogtreecommitdiffstats
path: root/components/ownership/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'components/ownership/BUILD.gn')
-rw-r--r--components/ownership/BUILD.gn43
1 files changed, 43 insertions, 0 deletions
diff --git a/components/ownership/BUILD.gn b/components/ownership/BUILD.gn
new file mode 100644
index 0000000..b63ca1b
--- /dev/null
+++ b/components/ownership/BUILD.gn
@@ -0,0 +1,43 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+component("ownership") {
+ sources = [
+ "owner_key_util.cc",
+ "owner_key_util.h",
+ "owner_key_util_impl.cc",
+ "owner_key_util_impl.h",
+ ]
+
+ defines = [
+ "OWNERSHIP_IMPLEMENTATION"
+ ]
+
+ deps = [
+ "//base",
+ "//crypto",
+ ]
+}
+
+component("test_support") {
+ sources = [
+ "mock_owner_key_util.cc",
+ "mock_owner_key_util.h",
+ ]
+
+ deps = [
+ ":ownership",
+ "//base",
+ "//crypto",
+ ]
+}
+
+source_set("unit_tests") {
+ sources = ["owner_key_util_unittest.cc"]
+
+ deps = [
+ ":ownership",
+ "//testing/gtest",
+ ]
+}