GN: Changes for vp9, opus and direct trace
Corresponding GN changes for https://webrtc-codereview.appspot.com/34099004/ BUG=4185 R=brettw@chromium.org Review URL: https://webrtc-codereview.appspot.com/40669004 Cr-Commit-Position: refs/heads/master@{#8377} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8377 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -166,7 +166,7 @@ source_set("webrtc_vp8") {
|
||||
|
||||
# TODO(kjellander): Remove once libvpx has changed it's libvpx_config to be
|
||||
# in direct_dependent_configs.
|
||||
configs += [ "//third_party/libvpx:libvpx_config" ]
|
||||
configs += [ "$rtc_libvpx_dir:libvpx_config" ]
|
||||
|
||||
deps = [
|
||||
":video_coding_utility",
|
||||
@ -175,17 +175,21 @@ source_set("webrtc_vp8") {
|
||||
]
|
||||
if (rtc_build_libvpx) {
|
||||
deps += [
|
||||
"//third_party/libvpx",
|
||||
rtc_libvpx_dir,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
source_set("webrtc_vp9") {
|
||||
sources = [
|
||||
"codecs/vp9/include/vp9.h",
|
||||
"codecs/vp9/vp9_impl.cc",
|
||||
"codecs/vp9/vp9_impl.h",
|
||||
]
|
||||
if (rtc_build_vp9) {
|
||||
sources = [
|
||||
"codecs/vp9/include/vp9.h",
|
||||
"codecs/vp9/vp9_impl.cc",
|
||||
"codecs/vp9/vp9_impl.h",
|
||||
]
|
||||
} else {
|
||||
sources = [ "codecs/vp9/vp9_dummy_impl.cc" ]
|
||||
}
|
||||
|
||||
configs += [ "../..:common_config" ]
|
||||
public_configs = [ "../..:common_inherited_config" ]
|
||||
@ -198,7 +202,7 @@ source_set("webrtc_vp9") {
|
||||
|
||||
# TODO(kjellander): Remove once libvpx has changed it's libvpx_config to be
|
||||
# in direct_dependent_configs.
|
||||
configs += [ "//third_party/libvpx:libvpx_config" ]
|
||||
configs += [ "$rtc_libvpx_dir:libvpx_config" ]
|
||||
|
||||
deps = [
|
||||
":video_coding_utility",
|
||||
@ -207,7 +211,7 @@ source_set("webrtc_vp9") {
|
||||
]
|
||||
if (rtc_build_libvpx) {
|
||||
deps += [
|
||||
"//third_party/libvpx",
|
||||
rtc_libvpx_dir,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user