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

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

Issue 2441383002: GN: New conventions, default target and refactorings (Closed)
Patch Set: Restored root BUILD.gn for submit. Created 4 years, 1 month 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 | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_mixer/BUILD.gn » ('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 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 "neteq/tools/neteq_test.h", 906 "neteq/tools/neteq_test.h",
907 ] 907 ]
908 908
909 if (!build_with_chromium && is_clang) { 909 if (!build_with_chromium && is_clang) {
910 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 910 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
911 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 911 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
912 } 912 }
913 } 913 }
914 914
915 if (rtc_include_tests) { 915 if (rtc_include_tests) {
916 group("audio_coding_tests") {
917 testonly = true
918 public_deps = [
919 ":RTPchange",
920 ":RTPencode",
921 ":RTPjitter",
922 ":RTPtimeshift",
923 ":acm_receive_test",
924 ":acm_send_test",
925 ":audio_classifier_test",
926 ":audio_codec_speed_tests",
927 ":audio_decoder_unittests",
928 ":audio_decoder_unittests",
929 ":delay_test",
930 ":g711_test",
931 ":g722_test",
932 ":ilbc_test",
933 ":insert_packet_with_timing",
934 ":isac_api_test",
935 ":isac_fix_test",
936 ":isac_switch_samprate_test",
937 ":isac_test",
938 ":neteq_ilbc_quality_test",
939 ":neteq_isac_quality_test",
940 ":neteq_opus_quality_test",
941 ":neteq_pcmu_quality_test",
942 ":neteq_speed_test",
943 ":rtp_analyze",
944 ":rtpcat",
945 ":webrtc_opus_fec_test",
946 ]
947 if (rtc_enable_protobuf) {
948 public_deps += [ ":neteq_rtpplay" ]
949 }
950 }
951
916 rtc_source_set("acm_receive_test") { 952 rtc_source_set("acm_receive_test") {
917 testonly = true 953 testonly = true
918 sources = [ 954 sources = [
919 "acm2/acm_receive_test.cc", 955 "acm2/acm_receive_test.cc",
920 "acm2/acm_receive_test.h", 956 "acm2/acm_receive_test.h",
921 ] 957 ]
922 958
923 defines = audio_coding_defines 959 defines = audio_coding_defines
924 960
925 deps = audio_coding_deps + [ 961 deps = audio_coding_deps + [
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 1057
1022 defines = neteq_defines 1058 defines = neteq_defines
1023 1059
1024 deps += audio_coding_deps 1060 deps += audio_coding_deps
1025 deps += [ 1061 deps += [
1026 ":audio_decoder_interface", 1062 ":audio_decoder_interface",
1027 ":isac", 1063 ":isac",
1028 ":isac_fix", 1064 ":isac_fix",
1029 ":neteq", 1065 ":neteq",
1030 ":neteq_unittest_tools", 1066 ":neteq_unittest_tools",
1031 "../../common_audio/", 1067 "../../common_audio",
1032 "../../test:test_support_main", 1068 "../../test:test_support_main",
1033 "//testing/gtest", 1069 "//testing/gtest",
1034 ] 1070 ]
1035 1071
1036 data = audio_decoder_unittests_resources 1072 data = audio_decoder_unittests_resources
1037 1073
1038 if (is_android) { 1074 if (is_android) {
1039 deps += [ "//testing/android/native_test:native_test_native_code" ] 1075 deps += [ "//testing/android/native_test:native_test_native_code" ]
1040 shard_timeout = 900 1076 shard_timeout = 900
1041 } 1077 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 if (is_android) { 1157 if (is_android) {
1122 deps += [ "//testing/android/native_test:native_test_native_code" ] 1158 deps += [ "//testing/android/native_test:native_test_native_code" ]
1123 shard_timeout = 900 1159 shard_timeout = 900
1124 } 1160 }
1125 1161
1126 deps += [ 1162 deps += [
1127 ":isac_fix", 1163 ":isac_fix",
1128 ":webrtc_opus", 1164 ":webrtc_opus",
1129 "../../system_wrappers:system_wrappers_default", 1165 "../../system_wrappers:system_wrappers_default",
1130 "../../test:test_support_main", 1166 "../../test:test_support_main",
1131 "../audio_processing/", 1167 "../audio_processing",
1132 "//testing/gtest", 1168 "//testing/gtest",
1133 ] 1169 ]
1134 } 1170 }
1135 1171
1136 rtc_source_set("neteq_test_support") { 1172 rtc_source_set("neteq_test_support") {
1137 testonly = true 1173 testonly = true
1138 sources = [ 1174 sources = [
1139 "neteq/tools/neteq_external_decoder_test.cc", 1175 "neteq/tools/neteq_external_decoder_test.cc",
1140 "neteq/tools/neteq_external_decoder_test.h", 1176 "neteq/tools/neteq_external_decoder_test.h",
1141 "neteq/tools/neteq_performance_test.cc", 1177 "neteq/tools/neteq_performance_test.cc",
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 "../../test:test_support_main", 1672 "../../test:test_support_main",
1637 "//testing/gtest", 1673 "//testing/gtest",
1638 ] 1674 ]
1639 1675
1640 if (!build_with_chromium && is_clang) { 1676 if (!build_with_chromium && is_clang) {
1641 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1677 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1642 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1678 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1643 } 1679 }
1644 } 1680 }
1645 } 1681 }
OLDNEW
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_mixer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698