You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.2 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
  2. #
  3. # Use of this source code is governed by a BSD-style license
  4. # that can be found in the LICENSE file in the root of the source
  5. # tree. An additional intellectual property rights grant can be found
  6. # in the file PATENTS. All contributing project authors may
  7. # be found in the AUTHORS file in the root of the source tree.
  8. import("../../webrtc.gni")
  9. group("crypto") {
  10. deps = [
  11. ":frame_decryptor_interface",
  12. ":frame_encryptor_interface",
  13. ":options",
  14. ]
  15. }
  16. rtc_library("options") {
  17. visibility = [ "*" ]
  18. sources = [
  19. "crypto_options.cc",
  20. "crypto_options.h",
  21. ]
  22. deps = [
  23. "../../rtc_base:rtc_base",
  24. "../../rtc_base/system:rtc_export",
  25. ]
  26. }
  27. rtc_source_set("frame_decryptor_interface") {
  28. visibility = [ "*" ]
  29. sources = [
  30. "frame_decryptor_interface.h",
  31. ]
  32. deps = [
  33. "..:array_view",
  34. "..:rtp_parameters",
  35. "../../rtc_base:refcount",
  36. ]
  37. }
  38. rtc_source_set("frame_encryptor_interface") {
  39. visibility = [ "*" ]
  40. sources = [
  41. "frame_encryptor_interface.h",
  42. ]
  43. deps = [
  44. "..:array_view",
  45. "..:rtp_parameters",
  46. "../../rtc_base:refcount",
  47. ]
  48. }