blob: a9bd479b6e837f18bb63b76fb9f46a3c9c294276 [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
19rtc_source_set("options") {
20 visibility = [ "*" ]
21 sources = [
22 "crypto_options.cc",
23 "crypto_options.h",
24 ]
25 deps = [
26 "../../rtc_base:rtc_base",
27 ]
28}
29
30rtc_source_set("frame_decryptor_interface") {
31 visibility = [ "*" ]
32 sources = [
33 "frame_decryptor_interface.h",
34 ]
35 deps = [
36 "..:array_view",
37 "..:rtp_parameters",
38 "../../rtc_base:refcount",
39 ]
40}
41
42rtc_source_set("frame_encryptor_interface") {
43 visibility = [ "*" ]
44 sources = [
45 "frame_encryptor_interface.h",
46 ]
47 deps = [
48 "..:array_view",
49 "..:rtp_parameters",
50 "../../rtc_base:refcount",
51 ]
52}