Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 2182063002: Creating GN version of audio_decoder_unittests for linux tool chain (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed android bots Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/audio_coding.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 deps = []
956 if (is_android) {
957 deps += [ "//testing/android/native_test:native_test_native_code" ]
958 }
959
960 defines = neteq_defines
961
962 deps += audio_coding_deps
963 deps += [
964 ":audio_decoder_interface",
965 ":isac",
966 ":isac_fix",
967 ":neteq",
968 ":neteq_unittest_tools",
969 "../../common_audio/",
970 "../../test:test_support_main",
971 "//testing/gtest",
972 ]
973
974 if (is_ios) {
975 data = [
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
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 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/audio_coding.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698