diff options
author | Michal Klocek <michal.klocek@qt.io> | 2023-03-16 09:23:14 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2023-03-20 09:56:27 +0000 |
commit | 4d558a6945313fe17a61cbc3028542a78f6da980 (patch) | |
tree | 44dd600799e53de6ed4339de8a578a1b0116ef9e | |
parent | fdcde546b2af3d996e26c1ca99dbcd1f525a9d41 (diff) | |
download | qtwebengine-chromium-4d558a6945313fe17a61cbc3028542a78f6da980.tar.gz |
Opus needs perl for optimatizations
Task-number: QTBUG-111958
Change-Id: I4a5074e3a39300f6ae02b160c41f94d3f00e0aa1
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/467012
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/third_party/opus/BUILD.gn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/opus/BUILD.gn b/chromium/third_party/opus/BUILD.gn index 4d80e490e03..23ab84fca69 100644 --- a/chromium/third_party/opus/BUILD.gn +++ b/chromium/third_party/opus/BUILD.gn @@ -9,6 +9,7 @@ import("//testing/test.gni") declare_args() { use_system_opus = false + has_perl = false } # If fixed point implementation shall be used (otherwise float). @@ -28,7 +29,7 @@ use_opus_x86_optimization = # Based on the conditions in celt/arm/armcpu.c: # defined(_MSC_VER) || defined(__linux__). use_opus_arm_rtcd = - current_cpu == "arm" && (is_win || is_android || is_linux || is_chromeos) + current_cpu == "arm" && (is_win || is_android || is_linux || is_chromeos) && has_perl config("opus_config") { include_dirs = [ "src/include" ] |