summaryrefslogtreecommitdiff
path: root/chromium/chromeos/dbus/attestation/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chromeos/dbus/attestation/BUILD.gn')
-rw-r--r--chromium/chromeos/dbus/attestation/BUILD.gn35
1 files changed, 35 insertions, 0 deletions
diff --git a/chromium/chromeos/dbus/attestation/BUILD.gn b/chromium/chromeos/dbus/attestation/BUILD.gn
new file mode 100644
index 00000000000..c8fdf7d2ebf
--- /dev/null
+++ b/chromium/chromeos/dbus/attestation/BUILD.gn
@@ -0,0 +1,35 @@
+# Copyright 2020 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.
+
+import("//third_party/protobuf/proto_library.gni")
+
+assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
+
+component("attestation") {
+ output_name = "chromeos_dbus_attestation"
+ defines = [ "IS_CHROMEOS_DBUS_ATTESTATION_IMPL" ]
+
+ deps = [
+ ":attestation_proto",
+ "//base",
+ "//dbus",
+ ]
+
+ sources = [
+ "attestation_client.cc",
+ "attestation_client.h",
+ "fake_attestation_client.cc",
+ "fake_attestation_client.h",
+ ]
+}
+
+proto_library("attestation_proto") {
+ sources = [
+ "//third_party/cros_system_api/dbus/attestation/attestation_ca.proto",
+ "//third_party/cros_system_api/dbus/attestation/interface.proto",
+ "//third_party/cros_system_api/dbus/attestation/keystore.proto",
+ ]
+
+ proto_out_dir = "chromeos/dbus/attestation"
+}