Migrated GN target :g711_test

Migrated GN target :g711_test from
webrtc/modules/audio_coding/codecs/g711/g711.gypi

NOTRY=True

BUG=webrtc:6191

Review-Url: https://codereview.webrtc.org/2273623002
Cr-Commit-Position: refs/heads/master@{#13864}
This commit is contained in:
aleloi 2016-08-23 08:08:23 -07:00 committed by Commit bot
parent 649a21a25f
commit 16f55a10c4
4 changed files with 28 additions and 0 deletions

1
.gn
View File

@ -24,6 +24,7 @@ check_targets = [
"//webrtc/voice_engine:level_indicator",
"//webrtc/modules/audio_coding:isac_fix_test",
"//webrtc/modules/audio_mixer:audio_conference_mixer",
"//webrtc/modules/audio_coding:g711_test",
]
# These are the list of GN files that run exec_script. This whitelist exists

View File

@ -92,6 +92,7 @@ if (!rtc_build_ssl) {
# The subset of rtc_base approved for use outside of libjingle.
static_library("rtc_base_approved") {
defines = []
libs = []
deps = []
configs += [ "..:common_config" ]
public_configs = [ "..:common_inherited_config" ]
@ -170,6 +171,10 @@ static_library("rtc_base_approved") {
"trace_event.h",
]
if (is_android) {
libs += [ "log" ]
}
if (build_with_chromium) {
# Dependency on chromium's logging (in //base).
deps += [ "//base:base" ]

View File

@ -129,6 +129,13 @@
},
},
}], # OS=="mac" and build_with_chromium==0
['OS=="android"', {
'link_settings': {
'libraries': [
'-llog',
],
},
}],
],
},
{

View File

@ -1539,4 +1539,19 @@ if (rtc_include_tests) {
]
}
}
executable("g711_test") {
testonly = true
sources = [
"codecs/g711/test/testG711.cc",
]
configs += [ "../..:common_config" ]
public_configs = [ "../..:common_inherited_config" ]
deps = [
":g711",
]
}
}