GN: Enable libvpx, add link target and convert some test targets

Libvpx now supports GN and this CL turns on compiling it.
I also introduced an executable target 'webrtc_tests'
that depends on all in WeBRTC + tests in order to get a full
linking step executed (since we've seen link problems for GN
when rolling WebRTC into Chromium).

I also converted a few test targets and made a GN file for
third_party/gflags.

BUG=3441
TESTED=Trybots + full Chromium build with a symlinked src/third_party/webrtc
dir to a workspace wit this CL applied.

R=brettw@chromium.org
TBR=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7344 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org
2014-09-30 18:05:02 +00:00
parent d05756f0a2
commit b8caf6a504
11 changed files with 266 additions and 23 deletions

View File

@@ -528,13 +528,12 @@ source_set("isacfix") {
} else {
sources += [ "codecs/isac/fix/source/pitch_filter_c.c" ]
}
} else {
sources += [ "codecs/isac/fix/source/pitch_estimator_c.c" ]
}
if (rtc_build_armv7_neon) {
sources += [
"codecs/isac/fix/source/lattice_c.c",
"codecs/isac/fix/source/pitch_estimator_c.c",
]
if (!rtc_build_armv7_neon && cpu_arch != "mipsel") {
sources += [ "codecs/isac/fix/source/lattice_c.c" ]
}
}