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

Unified 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: Creating GN version of audio_decoder_unittests for linux tool chain Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_coding/audio_coding.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/BUILD.gn
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index 1b0ceb0b4a1387c1f5b15e62afa2593ae8868ef3..36b5ce13dc772b3ee878984f1d0e5e82e255d355 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -938,6 +938,46 @@ if (rtc_include_tests) {
]
}
+ test("audio_decoder_unittests") {
+ testonly = true
+ sources = [
+ "neteq/audio_decoder_unittest.cc",
+ ]
+
+ configs += [ "../..:common_config" ]
+ public_configs = [ "../..:common_inherited_config" ]
+
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+
+ defines = neteq_defines
+
+ deps = audio_coding_deps + [
+ ":isac",
+ ":isac_fix",
+ ":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
+ ":audio_decoder_interface",
+ ":neteq_unittest_tools",
+ "../../common_audio/",
+ "//testing/gtest",
+ "../../test:test_support_main",
+ ]
+
+ if (is_android) {
+ deps = [
+ "//testing/android/native_test",
+ ]
+ }
+
+ if (is_ios) {
+ deps = [
+ "//resources/audio_coding/testfile32kHz.pcm",
+ ]
+ }
+ } # audio_decoder_unittests
+
if (rtc_enable_protobuf) {
proto_library("neteq_unittest_proto") {
sources = [
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_coding/audio_coding.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698