GYP: Remove targets inside include_tests==1 that are converted to GN.

Remove a large number of targets that are no longer built, to reduce maintenance.
Only targets that have a GN version were removed.

BUG=webrtc:6323
NOTRY=True
NOPRESUBMIT=True

Review-Url: https://codereview.webrtc.org/2340773003
Cr-Commit-Position: refs/heads/master@{#14231}
This commit is contained in:
kjellander
2016-09-15 04:57:37 -07:00
committed by Commit bot
parent 8b28b8017f
commit 17f008bf33
60 changed files with 0 additions and 4376 deletions

View File

@ -191,80 +191,5 @@
['include_opus==1', {
'includes': ['codecs/opus/opus.gypi',],
}],
['include_tests==1', {
'targets': [
{
'target_name': 'acm_receive_test',
'type': 'static_library',
'defines': [
'<@(audio_coding_defines)',
],
'dependencies': [
'<@(audio_coding_dependencies)',
'audio_coding_module',
'neteq_unittest_tools',
'<(DEPTH)/testing/gtest.gyp:gtest',
],
'sources': [
'acm2/acm_receive_test_oldapi.cc',
'acm2/acm_receive_test_oldapi.h',
],
}, # acm_receive_test
{
'target_name': 'acm_send_test',
'type': 'static_library',
'defines': [
'<@(audio_coding_defines)',
],
'dependencies': [
'<@(audio_coding_dependencies)',
'audio_coding_module',
'neteq_unittest_tools',
'<(DEPTH)/testing/gtest.gyp:gtest',
],
'sources': [
'acm2/acm_send_test_oldapi.cc',
'acm2/acm_send_test_oldapi.h',
],
}, # acm_send_test
{
'target_name': 'delay_test',
'type': 'executable',
'dependencies': [
'audio_coding_module',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(webrtc_root)/common.gyp:webrtc_common',
'<(webrtc_root)/test/test.gyp:test_support',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
],
'sources': [
'test/delay_test.cc',
'test/Channel.cc',
'test/PCMFile.cc',
'test/utility.cc',
],
}, # delay_test
{
'target_name': 'insert_packet_with_timing',
'type': 'executable',
'dependencies': [
'audio_coding_module',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(webrtc_root)/common.gyp:webrtc_common',
'<(webrtc_root)/test/test.gyp:test_support',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
],
'sources': [
'test/insert_packet_with_timing.cc',
'test/Channel.cc',
'test/PCMFile.cc',
],
}, # delay_test
],
}],
],
}

View File

@ -26,20 +26,4 @@
],
},
], # targets
'conditions': [
['include_tests==1', {
'targets': [
{
'target_name': 'g711_test',
'type': 'executable',
'dependencies': [
'g711',
],
'sources': [
'test/testG711.cc',
],
},
], # targets
}], # include_tests
], # conditions
}

View File

@ -26,21 +26,4 @@
],
},
], # targets
'conditions': [
['include_tests==1', {
'targets': [
{
'target_name': 'g722_test',
'type': 'executable',
'dependencies': [
'g722',
'<(webrtc_root)/common.gyp:webrtc_common'
],
'sources': [
'test/testG722.cc',
],
},
], # targets
}], # include_tests
], # conditions
}

View File

@ -163,25 +163,4 @@
], # sources
}, # ilbc
], # targets
'conditions': [
['include_tests==1', {
'targets': [
{
'target_name': 'ilbc_test',
'type': 'executable',
'dependencies': [
'ilbc',
],
'sources': [
# The empty .cc file is a hack to get GYP to use the C++
# linker even though all sources here are .c files; this
# is necessary because we transitively depend on
# rtc_base_approved, which calls the C++ standard library.
'test/empty.cc',
'test/iLBC_test.c',
],
}, # ilbc_test
], # targets
}], # include_tests
], # conditions
}

View File

@ -50,24 +50,4 @@
],
},
],
'conditions': [
['include_tests==1', {
'targets': [
{
'target_name': 'webrtc_opus_fec_test',
'type': 'executable',
'dependencies': [
'webrtc_opus',
'<(webrtc_root)/base/base.gyp:rtc_base_approved',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/test/test.gyp:test_support_main',
'<(DEPTH)/testing/gtest.gyp:gtest',
],
'sources': [
'opus_fec_test.cc',
],
},
],
}],
],
}

View File

@ -134,129 +134,4 @@
],
},
], # targets
'conditions': [
['include_tests==1', {
'includes': ['neteq_tests.gypi',],
'targets': [
{
'target_name': 'audio_decoder_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
'<@(codecs)',
'g722',
'ilbc',
'isac',
'isac_fix',
'audio_decoder_interface',
'neteq_unittest_tools',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/test/test.gyp:test_support_main',
],
'defines': [
'<@(neteq_defines)',
],
'sources': [
'audio_decoder_unittest.cc',
],
'conditions': [
['OS=="android"', {
'dependencies': [
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
],
}],
['OS=="ios"', {
'mac_bundle_resources': [
'<(DEPTH)/resources/audio_coding/testfile32kHz.pcm',
],
}],
],
}, # audio_decoder_unittests
{
'target_name': 'rtc_event_log_source',
'type': 'static_library',
'dependencies': [
'<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
'<(webrtc_root)/webrtc.gyp:rtc_event_log_proto',
],
'export_dependent_settings': [
'<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
],
'sources': [
'tools/rtc_event_log_source.h',
'tools/rtc_event_log_source.cc',
],
},
{
'target_name': 'neteq_unittest_proto',
'type': 'static_library',
'sources': [
'neteq_unittest.proto',
],
'variables': {
'proto_in_dir': '.',
# Workaround to protect against gyp's pathname relativization when
# this file is included by modules.gyp.
'proto_out_protected': 'webrtc/audio_coding/neteq',
'proto_out_dir': '<(proto_out_protected)',
},
'includes': ['../../../build/protoc.gypi',],
},
{
'target_name': 'neteq_unittest_tools',
'type': 'static_library',
'dependencies': [
'neteq',
'rtp_rtcp',
'rtc_event_log_source',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/test/test.gyp:rtp_test_utils',
],
'direct_dependent_settings': {
'include_dirs': [
'tools',
],
},
'include_dirs': [
'tools',
],
'sources': [
'tools/audio_checksum.h',
'tools/audio_loop.cc',
'tools/audio_loop.h',
'tools/audio_sink.h',
'tools/audio_sink.cc',
'tools/constant_pcm_packet_source.cc',
'tools/constant_pcm_packet_source.h',
'tools/fake_decode_from_file.cc',
'tools/fake_decode_from_file.h',
'tools/input_audio_file.cc',
'tools/input_audio_file.h',
'tools/neteq_input.h',
'tools/neteq_packet_source_input.cc',
'tools/neteq_packet_source_input.h',
'tools/neteq_replacement_input.cc',
'tools/neteq_replacement_input.h',
'tools/neteq_test.cc',
'tools/neteq_test.h',
'tools/output_audio_file.h',
'tools/output_wav_file.h',
'tools/packet.cc',
'tools/packet.h',
'tools/packet_source.cc',
'tools/packet_source.h',
'tools/resample_input_audio_file.cc',
'tools/resample_input_audio_file.h',
'tools/rtp_file_source.cc',
'tools/rtp_file_source.h',
'tools/rtp_generator.cc',
'tools/rtp_generator.h',
],
}, # neteq_unittest_tools
], # targets
}], # include_tests
], # conditions
}