Commit 73a81be7 authored by sigbjornf's avatar sigbjornf Committed by Commit bot

Enable webaudio unit tests iff ENABLE(WEB_AUDIO).

R=tkent
BUG=

Review URL: https://codereview.chromium.org/1470873002

Cr-Commit-Position: refs/heads/master@{#361171}
parent b3b8c6eb
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
#include "config.h" #include "config.h"
#if ENABLE(WEB_AUDIO)
#include "modules/webaudio/AudioBasicProcessorHandler.h" #include "modules/webaudio/AudioBasicProcessorHandler.h"
#include "core/testing/DummyPageHolder.h" #include "core/testing/DummyPageHolder.h"
...@@ -52,3 +53,5 @@ TEST(AudioBasicProcessorHandlerTest, ProcessorFinalization) ...@@ -52,3 +53,5 @@ TEST(AudioBasicProcessorHandlerTest, ProcessorFinalization)
} }
} // namespace blink } // namespace blink
#endif // ENABLE(WEB_AUDIO)
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
#include "config.h" #include "config.h"
#if ENABLE(WEB_AUDIO)
#include "modules/webaudio/ConvolverNode.h" #include "modules/webaudio/ConvolverNode.h"
#include "core/testing/DummyPageHolder.h" #include "core/testing/DummyPageHolder.h"
...@@ -27,3 +28,5 @@ TEST(ConvolverNodeTest, ReverbLifetime) ...@@ -27,3 +28,5 @@ TEST(ConvolverNodeTest, ReverbLifetime)
} }
} // namespace blink } // namespace blink
#endif // ENABLE(WEB_AUDIO)
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
#include "config.h" #include "config.h"
#if ENABLE(WEB_AUDIO)
#include "modules/webaudio/DynamicsCompressorNode.h" #include "modules/webaudio/DynamicsCompressorNode.h"
#include "core/testing/DummyPageHolder.h" #include "core/testing/DummyPageHolder.h"
...@@ -27,3 +28,5 @@ TEST(DynamicsCompressorNodeTest, ProcessorLifetime) ...@@ -27,3 +28,5 @@ TEST(DynamicsCompressorNodeTest, ProcessorLifetime)
} }
} // namespace blink } // namespace blink
#endif // ENABLE(WEB_AUDIO)
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
#include "config.h" #include "config.h"
#if ENABLE(WEB_AUDIO)
#include "modules/webaudio/ScriptProcessorNode.h" #include "modules/webaudio/ScriptProcessorNode.h"
#include "core/testing/DummyPageHolder.h" #include "core/testing/DummyPageHolder.h"
...@@ -28,3 +29,5 @@ TEST(ScriptProcessorNodeTest, BufferLifetime) ...@@ -28,3 +29,5 @@ TEST(ScriptProcessorNodeTest, BufferLifetime)
} }
} // namespace blink } // namespace blink
#endif // ENABLE(WEB_AUDIO)
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
#include "config.h" #include "config.h"
#if ENABLE(WEB_AUDIO)
#include "modules/webaudio/StereoPannerNode.h" #include "modules/webaudio/StereoPannerNode.h"
#include "core/testing/DummyPageHolder.h" #include "core/testing/DummyPageHolder.h"
...@@ -26,3 +27,5 @@ TEST(StereoPannerNodeTest, StereoPannerLifetime) ...@@ -26,3 +27,5 @@ TEST(StereoPannerNodeTest, StereoPannerLifetime)
} }
} // namespace blink } // namespace blink
#endif // ENABLE(WEB_AUDIO)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment