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 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 "../../:webrtc_common", | 908 "../../:webrtc_common", |
909 "../../system_wrappers", | 909 "../../system_wrappers", |
910 "../../system_wrappers:system_wrappers_default", | 910 "../../system_wrappers:system_wrappers_default", |
911 "../../test:test_support", | 911 "../../test:test_support", |
912 "../rtp_rtcp", | 912 "../rtp_rtcp", |
913 "//testing/gtest", | 913 "//testing/gtest", |
914 "//third_party/gflags:gflags", | 914 "//third_party/gflags:gflags", |
915 ] | 915 ] |
916 } # insert_packet_with_timing | 916 } # insert_packet_with_timing |
917 | 917 |
918 if (is_android || is_ios) { | 918 audio_decoder_unittests_resources = |
919 audio_decoder_unittests_resources = | 919 [ "//resources/audio_coding/testfile32kHz.pcm" ] |
920 [ "//resources/audio_coding/testfile32kHz.pcm" ] | |
921 } | |
922 | 920 |
923 if (is_ios) { | 921 if (is_ios) { |
924 bundle_data("audio_decoder_unittests_bundle_data") { | 922 bundle_data("audio_decoder_unittests_bundle_data") { |
925 testonly = true | 923 testonly = true |
926 sources = audio_decoder_unittests_resources | 924 sources = audio_decoder_unittests_resources |
927 outputs = [ | 925 outputs = [ |
928 "{{bundle_resources_dir}}/{{source_file_part}}", | 926 "{{bundle_resources_dir}}/{{source_file_part}}", |
929 ] | 927 ] |
930 } | 928 } |
931 } | 929 } |
(...skipping 18 matching lines...) Expand all Loading... |
950 ":audio_decoder_interface", | 948 ":audio_decoder_interface", |
951 ":isac", | 949 ":isac", |
952 ":isac_fix", | 950 ":isac_fix", |
953 ":neteq", | 951 ":neteq", |
954 ":neteq_unittest_tools", | 952 ":neteq_unittest_tools", |
955 "../../common_audio/", | 953 "../../common_audio/", |
956 "../../test:test_support_main", | 954 "../../test:test_support_main", |
957 "//testing/gtest", | 955 "//testing/gtest", |
958 ] | 956 ] |
959 | 957 |
| 958 data = audio_decoder_unittests_resources |
| 959 |
960 if (is_android) { | 960 if (is_android) { |
961 deps += [ "//testing/android/native_test:native_test_native_code" ] | 961 deps += [ "//testing/android/native_test:native_test_native_code" ] |
962 data = audio_decoder_unittests_resources | |
963 shard_timeout = 900 | 962 shard_timeout = 900 |
964 } | 963 } |
965 if (is_ios) { | 964 if (is_ios) { |
966 deps += [ ":audio_decoder_unittests_bundle_data" ] | 965 deps += [ ":audio_decoder_unittests_bundle_data" ] |
967 } | 966 } |
968 } # audio_decoder_unittests | 967 } # audio_decoder_unittests |
969 | 968 |
970 if (rtc_enable_protobuf) { | 969 if (rtc_enable_protobuf) { |
971 proto_library("neteq_unittest_proto") { | 970 proto_library("neteq_unittest_proto") { |
972 sources = [ | 971 sources = [ |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 "//testing/gtest", | 1564 "//testing/gtest", |
1566 ] | 1565 ] |
1567 | 1566 |
1568 if (is_clang) { | 1567 if (is_clang) { |
1569 # Suppress warnings from Chrome's Clang plugins. | 1568 # Suppress warnings from Chrome's Clang plugins. |
1570 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1569 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1571 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1570 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1572 } | 1571 } |
1573 } | 1572 } |
1574 } | 1573 } |
OLD | NEW |