blob: 302b16e11f58adb98c915538865b4847531666ef [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 = [ "*" ]
33 sources = [
34 "frame_decryptor_interface.h",
35 ]
36 deps = [
37 "..:array_view",
38 "..:rtp_parameters",
39 "../../rtc_base:refcount",
40 ]
41}
42
43rtc_source_set("frame_encryptor_interface") {
44 visibility = [ "*" ]
45 sources = [
46 "frame_encryptor_interface.h",
47 ]
48 deps = [
49 "..:array_view",
50 "..:rtp_parameters",
51 "../../rtc_base:refcount",
52 ]
53}