summaryrefslogtreecommitdiffstats
path: root/media/media.gyp
diff options
context:
space:
mode:
authorwatk <watk@chromium.org>2015-02-11 12:24:31 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-11 20:25:31 +0000
commitb0ddebe2ea0b00c272af7820b9c108c4438f5b88 (patch)
tree5fc954c4a4acb7574313e71db66bcdf472317c4c /media/media.gyp
parent5205e3dc333612a7220d25b489303daf276bc33b (diff)
downloadchromium_src-b0ddebe2ea0b00c272af7820b9c108c4438f5b88.zip
chromium_src-b0ddebe2ea0b00c272af7820b9c108c4438f5b88.tar.gz
chromium_src-b0ddebe2ea0b00c272af7820b9c108c4438f5b88.tar.bz2
Add flag --require-audio-hardware-for-testing.
When enabled, tests that require audio hardware will fail if the system doesn't provide it. Otherwise, they will silently succeed. TEST=media_unittests (and AudioInputTests with !InputDevicesAvailable()) BUG=432624 Review URL: https://codereview.chromium.org/914483002 Cr-Commit-Position: refs/heads/master@{#315823}
Diffstat (limited to 'media/media.gyp')
-rw-r--r--media/media.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp
index 3596faf..94ae889 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -1463,6 +1463,8 @@
'../testing/gtest.gyp:gtest',
],
'sources': [
+ 'audio/audio_unittest_util.cc',
+ 'audio/audio_unittest_util.h',
'audio/mock_audio_manager.cc',
'audio/mock_audio_manager.h',
'audio/mock_audio_source_callback.cc',