Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 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 | |
| 9 | import("../../webrtc.gni") |
| 10 | |
| 11 | group("crypto") { |
| 12 | deps = [ |
| 13 | ":frame_decryptor_interface", |
| 14 | ":frame_encryptor_interface", |
| 15 | ":options", |
| 16 | ] |
| 17 | } |
| 18 | |
Mirko Bonadei | 86d053c | 2019-10-17 21:32:04 +0200 | [diff] [blame] | 19 | rtc_library("options") { |
Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 20 | visibility = [ "*" ] |
| 21 | sources = [ |
| 22 | "crypto_options.cc", |
| 23 | "crypto_options.h", |
| 24 | ] |
| 25 | deps = [ |
| 26 | "../../rtc_base:rtc_base", |
Mirko Bonadei | 35214fc | 2019-09-23 14:54:28 +0200 | [diff] [blame] | 27 | "../../rtc_base/system:rtc_export", |
Mirko Bonadei | eaaaf41 | 2019-09-13 14:42:15 +0200 | [diff] [blame] | 28 | ] |
| 29 | } |
| 30 | |
| 31 | rtc_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 | |
| 43 | rtc_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 | } |