BUILD.gn 664 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 2021 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("dlp") {
  7. defines = [ "IS_DLP_IMPL" ]
  8. public_deps = [
  9. ":dlp_proto",
  10. "//base",
  11. "//dbus",
  12. ]
  13. sources = [
  14. "dlp_client.cc",
  15. "dlp_client.h",
  16. "fake_dlp_client.cc",
  17. "fake_dlp_client.h",
  18. ]
  19. }
  20. proto_library("dlp_proto") {
  21. sources = [ "//third_party/cros_system_api/dbus/dlp/dlp_service.proto" ]
  22. proto_out_dir = "chromeos/dbus/dlp"
  23. }