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