BUILD.gn 844 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 2020 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. import("//third_party/protobuf/proto_library.gni")
  5. assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
  6. component("tpm_manager") {
  7. output_name = "chromeos_dbus_tpm_manager"
  8. defines = [ "IS_CHROMEOS_DBUS_TPM_MANAGER_IMPL" ]
  9. deps = [
  10. ":tpm_manager_proto",
  11. "//base",
  12. "//chromeos/dbus/constants:constants",
  13. "//dbus",
  14. ]
  15. sources = [
  16. "fake_tpm_manager_client.cc",
  17. "fake_tpm_manager_client.h",
  18. "tpm_manager_client.cc",
  19. "tpm_manager_client.h",
  20. ]
  21. }
  22. proto_library("tpm_manager_proto") {
  23. sources =
  24. [ "//third_party/cros_system_api/dbus/tpm_manager/tpm_manager.proto" ]
  25. proto_out_dir = "chromeos/dbus/tpm_manager"
  26. }