blob: 70626f695fad04449426744a7541a73b92fad724 [file] [log] [blame]
Mirko Bonadeieaaaf412019-09-13 14:42:15 +02001# 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
Mirko Bonadei86d053c2019-10-17 21:32:04 +020019rtc_library("options") {
Mirko Bonadeieaaaf412019-09-13 14:42:15 +020020 visibility = [ "*" ]
21 sources = [
22 "crypto_options.cc",
23 "crypto_options.h",
24 ]
25 deps = [
26 "../../rtc_base:rtc_base",
Mirko Bonadei35214fc2019-09-23 14:54:28 +020027 "../../rtc_base/system:rtc_export",
Mirko Bonadeieaaaf412019-09-13 14:42:15 +020028 ]
29}
30
31rtc_source_set("frame_decryptor_interface") {
32 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010033 sources = [ "frame_decryptor_interface.h" ]
Mirko Bonadeieaaaf412019-09-13 14:42:15 +020034 deps = [
35 "..:array_view",
36 "..:rtp_parameters",
37 "../../rtc_base:refcount",
38 ]
39}
40
41rtc_source_set("frame_encryptor_interface") {
42 visibility = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010043 sources = [ "frame_encryptor_interface.h" ]
Mirko Bonadeieaaaf412019-09-13 14:42:15 +020044 deps = [
45 "..:array_view",
46 "..:rtp_parameters",
47 "../../rtc_base:refcount",
48 ]
49}