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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
931 | 931 |
932 defines = audio_coding_defines | 932 defines = audio_coding_defines |
933 | 933 |
934 deps = audio_coding_deps + [ | 934 deps = audio_coding_deps + [ |
935 ":audio_coding", | 935 ":audio_coding", |
936 ":neteq_unittest_tools", | 936 ":neteq_unittest_tools", |
937 "//testing/gtest", | 937 "//testing/gtest", |
938 ] | 938 ] |
939 } | 939 } |
940 | 940 |
941 test("audio_decoder_unittests") { | |
942 testonly = true | |
943 sources = [ | |
944 "neteq/audio_decoder_unittest.cc", | |
945 ] | |
946 | |
947 configs += [ "../..:common_config" ] | |
948 public_configs = [ "../..:common_inherited_config" ] | |
949 | |
950 if (is_clang) { | |
951 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | |
952 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
953 } | |
954 | |
955 defines = neteq_defines | |
956 | |
957 deps = audio_coding_deps + [ | |
958 ":isac", | |
959 ":isac_fix", | |
960 ":neteq", | |
phoglund
2016/07/27 08:23:52
I don't see this one in the deps list in the gyp f
charujain
2016/07/27 08:32:13
If you look at "audio_coding_deps" defined at top
phoglund
2016/07/27 08:45:48
You are right, they should be added by the logic t
| |
961 ":audio_decoder_interface", | |
962 ":neteq_unittest_tools", | |
963 "../../common_audio/", | |
964 "//testing/gtest", | |
965 "../../test:test_support_main", | |
966 ] | |
967 | |
968 if (is_android) { | |
969 deps = [ | |
970 "//testing/android/native_test", | |
971 ] | |
972 } | |
973 | |
974 if (is_ios) { | |
975 deps = [ | |
976 "//resources/audio_coding/testfile32kHz.pcm", | |
977 ] | |
978 } | |
979 } # audio_decoder_unittests | |
980 | |
941 if (rtc_enable_protobuf) { | 981 if (rtc_enable_protobuf) { |
942 proto_library("neteq_unittest_proto") { | 982 proto_library("neteq_unittest_proto") { |
943 sources = [ | 983 sources = [ |
944 "neteq/neteq_unittest.proto", | 984 "neteq/neteq_unittest.proto", |
945 ] | 985 ] |
946 proto_out_dir = "webrtc/audio_coding/neteq" | 986 proto_out_dir = "webrtc/audio_coding/neteq" |
947 } | 987 } |
948 | 988 |
949 source_set("rtc_event_log_source") { | 989 source_set("rtc_event_log_source") { |
950 testonly = true | 990 testonly = true |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1078 "../../common_audio", | 1118 "../../common_audio", |
1079 "../../test:rtp_test_utils", | 1119 "../../test:rtp_test_utils", |
1080 "../rtp_rtcp", | 1120 "../rtp_rtcp", |
1081 ] | 1121 ] |
1082 | 1122 |
1083 if (rtc_enable_protobuf) { | 1123 if (rtc_enable_protobuf) { |
1084 deps += [ ":rtc_event_log_source" ] | 1124 deps += [ ":rtc_event_log_source" ] |
1085 } | 1125 } |
1086 } | 1126 } |
1087 } | 1127 } |
OLD | NEW |