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 9import("../../webrtc.gni") 10 11group("crypto") { 12 deps = [ 13 ":frame_decryptor_interface", 14 ":frame_encryptor_interface", 15 ":options", 16 ] 17} 18 19rtc_library("options") { 20 visibility = [ "*" ] 21 sources = [ 22 "crypto_options.cc", 23 "crypto_options.h", 24 ] 25 deps = [ 26 "../../rtc_base:rtc_base", 27 "../../rtc_base/system:rtc_export", 28 ] 29} 30 31rtc_source_set("frame_decryptor_interface") { 32 visibility = [ "*" ] 33 sources = [ "frame_decryptor_interface.h" ] 34 deps = [ 35 "..:array_view", 36 "..:rtp_parameters", 37 "../../rtc_base:refcount", 38 ] 39} 40 41rtc_source_set("frame_encryptor_interface") { 42 visibility = [ "*" ] 43 sources = [ "frame_encryptor_interface.h" ] 44 deps = [ 45 "..:array_view", 46 "..:rtp_parameters", 47 "../../rtc_base:refcount", 48 ] 49} 50