Tightening visibility and removing a public_dep.
This CL aligns the visibility and the dependency between the _objc and the _generic targets to the standard decided in: https://codereview.webrtc.org/3001623003. BUG=webrtc:7743 NOTRY=True Review-Url: https://codereview.webrtc.org/3012753003 Cr-Commit-Position: refs/heads/master@{#19668}
This commit is contained in:
parent
2e1b40bdf6
commit
edb8429ba3
@ -166,30 +166,25 @@ if (rtc_include_tests) {
|
||||
}
|
||||
|
||||
rtc_source_set("desktop_capture") {
|
||||
public_deps = [
|
||||
":desktop_capture_generic",
|
||||
]
|
||||
if (is_mac) {
|
||||
public_deps = [
|
||||
":desktop_capture_objc",
|
||||
]
|
||||
} else {
|
||||
public_deps = [
|
||||
":desktop_capture_generic",
|
||||
]
|
||||
public_deps += [ ":desktop_capture_objc" ]
|
||||
}
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
rtc_source_set("desktop_capture_objc") {
|
||||
visibility = [ ":*" ]
|
||||
visibility = [ ":desktop_capture" ]
|
||||
sources = [
|
||||
"mac/desktop_configuration.mm",
|
||||
"mouse_cursor_monitor_mac.mm",
|
||||
"screen_capturer_mac.mm",
|
||||
"window_capturer_mac.mm",
|
||||
]
|
||||
public_deps = [
|
||||
":desktop_capture_generic",
|
||||
]
|
||||
deps = [
|
||||
":desktop_capture_generic",
|
||||
":primitives",
|
||||
"../../rtc_base:rtc_base",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
@ -203,7 +198,10 @@ if (is_mac) {
|
||||
}
|
||||
|
||||
rtc_static_library("desktop_capture_generic") {
|
||||
visibility = [ ":*" ]
|
||||
visibility = [
|
||||
":desktop_capture",
|
||||
":desktop_capture_objc",
|
||||
]
|
||||
sources = [
|
||||
"blank_detector_desktop_capturer_wrapper.cc",
|
||||
"blank_detector_desktop_capturer_wrapper.h",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user