GN: Prefix WebRTC specific variables with "rtc_"

BUG=3441
TESTED=Trybots + Running GN in a Chromium checkout with
src/third_party/webrtc symlinked to the WebRTC checkout
with this CL applied, both with the default GN settings
and using: --args="os=\"android\" cpu_arch=\"arm\""

R=brettw@chromium.org

Review URL: https://webrtc-codereview.appspot.com/27379004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7095 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org
2014-09-07 17:36:10 +00:00
parent f68cf93e1b
commit 6d08ca6379
13 changed files with 70 additions and 70 deletions

View File

@@ -102,7 +102,7 @@ source_set("audio_coding") {
"../../system_wrappers",
]
if (include_opus) {
if (rtc_include_opus) {
defines += [ "WEBRTC_CODEC_OPUS" ]
deps += [ ":webrtc_opus" ]
}
@@ -453,7 +453,7 @@ source_set("isacfix") {
"../../system_wrappers",
]
if (build_armv7_neon) {
if (rtc_build_armv7_neon) {
deps += [ ":isac_neon" ]
# Enable compilation for the ARM v7 Neon instruction set. This is needed
@@ -497,7 +497,7 @@ source_set("isacfix") {
}
}
if (build_armv7_neon) {
if (rtc_build_armv7_neon) {
sources += [
"codecs/isac/fix/source/lattice_c.c",
"codecs/isac/fix/source/pitch_estimator_c.c",
@@ -505,7 +505,7 @@ source_set("isacfix") {
}
}
if (build_armv7_neon) {
if (rtc_build_armv7_neon) {
source_set("isac_neon") {
sources = [
"codecs/isac/fix/source/entropy_coding_neon.c",
@@ -521,7 +521,7 @@ if (build_armv7_neon) {
]
# Disable LTO in audio_processing_neon target due to compiler bug.
if (use_lto) {
if (rtc_use_lto) {
cflags -= [
"-flto",
"-ffat-lto-objects",