OLD | NEW |
---|---|
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
938 ] | 938 ] |
939 } | 939 } |
940 | 940 |
941 if (rtc_enable_protobuf) { | 941 if (rtc_enable_protobuf) { |
942 proto_library("neteq_unittest_proto") { | 942 proto_library("neteq_unittest_proto") { |
943 sources = [ | 943 sources = [ |
944 "neteq/neteq_unittest.proto", | 944 "neteq/neteq_unittest.proto", |
945 ] | 945 ] |
946 proto_out_dir = "webrtc/audio_coding/neteq" | 946 proto_out_dir = "webrtc/audio_coding/neteq" |
947 } | 947 } |
948 | |
949 source_set("rtc_event_log_source") { | |
950 testonly = true | |
951 sources = [ | |
952 "neteq/tools/rtc_event_log_source.cc", | |
953 "neteq/tools/rtc_event_log_source.h", | |
954 ] | |
955 | |
956 if (is_clang) { | |
957 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163 ). | |
kjellander_webrtc
2016/06/21 11:21:47
nit: max 80 chars.
hlundin-webrtc
2016/06/21 11:55:03
Done.
| |
958 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
959 } | |
960 | |
961 deps = [ | |
962 "../../:rtc_event_log_parser", | |
963 ] | |
964 public_deps = [ | |
965 "../../:rtc_event_log_proto", | |
966 ] | |
967 } | |
968 | |
969 test("neteq_rtpplay") { | |
970 testonly = true | |
971 defines = [] | |
972 deps = [] | |
973 sources = [ | |
974 "neteq/tools/neteq_rtpplay.cc", | |
975 ] | |
976 | |
977 if (is_clang) { | |
978 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . | |
kjellander_webrtc
2016/06/21 11:21:47
nit: max 80 chars.
hlundin-webrtc
2016/06/21 11:55:03
Done.
| |
979 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
980 } | |
981 | |
982 if (is_win) { | |
983 cflags = [ | |
984 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | |
985 "/wd4373", # virtual function override. | |
986 ] | |
987 } | |
988 | |
989 deps += [ | |
990 ":neteq", | |
991 ":neteq_unittest_tools", | |
992 ":rtc_event_log_source", | |
993 "../../system_wrappers:system_wrappers_default", | |
994 "../../test:test_support", | |
995 "//third_party/gflags", | |
996 ] | |
997 } | |
948 } | 998 } |
949 | 999 |
950 source_set("neteq_test_support") { | 1000 source_set("neteq_test_support") { |
951 testonly = true | 1001 testonly = true |
952 sources = [ | 1002 sources = [ |
953 "neteq/tools/neteq_external_decoder_test.cc", | 1003 "neteq/tools/neteq_external_decoder_test.cc", |
954 "neteq/tools/neteq_external_decoder_test.h", | 1004 "neteq/tools/neteq_external_decoder_test.h", |
955 "neteq/tools/neteq_performance_test.cc", | 1005 "neteq/tools/neteq_performance_test.cc", |
956 "neteq/tools/neteq_performance_test.h", | 1006 "neteq/tools/neteq_performance_test.h", |
957 "neteq/tools/neteq_quality_test.cc", | 1007 "neteq/tools/neteq_quality_test.cc", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1014 configs -= [ "//build/config/clang:find_bad_constructs" ] | 1064 configs -= [ "//build/config/clang:find_bad_constructs" ] |
1015 } | 1065 } |
1016 | 1066 |
1017 deps = [ | 1067 deps = [ |
1018 "../../common_audio", | 1068 "../../common_audio", |
1019 "../../test:rtp_test_utils", | 1069 "../../test:rtp_test_utils", |
1020 "../rtp_rtcp", | 1070 "../rtp_rtcp", |
1021 ] | 1071 ] |
1022 } | 1072 } |
1023 } | 1073 } |
OLD | NEW |