Fix issue that all macros not defined in rtc_pc_unittests

The gn target for rtc_pc_unittests cleared the "configs" that is by
default set for rtc_test. Restore it back so we get RTC_ENABLE_H265
macro when rtc_use_h265 is configured.

BUG: chromium:41480904
Change-Id: If172482776e5be2ad99d976db12dcfa556ee8a24
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/368183
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Commit-Queue: Jianlin Qiu <jianlin.qiu@intel.com>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43403}
This commit is contained in:
Qiu Jianlin 2024-11-15 10:13:55 +08:00 committed by WebRTC LUCI CQ
parent 0b333f2a40
commit 7ef1360485

View File

@ -2086,7 +2086,6 @@ if (rtc_include_tests && !build_with_chromium) {
]
include_dirs = []
configs = []
if (rtc_build_libsrtp) {
include_dirs += [ "//third_party/libsrtp/srtp" ]
deps += [ "//third_party/libsrtp" ]