xref: /aosp_15_r20/external/webrtc/test/peer_scenario/BUILD.gn (revision d9f758449e529ab9291ac668be2861e7a55c2422)
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 Workerif (rtc_include_tests) {
12*d9f75844SAndroid Build Coastguard Worker  rtc_library("peer_scenario") {
13*d9f75844SAndroid Build Coastguard Worker    testonly = true
14*d9f75844SAndroid Build Coastguard Worker    sources = [
15*d9f75844SAndroid Build Coastguard Worker      "peer_scenario.cc",
16*d9f75844SAndroid Build Coastguard Worker      "peer_scenario.h",
17*d9f75844SAndroid Build Coastguard Worker      "peer_scenario_client.cc",
18*d9f75844SAndroid Build Coastguard Worker      "peer_scenario_client.h",
19*d9f75844SAndroid Build Coastguard Worker      "scenario_connection.cc",
20*d9f75844SAndroid Build Coastguard Worker      "scenario_connection.h",
21*d9f75844SAndroid Build Coastguard Worker      "signaling_route.cc",
22*d9f75844SAndroid Build Coastguard Worker      "signaling_route.h",
23*d9f75844SAndroid Build Coastguard Worker    ]
24*d9f75844SAndroid Build Coastguard Worker    deps = [
25*d9f75844SAndroid Build Coastguard Worker      "..:fake_video_codecs",
26*d9f75844SAndroid Build Coastguard Worker      "..:fileutils",
27*d9f75844SAndroid Build Coastguard Worker      "..:test_support",
28*d9f75844SAndroid Build Coastguard Worker      "../:video_test_common",
29*d9f75844SAndroid Build Coastguard Worker      "../../api:candidate",
30*d9f75844SAndroid Build Coastguard Worker      "../../api:create_time_controller",
31*d9f75844SAndroid Build Coastguard Worker      "../../api:libjingle_peerconnection_api",
32*d9f75844SAndroid Build Coastguard Worker      "../../api:network_emulation_manager_api",
33*d9f75844SAndroid Build Coastguard Worker      "../../api:rtc_stats_api",
34*d9f75844SAndroid Build Coastguard Worker      "../../api:time_controller",
35*d9f75844SAndroid Build Coastguard Worker      "../../api/audio_codecs:builtin_audio_decoder_factory",
36*d9f75844SAndroid Build Coastguard Worker      "../../api/audio_codecs:builtin_audio_encoder_factory",
37*d9f75844SAndroid Build Coastguard Worker      "../../api/rtc_event_log:rtc_event_log_factory",
38*d9f75844SAndroid Build Coastguard Worker      "../../api/task_queue:default_task_queue_factory",
39*d9f75844SAndroid Build Coastguard Worker      "../../api/transport:field_trial_based_config",
40*d9f75844SAndroid Build Coastguard Worker      "../../api/video_codecs:builtin_video_decoder_factory",
41*d9f75844SAndroid Build Coastguard Worker      "../../api/video_codecs:builtin_video_encoder_factory",
42*d9f75844SAndroid Build Coastguard Worker      "../../media:rtc_audio_video",
43*d9f75844SAndroid Build Coastguard Worker      "../../media:rtc_media_base",
44*d9f75844SAndroid Build Coastguard Worker      "../../modules/audio_device:audio_device_impl",
45*d9f75844SAndroid Build Coastguard Worker      "../../modules/rtp_rtcp:rtp_rtcp_format",
46*d9f75844SAndroid Build Coastguard Worker      "../../p2p:rtc_p2p",
47*d9f75844SAndroid Build Coastguard Worker      "../../pc:channel",
48*d9f75844SAndroid Build Coastguard Worker      "../../pc:jsep_transport_controller",
49*d9f75844SAndroid Build Coastguard Worker      "../../pc:pc_test_utils",
50*d9f75844SAndroid Build Coastguard Worker      "../../pc:rtp_transport_internal",
51*d9f75844SAndroid Build Coastguard Worker      "../../pc:session_description",
52*d9f75844SAndroid Build Coastguard Worker      "../../rtc_base",
53*d9f75844SAndroid Build Coastguard Worker      "../../rtc_base:null_socket_server",
54*d9f75844SAndroid Build Coastguard Worker      "../../rtc_base:stringutils",
55*d9f75844SAndroid Build Coastguard Worker      "../../rtc_base:task_queue_for_test",
56*d9f75844SAndroid Build Coastguard Worker      "../../test:explicit_key_value_config",
57*d9f75844SAndroid Build Coastguard Worker      "../../test:scoped_key_value_config",
58*d9f75844SAndroid Build Coastguard Worker      "../logging:log_writer",
59*d9f75844SAndroid Build Coastguard Worker      "../network:emulated_network",
60*d9f75844SAndroid Build Coastguard Worker      "../scenario",
61*d9f75844SAndroid Build Coastguard Worker      "../time_controller",
62*d9f75844SAndroid Build Coastguard Worker    ]
63*d9f75844SAndroid Build Coastguard Worker    absl_deps = [
64*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/flags:flag",
65*d9f75844SAndroid Build Coastguard Worker      "//third_party/abseil-cpp/absl/memory",
66*d9f75844SAndroid Build Coastguard Worker    ]
67*d9f75844SAndroid Build Coastguard Worker  }
68*d9f75844SAndroid Build Coastguard Worker}
69