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 |
| 958 # (bugs.webrtc.org/163). |
| 959 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 960 } |
| 961 |
| 962 deps = [ |
| 963 "../../:rtc_event_log_parser", |
| 964 ] |
| 965 public_deps = [ |
| 966 "../../:rtc_event_log_proto", |
| 967 ] |
| 968 } |
| 969 |
| 970 test("neteq_rtpplay") { |
| 971 testonly = true |
| 972 defines = [] |
| 973 deps = [] |
| 974 sources = [ |
| 975 "neteq/tools/neteq_rtpplay.cc", |
| 976 ] |
| 977 |
| 978 if (is_clang) { |
| 979 # Suppress warnings from the Chromium Clang plugins |
| 980 # (bugs.webrtc.org/163). |
| 981 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 982 } |
| 983 |
| 984 if (is_win) { |
| 985 cflags = [ |
| 986 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 987 "/wd4373", # virtual function override. |
| 988 ] |
| 989 } |
| 990 |
| 991 deps += [ |
| 992 ":neteq", |
| 993 ":neteq_unittest_tools", |
| 994 ":rtc_event_log_source", |
| 995 "../../system_wrappers:system_wrappers_default", |
| 996 "../../test:test_support", |
| 997 "//third_party/gflags", |
| 998 ] |
| 999 } |
948 } | 1000 } |
949 | 1001 |
950 source_set("neteq_test_support") { | 1002 source_set("neteq_test_support") { |
951 testonly = true | 1003 testonly = true |
952 sources = [ | 1004 sources = [ |
953 "neteq/tools/neteq_external_decoder_test.cc", | 1005 "neteq/tools/neteq_external_decoder_test.cc", |
954 "neteq/tools/neteq_external_decoder_test.h", | 1006 "neteq/tools/neteq_external_decoder_test.h", |
955 "neteq/tools/neteq_performance_test.cc", | 1007 "neteq/tools/neteq_performance_test.cc", |
956 "neteq/tools/neteq_performance_test.h", | 1008 "neteq/tools/neteq_performance_test.h", |
957 "neteq/tools/neteq_quality_test.cc", | 1009 "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" ] | 1066 configs -= [ "//build/config/clang:find_bad_constructs" ] |
1015 } | 1067 } |
1016 | 1068 |
1017 deps = [ | 1069 deps = [ |
1018 "../../common_audio", | 1070 "../../common_audio", |
1019 "../../test:rtp_test_utils", | 1071 "../../test:rtp_test_utils", |
1020 "../rtp_rtcp", | 1072 "../rtp_rtcp", |
1021 ] | 1073 ] |
1022 } | 1074 } |
1023 } | 1075 } |
OLD | NEW |