From 7ef136048559ec436d9fc733eb76cc3c6f4d0ce9 Mon Sep 17 00:00:00 2001 From: Qiu Jianlin Date: Fri, 15 Nov 2024 10:13:55 +0800 Subject: [PATCH] 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 Commit-Queue: Jianlin Qiu Reviewed-by: Harald Alvestrand Cr-Commit-Position: refs/heads/main@{#43403} --- pc/BUILD.gn | 1 - 1 file changed, 1 deletion(-) diff --git a/pc/BUILD.gn b/pc/BUILD.gn index 058fd37b72..9d3745fcf6 100644 --- a/pc/BUILD.gn +++ b/pc/BUILD.gn @@ -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" ]