From 13d03ef21d3bd67595bd0b36be7401f6e6bcbbd6 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Date: Tue, 11 Aug 2015 12:44:50 +0200
Subject: [PATCH] Fix debug linking with system Opus

Do not build the AudioClassifier, it is not used anywhere in the code
but references private Opus APIs and can cause linking errors if not
optimized away.

Change-Id: I0029aa643160177e626a48a9c8ad75a08bd8f846
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
---
 src/core/qtwebengine_extras.gypi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi
index e28d6436e..86a4c17bb 100644
--- a/src/core/qtwebengine_extras.gypi
+++ b/src/core/qtwebengine_extras.gypi
@@ -57,6 +57,7 @@
       ['exclude', 'win/accessibility_ids_win\\.h$'],
       ['exclude', 'win/accessibility_misc_utils\\.(cc|h)$'],
       ['exclude', 'win/atl_module\\.h$'],
+      ['exclude', 'audio_classifier\\.(cc|h)$'],
     ],
     'defines': [
       'TOOLKIT_QT',
-- 
GitLab