Add direct_dependent_config to desktop_capture in GN build.
This allows us to remove some configs in the Chrome build that should come automatically from depending on this target. R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14309004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7067 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
ceb956b29d
commit
afa77cd803
@ -105,7 +105,7 @@ source_set("desktop_capture") {
|
||||
]
|
||||
}
|
||||
|
||||
configs += [ "../../:common_inherited_config"]
|
||||
direct_dependent_configs = [ "../..:common_inherited_config"]
|
||||
|
||||
if (is_clang) {
|
||||
# Suppress warnings from Chrome's Clang plugins.
|
||||
@ -124,12 +124,13 @@ if (use_desktop_capture_differ_sse2) {
|
||||
# Have to be compiled as a separate target because it needs to be compiled
|
||||
# with SSE2 enabled.
|
||||
source_set("desktop_capture_differ_sse2") {
|
||||
visibility = ":*"
|
||||
sources = [
|
||||
"differ_block_sse2.cc",
|
||||
"differ_block_sse2.h",
|
||||
]
|
||||
|
||||
configs += [ "../../:common_inherited_config"]
|
||||
configs += [ "../..:common_inherited_config"]
|
||||
|
||||
if (is_posix && !is_mac) {
|
||||
cflags = ["-msse2"]
|
||||
|
Loading…
Reference in New Issue
Block a user