gecko/media/webrtc/trunk/build/copy_test_data_ios.py
Randell Jesup e271f577fd Bug 797671: Import Webrtc.org code from stable branch 3.12 (rev 2820) rs=jesup
--HG--
rename : media/webrtc/trunk/tools/valgrind/tsan/OWNERS => media/webrtc/trunk/build/OWNERS
rename : media/webrtc/trunk/build/android/chrome_test_server_spawner.py => media/webrtc/trunk/build/android/pylib/chrome_test_server_spawner.py
rename : media/webrtc/trunk/build/android/cmd_helper.py => media/webrtc/trunk/build/android/pylib/cmd_helper.py
rename : media/webrtc/trunk/build/android/test_package_executable.py => media/webrtc/trunk/build/android/pylib/test_package_executable.py
rename : media/webrtc/trunk/build/android/valgrind_tools.py => media/webrtc/trunk/build/android/pylib/valgrind_tools.py
rename : media/webrtc/trunk/src/common_audio/signal_processing/spl_sqrt_floor.s => media/webrtc/trunk/src/common_audio/signal_processing/spl_sqrt_floor_arm.s
rename : media/webrtc/trunk/src/common_video/libyuv/include/libyuv.h => media/webrtc/trunk/src/common_video/libyuv/include/webrtc_libyuv.h
rename : media/webrtc/trunk/src/modules/rtp_rtcp/test/test_bwe/unit_test.cc => media/webrtc/trunk/src/modules/remote_bitrate_estimator/bitrate_estimator_unittest.cc
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/bwe_defines.h => media/webrtc/trunk/src/modules/remote_bitrate_estimator/include/bwe_defines.h
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/remote_rate_control.cc => media/webrtc/trunk/src/modules/remote_bitrate_estimator/remote_rate_control.cc
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/remote_rate_control.h => media/webrtc/trunk/src/modules/remote_bitrate_estimator/remote_rate_control.h
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/rtcp_sender_test.cc => media/webrtc/trunk/src/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_header_extension_test.cc => media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_header_extension_unittest.cc
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_packet_history_test.cc => media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_sender_test.cc => media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_sender_unittest.cc
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_utility_test.cc => media/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_utility_unittest.cc
rename : media/webrtc/trunk/src/modules/rtp_rtcp/source/transmission_bucket_test.cc => media/webrtc/trunk/src/modules/rtp_rtcp/source/transmission_bucket_unittest.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/automated_mode.cc => media/webrtc/trunk/src/modules/video_capture/main/test/video_capture_main_mac.mm
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/Android.mk => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/Android.mk
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/interface/vp8.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/include/vp8.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/interface/vp8_common_types.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/include/vp8_common_types.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/reference_picture_selection.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/reference_picture_selection.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/reference_picture_selection.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/reference_picture_selection.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/reference_picture_selection_unittest.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/reference_picture_selection_unittest.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/temporal_layers.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/temporal_layers.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/temporal_layers.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/temporal_layers.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/temporal_layers_unittest.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/temporal_layers_unittest.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/benchmark.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/benchmark.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/benchmark.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/benchmark.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/dual_decoder_test.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/dual_decoder_test.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/dual_decoder_test.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/dual_decoder_test.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/normal_async_test.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/normal_async_test.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/normal_async_test.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/normal_async_test.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/packet_loss_test.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/packet_loss_test.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/packet_loss_test.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/packet_loss_test.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/rps_test.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/rps_test.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/rps_test.h => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/rps_test.h
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/tester.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/tester.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/test/unit_test.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/test/vp8_unittest.cc
rename : media/webrtc/trunk/src/modules/video_coding/codecs/vp8/main/source/vp8.cc => media/webrtc/trunk/src/modules/video_coding/codecs/vp8/vp8.cc
rename : media/webrtc/trunk/test/OWNERS => media/webrtc/trunk/src/test/OWNERS
rename : media/webrtc/trunk/src/video_engine/test/libvietest/helpers/bit_flip_encryption.cc => media/webrtc/trunk/src/test/libtest/helpers/bit_flip_encryption.cc
rename : media/webrtc/trunk/src/video_engine/test/libvietest/helpers/random_encryption.cc => media/webrtc/trunk/src/test/libtest/helpers/random_encryption.cc
rename : media/webrtc/trunk/src/video_engine/test/libvietest/include/bit_flip_encryption.h => media/webrtc/trunk/src/test/libtest/include/bit_flip_encryption.h
rename : media/webrtc/trunk/src/video_engine/test/libvietest/include/random_encryption.h => media/webrtc/trunk/src/test/libtest/include/random_encryption.h
rename : media/webrtc/trunk/test/metrics.gyp => media/webrtc/trunk/src/test/metrics.gyp
rename : media/webrtc/trunk/test/run_all_unittests.cc => media/webrtc/trunk/src/test/run_all_unittests.cc
rename : media/webrtc/trunk/test/test.gyp => media/webrtc/trunk/src/test/test.gyp
rename : media/webrtc/trunk/test/test_suite.cc => media/webrtc/trunk/src/test/test_suite.cc
rename : media/webrtc/trunk/test/test_suite.h => media/webrtc/trunk/src/test/test_suite.h
rename : media/webrtc/trunk/test/testsupport/fileutils.cc => media/webrtc/trunk/src/test/testsupport/fileutils.cc
rename : media/webrtc/trunk/test/testsupport/fileutils.h => media/webrtc/trunk/src/test/testsupport/fileutils.h
rename : media/webrtc/trunk/test/testsupport/fileutils_unittest.cc => media/webrtc/trunk/src/test/testsupport/fileutils_unittest.cc
rename : media/webrtc/trunk/test/testsupport/frame_reader.cc => media/webrtc/trunk/src/test/testsupport/frame_reader.cc
rename : media/webrtc/trunk/test/testsupport/frame_reader.h => media/webrtc/trunk/src/test/testsupport/frame_reader.h
rename : media/webrtc/trunk/test/testsupport/frame_reader_unittest.cc => media/webrtc/trunk/src/test/testsupport/frame_reader_unittest.cc
rename : media/webrtc/trunk/test/testsupport/frame_writer.cc => media/webrtc/trunk/src/test/testsupport/frame_writer.cc
rename : media/webrtc/trunk/test/testsupport/frame_writer.h => media/webrtc/trunk/src/test/testsupport/frame_writer.h
rename : media/webrtc/trunk/test/testsupport/frame_writer_unittest.cc => media/webrtc/trunk/src/test/testsupport/frame_writer_unittest.cc
rename : media/webrtc/trunk/test/testsupport/gtest_prod_util.h => media/webrtc/trunk/src/test/testsupport/gtest_prod_util.h
rename : media/webrtc/trunk/test/testsupport/metrics/video_metrics.cc => media/webrtc/trunk/src/test/testsupport/metrics/video_metrics.cc
rename : media/webrtc/trunk/test/testsupport/metrics/video_metrics.h => media/webrtc/trunk/src/test/testsupport/metrics/video_metrics.h
rename : media/webrtc/trunk/test/testsupport/metrics/video_metrics_unittest.cc => media/webrtc/trunk/src/test/testsupport/metrics/video_metrics_unittest.cc
rename : media/webrtc/trunk/test/testsupport/mock/mock_frame_reader.h => media/webrtc/trunk/src/test/testsupport/mock/mock_frame_reader.h
rename : media/webrtc/trunk/test/testsupport/mock/mock_frame_writer.h => media/webrtc/trunk/src/test/testsupport/mock/mock_frame_writer.h
rename : media/webrtc/trunk/test/testsupport/packet_reader.cc => media/webrtc/trunk/src/test/testsupport/packet_reader.cc
rename : media/webrtc/trunk/test/testsupport/packet_reader.h => media/webrtc/trunk/src/test/testsupport/packet_reader.h
rename : media/webrtc/trunk/test/testsupport/packet_reader_unittest.cc => media/webrtc/trunk/src/test/testsupport/packet_reader_unittest.cc
rename : media/webrtc/trunk/test/testsupport/unittest_utils.h => media/webrtc/trunk/src/test/testsupport/unittest_utils.h
rename : media/webrtc/trunk/src/voice_engine/main/source/Android.mk => media/webrtc/trunk/src/voice_engine/Android.mk
rename : media/webrtc/trunk/src/voice_engine/main/source/channel.cc => media/webrtc/trunk/src/voice_engine/channel.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/channel.h => media/webrtc/trunk/src/voice_engine/channel.h
rename : media/webrtc/trunk/src/voice_engine/main/source/channel_manager.cc => media/webrtc/trunk/src/voice_engine/channel_manager.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/channel_manager.h => media/webrtc/trunk/src/voice_engine/channel_manager.h
rename : media/webrtc/trunk/src/voice_engine/main/source/channel_manager_base.cc => media/webrtc/trunk/src/voice_engine/channel_manager_base.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/channel_manager_base.h => media/webrtc/trunk/src/voice_engine/channel_manager_base.h
rename : media/webrtc/trunk/src/voice_engine/main/source/channel_unittest.cc => media/webrtc/trunk/src/voice_engine/channel_unittest.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/dtmf_inband.cc => media/webrtc/trunk/src/voice_engine/dtmf_inband.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/dtmf_inband.h => media/webrtc/trunk/src/voice_engine/dtmf_inband.h
rename : media/webrtc/trunk/src/voice_engine/main/source/dtmf_inband_queue.cc => media/webrtc/trunk/src/voice_engine/dtmf_inband_queue.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/dtmf_inband_queue.h => media/webrtc/trunk/src/voice_engine/dtmf_inband_queue.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/mock/mock_voe_connection_observer.h => media/webrtc/trunk/src/voice_engine/include/mock/mock_voe_connection_observer.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/mock/mock_voe_observer.h => media/webrtc/trunk/src/voice_engine/include/mock/mock_voe_observer.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_audio_processing.h => media/webrtc/trunk/src/voice_engine/include/voe_audio_processing.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_base.h => media/webrtc/trunk/src/voice_engine/include/voe_base.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_call_report.h => media/webrtc/trunk/src/voice_engine/include/voe_call_report.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_codec.h => media/webrtc/trunk/src/voice_engine/include/voe_codec.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_dtmf.h => media/webrtc/trunk/src/voice_engine/include/voe_dtmf.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_encryption.h => media/webrtc/trunk/src/voice_engine/include/voe_encryption.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_errors.h => media/webrtc/trunk/src/voice_engine/include/voe_errors.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_external_media.h => media/webrtc/trunk/src/voice_engine/include/voe_external_media.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_file.h => media/webrtc/trunk/src/voice_engine/include/voe_file.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_hardware.h => media/webrtc/trunk/src/voice_engine/include/voe_hardware.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_neteq_stats.h => media/webrtc/trunk/src/voice_engine/include/voe_neteq_stats.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_network.h => media/webrtc/trunk/src/voice_engine/include/voe_network.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_rtp_rtcp.h => media/webrtc/trunk/src/voice_engine/include/voe_rtp_rtcp.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_video_sync.h => media/webrtc/trunk/src/voice_engine/include/voe_video_sync.h
rename : media/webrtc/trunk/src/voice_engine/main/interface/voe_volume_control.h => media/webrtc/trunk/src/voice_engine/include/voe_volume_control.h
rename : media/webrtc/trunk/src/voice_engine/main/source/level_indicator.cc => media/webrtc/trunk/src/voice_engine/level_indicator.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/level_indicator.h => media/webrtc/trunk/src/voice_engine/level_indicator.h
rename : media/webrtc/trunk/src/voice_engine/main/source/monitor_module.cc => media/webrtc/trunk/src/voice_engine/monitor_module.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/monitor_module.h => media/webrtc/trunk/src/voice_engine/monitor_module.h
rename : media/webrtc/trunk/src/voice_engine/main/source/output_mixer.cc => media/webrtc/trunk/src/voice_engine/output_mixer.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/output_mixer.h => media/webrtc/trunk/src/voice_engine/output_mixer.h
rename : media/webrtc/trunk/src/voice_engine/main/source/shared_data.cc => media/webrtc/trunk/src/voice_engine/shared_data.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/shared_data.h => media/webrtc/trunk/src/voice_engine/shared_data.h
rename : media/webrtc/trunk/src/voice_engine/main/source/statistics.cc => media/webrtc/trunk/src/voice_engine/statistics.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/statistics.h => media/webrtc/trunk/src/voice_engine/statistics.h
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/.classpath => media/webrtc/trunk/src/voice_engine/test/android/android_test/.classpath
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/Android.mk => media/webrtc/trunk/src/voice_engine/test/android/android_test/Android.mk
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/AndroidManifest.xml => media/webrtc/trunk/src/voice_engine/test/android/android_test/AndroidManifest.xml
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/default.properties => media/webrtc/trunk/src/voice_engine/test/android/android_test/default.properties
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/gen/org/webrtc/voiceengine/test/R.java => media/webrtc/trunk/src/voice_engine/test/android/android_test/gen/org/webrtc/voiceengine/test/R.java
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/jni/Android.mk => media/webrtc/trunk/src/voice_engine/test/android/android_test/jni/Android.mk
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/jni/Application.mk => media/webrtc/trunk/src/voice_engine/test/android/android_test/jni/Application.mk
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/jni/android_test.cc => media/webrtc/trunk/src/voice_engine/test/android/android_test/jni/android_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/jni/org_webrtc_voiceengine_test_AndroidTest.h => media/webrtc/trunk/src/voice_engine/test/android/android_test/jni/org_webrtc_voiceengine_test_AndroidTest.h
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/res/drawable/icon.png => media/webrtc/trunk/src/voice_engine/test/android/android_test/res/drawable/icon.png
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/res/layout/main.xml => media/webrtc/trunk/src/voice_engine/test/android/android_test/res/layout/main.xml
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/res/values/strings.xml => media/webrtc/trunk/src/voice_engine/test/android/android_test/res/values/strings.xml
rename : media/webrtc/trunk/src/voice_engine/main/test/android/android_test/src/org/webrtc/voiceengine/test/AndroidTest.java => media/webrtc/trunk/src/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/AndroidTest.java
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/Android.mk => media/webrtc/trunk/src/voice_engine/test/auto_test/Android.mk
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/automated_mode.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/automated_mode.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/automated_mode.h => media/webrtc/trunk/src/voice_engine/test/auto_test/automated_mode.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/fakes/fake_media_process.h => media/webrtc/trunk/src/voice_engine/test/auto_test/fakes/fake_media_process.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/fixtures/after_initialization_fixture.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/fixtures/after_initialization_fixture.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/fixtures/after_initialization_fixture.h => media/webrtc/trunk/src/voice_engine/test/auto_test/fixtures/after_initialization_fixture.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/fixtures/after_streaming_fixture.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/fixtures/after_streaming_fixture.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/fixtures/after_streaming_fixture.h => media/webrtc/trunk/src/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/fixtures/before_initialization_fixture.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/fixtures/before_initialization_fixture.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/fixtures/before_initialization_fixture.h => media/webrtc/trunk/src/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/resource_manager.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/resource_manager.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/resource_manager.h => media/webrtc/trunk/src/voice_engine/test/auto_test/resource_manager.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/audio_processing_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/audio_processing_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/call_report_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/call_report_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/codec_before_streaming_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/codec_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/codec_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/dtmf_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/dtmf_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/encryption_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/encryption_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/external_media_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/external_media_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/file_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/file_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/hardware_before_initializing_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/hardware_before_initializing_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/hardware_before_streaming_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/hardware_before_streaming_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/hardware_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/hardware_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/manual_hold_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/manual_hold_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/neteq_stats_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/neteq_stats_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/neteq_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/neteq_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/network_before_streaming_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/network_before_streaming_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/network_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/network_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/rtp_rtcp_before_streaming_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/rtp_rtcp_before_streaming_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/rtp_rtcp_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/video_sync_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/video_sync_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/voe_base_misc_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/voe_base_misc_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/standard/volume_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/standard/volume_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_cpu_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_cpu_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_cpu_test.h => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_cpu_test.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_extended_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_extended_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_extended_test.h => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_extended_test.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_standard_test.h => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_standard_test.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_stress_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_stress_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_stress_test.h => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_stress_test.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_test_defines.h => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_test_defines.h
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_unit_test.cc => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_unit_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/auto_test/voe_unit_test.h => media/webrtc/trunk/src/voice_engine/test/auto_test/voe_unit_test.h
rename : media/webrtc/trunk/src/voice_engine/main/test/cmd_test/Android.mk => media/webrtc/trunk/src/voice_engine/test/cmd_test/Android.mk
rename : media/webrtc/trunk/src/voice_engine/main/test/cmd_test/voe_cmd_test.cc => media/webrtc/trunk/src/voice_engine/test/cmd_test/voe_cmd_test.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/voice_engine_tests.gypi => media/webrtc/trunk/src/voice_engine/test/voice_engine_tests.gypi
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/Resource.h => media/webrtc/trunk/src/voice_engine/test/win_test/Resource.h
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/WinTest.aps => media/webrtc/trunk/src/voice_engine/test/win_test/WinTest.aps
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/WinTest.cc => media/webrtc/trunk/src/voice_engine/test/win_test/WinTest.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/WinTest.h => media/webrtc/trunk/src/voice_engine/test/win_test/WinTest.h
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/WinTest.rc => media/webrtc/trunk/src/voice_engine/test/win_test/WinTest.rc
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/WinTestDlg.cc => media/webrtc/trunk/src/voice_engine/test/win_test/WinTestDlg.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/WinTestDlg.h => media/webrtc/trunk/src/voice_engine/test/win_test/WinTestDlg.h
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/res/WinTest.ico => media/webrtc/trunk/src/voice_engine/test/win_test/res/WinTest.ico
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/res/WinTest.rc2 => media/webrtc/trunk/src/voice_engine/test/win_test/res/WinTest.rc2
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/stdafx.cc => media/webrtc/trunk/src/voice_engine/test/win_test/stdafx.cc
rename : media/webrtc/trunk/src/voice_engine/main/test/win_test/stdafx.h => media/webrtc/trunk/src/voice_engine/test/win_test/stdafx.h
rename : media/webrtc/trunk/src/voice_engine/main/source/transmit_mixer.cc => media/webrtc/trunk/src/voice_engine/transmit_mixer.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/transmit_mixer.h => media/webrtc/trunk/src/voice_engine/transmit_mixer.h
rename : media/webrtc/trunk/src/voice_engine/main/source/utility.cc => media/webrtc/trunk/src/voice_engine/utility.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/utility.h => media/webrtc/trunk/src/voice_engine/utility.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_audio_processing_impl.cc => media/webrtc/trunk/src/voice_engine/voe_audio_processing_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_audio_processing_impl.h => media/webrtc/trunk/src/voice_engine/voe_audio_processing_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_base_impl.cc => media/webrtc/trunk/src/voice_engine/voe_base_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_base_impl.h => media/webrtc/trunk/src/voice_engine/voe_base_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_call_report_impl.cc => media/webrtc/trunk/src/voice_engine/voe_call_report_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_call_report_impl.h => media/webrtc/trunk/src/voice_engine/voe_call_report_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_codec_impl.cc => media/webrtc/trunk/src/voice_engine/voe_codec_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_codec_impl.h => media/webrtc/trunk/src/voice_engine/voe_codec_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_dtmf_impl.cc => media/webrtc/trunk/src/voice_engine/voe_dtmf_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_dtmf_impl.h => media/webrtc/trunk/src/voice_engine/voe_dtmf_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_encryption_impl.cc => media/webrtc/trunk/src/voice_engine/voe_encryption_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_encryption_impl.h => media/webrtc/trunk/src/voice_engine/voe_encryption_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_external_media_impl.cc => media/webrtc/trunk/src/voice_engine/voe_external_media_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_external_media_impl.h => media/webrtc/trunk/src/voice_engine/voe_external_media_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_file_impl.cc => media/webrtc/trunk/src/voice_engine/voe_file_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_file_impl.h => media/webrtc/trunk/src/voice_engine/voe_file_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_hardware_impl.cc => media/webrtc/trunk/src/voice_engine/voe_hardware_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_hardware_impl.h => media/webrtc/trunk/src/voice_engine/voe_hardware_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_neteq_stats_impl.cc => media/webrtc/trunk/src/voice_engine/voe_neteq_stats_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_neteq_stats_impl.h => media/webrtc/trunk/src/voice_engine/voe_neteq_stats_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_network_impl.cc => media/webrtc/trunk/src/voice_engine/voe_network_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_network_impl.h => media/webrtc/trunk/src/voice_engine/voe_network_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_rtp_rtcp_impl.cc => media/webrtc/trunk/src/voice_engine/voe_rtp_rtcp_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_rtp_rtcp_impl.h => media/webrtc/trunk/src/voice_engine/voe_rtp_rtcp_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_video_sync_impl.cc => media/webrtc/trunk/src/voice_engine/voe_video_sync_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_video_sync_impl.h => media/webrtc/trunk/src/voice_engine/voe_video_sync_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_volume_control_impl.cc => media/webrtc/trunk/src/voice_engine/voe_volume_control_impl.cc
rename : media/webrtc/trunk/src/voice_engine/main/source/voe_volume_control_impl.h => media/webrtc/trunk/src/voice_engine/voe_volume_control_impl.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voice_engine_defines.h => media/webrtc/trunk/src/voice_engine/voice_engine_defines.h
rename : media/webrtc/trunk/src/voice_engine/main/source/voice_engine_impl.h => media/webrtc/trunk/src/voice_engine/voice_engine_impl.h
rename : media/webrtc/trunk/testing/gtest/COPYING => media/webrtc/trunk/testing/gtest/LICENSE
rename : media/webrtc/trunk/tools/gyp/test/same-name/gyptest-all.py => media/webrtc/trunk/tools/gyp/test/same-source-file-name/gyptest-all.py
rename : media/webrtc/trunk/tools/gyp/test/same-name/gyptest-default.py => media/webrtc/trunk/tools/gyp/test/same-source-file-name/gyptest-default.py
rename : media/webrtc/trunk/tools/gyp/test/same-name/src/all.gyp => media/webrtc/trunk/tools/gyp/test/same-source-file-name/src/all.gyp
rename : media/webrtc/trunk/tools/gyp/test/same-name/src/func.c => media/webrtc/trunk/tools/gyp/test/same-source-file-name/src/func.c
rename : media/webrtc/trunk/tools/gyp/test/same-name/src/prog1.c => media/webrtc/trunk/tools/gyp/test/same-source-file-name/src/prog1.c
rename : media/webrtc/trunk/tools/gyp/test/same-name/src/prog2.c => media/webrtc/trunk/tools/gyp/test/same-source-file-name/src/prog2.c
rename : media/webrtc/trunk/tools/gyp/test/same-name/src/subdir1/func.c => media/webrtc/trunk/tools/gyp/test/same-source-file-name/src/subdir1/func.c
rename : media/webrtc/trunk/tools/gyp/test/same-name/src/subdir2/func.c => media/webrtc/trunk/tools/gyp/test/same-source-file-name/src/subdir2/func.c
rename : media/webrtc/trunk/tools/gyp/test/msvs/precompiled/hello.c => media/webrtc/trunk/tools/gyp/test/win/precompiled/hello.c
rename : media/webrtc/trunk/tools/gyp/test/msvs/precompiled/hello2.c => media/webrtc/trunk/tools/gyp/test/win/precompiled/hello2.c
rename : media/webrtc/trunk/tools/gyp/test/msvs/precompiled/precomp.c => media/webrtc/trunk/tools/gyp/test/win/precompiled/precomp.c
2012-10-04 12:09:31 -04:00

105 lines
3.1 KiB
Python
Executable File

#!/usr/bin/env python
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Copies test data files or directories into a given output directory."""
import optparse
import os
import shutil
import sys
class WrongNumberOfArgumentsException(Exception):
pass
def ListFilesForPath(path):
"""Returns a list of all the files under a given path."""
output = []
# Ignore dotfiles and dot directories.
# TODO(rohitrao): This will fail to exclude cases where the initial argument
# is a relative path that starts with a dot.
if os.path.basename(path).startswith('.'):
return output
# Files get returned without modification.
if not os.path.isdir(path):
output.append(path)
return output
# Directories get recursively expanded.
contents = os.listdir(path)
for item in contents:
full_path = os.path.join(path, item)
output.extend(ListFilesForPath(full_path))
return output
def CalcInputs(inputs):
"""Computes the full list of input files for a set of command-line arguments.
"""
# |inputs| is a list of strings, each of which may contain muliple paths
# separated by spaces.
output = []
for input in inputs:
tokens = input.split()
for token in tokens:
output.extend(ListFilesForPath(token))
return output
def CopyFiles(relative_filenames, output_basedir):
"""Copies files to the given output directory."""
for file in relative_filenames:
relative_dirname = os.path.dirname(file)
output_dir = os.path.join(output_basedir, relative_dirname)
output_filename = os.path.join(output_basedir, file)
# In cases where a directory has turned into a file or vice versa, delete it
# before copying it below.
if os.path.exists(output_dir) and not os.path.isdir(output_dir):
os.remove(output_dir)
if os.path.exists(output_filename) and os.path.isdir(output_filename):
shutil.rmtree(output_filename)
if not os.path.exists(output_dir):
os.makedirs(output_dir)
shutil.copy(file, output_filename)
def DoMain(argv):
parser = optparse.OptionParser()
usage = 'Usage: %prog -o <output_dir> [--inputs] [--outputs] <input_files>'
parser.set_usage(usage)
parser.add_option('-o', dest='output_dir')
parser.add_option('--inputs', action='store_true', dest='list_inputs')
parser.add_option('--outputs', action='store_true', dest='list_outputs')
options, arglist = parser.parse_args(argv)
if len(arglist) == 0:
raise WrongNumberOfArgumentsException('<input_files> required.')
files_to_copy = CalcInputs(arglist)
if options.list_inputs:
return '\n'.join(files_to_copy)
if not options.output_dir:
raise WrongNumberOfArgumentsException('-o required.')
if options.list_outputs:
outputs = [os.path.join(options.output_dir, x) for x in files_to_copy]
return '\n'.join(outputs)
CopyFiles(files_to_copy, options.output_dir)
return
def main(argv):
try:
result = DoMain(argv[1:])
except WrongNumberOfArgumentsException, e:
print >>sys.stderr, e
return 1
if result:
print result
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv))