BUILD.gn 770 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright 2017 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. static_library("encrypted_messages") {
  6. sources = [
  7. "message_encrypter.cc",
  8. "message_encrypter.h",
  9. ]
  10. public_deps = [ ":encrypted_message_proto" ]
  11. deps = [
  12. "//base",
  13. "//crypto",
  14. "//third_party/boringssl:boringssl",
  15. ]
  16. }
  17. proto_library("encrypted_message_proto") {
  18. sources = [ "encrypted_message.proto" ]
  19. }
  20. source_set("unit_tests") {
  21. testonly = true
  22. sources = [ "message_encrypter_unittest.cc" ]
  23. deps = [
  24. ":encrypted_messages",
  25. "//base",
  26. "//testing/gtest",
  27. "//third_party/boringssl:boringssl",
  28. ]
  29. }