diff options
author | watk <watk@chromium.org> | 2015-02-11 12:24:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-11 20:25:31 +0000 |
commit | b0ddebe2ea0b00c272af7820b9c108c4438f5b88 (patch) | |
tree | 5fc954c4a4acb7574313e71db66bcdf472317c4c /media/media.gyp | |
parent | 5205e3dc333612a7220d25b489303daf276bc33b (diff) | |
download | chromium_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.gyp | 2 |
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', |