From 06163404a56270acb840e63ae217ecad8213b42a Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Mon, 12 Aug 2024 12:24:09 +0000 Subject: [PATCH] openssl: Do not require the rtc_ssl_root variable If the includes are in /usr/include, adding this path to the include path may break resolution of internal compiler headers. If the variable is required, I would expect users to already have it set properly. Bug: None Change-Id: I1d86776da4ae516aba99c58ecee1135dcd27aec8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/359240 Commit-Queue: Florent Castelli Auto-Submit: Florent Castelli Reviewed-by: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#42763} --- rtc_base/BUILD.gn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn index 38805f7bce..4743a46d9d 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -15,9 +15,9 @@ if (is_android) { if (!rtc_build_ssl) { config("external_ssl_library") { - assert(rtc_ssl_root != "", - "You must specify rtc_ssl_root when rtc_build_ssl==0.") - include_dirs = [ rtc_ssl_root ] + if (rtc_ssl_root != "") { + include_dirs = [ rtc_ssl_root ] + } libs = [ "crypto", "ssl",