Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1483)

Side by Side Diff: webrtc/modules/desktop_capture/BUILD.gn

Issue 3012753003: Tightening visibility and removing a public_dep. (Closed)
Patch Set: Fixing public_deps append Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("../../webrtc.gni") 10 import("../../webrtc.gni")
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 deps = [ 160 deps = [
161 ":primitives", 161 ":primitives",
162 "../../rtc_base:rtc_base_approved", 162 "../../rtc_base:rtc_base_approved",
163 "../../test:test_support", 163 "../../test:test_support",
164 ] 164 ]
165 } 165 }
166 } 166 }
167 167
168 rtc_source_set("desktop_capture") { 168 rtc_source_set("desktop_capture") {
169 public_deps = [
170 ":desktop_capture_generic",
171 ]
169 if (is_mac) { 172 if (is_mac) {
170 public_deps = [ 173 public_deps += [ ":desktop_capture_objc" ]
171 ":desktop_capture_objc",
172 ]
173 } else {
174 public_deps = [
175 ":desktop_capture_generic",
176 ]
177 } 174 }
178 } 175 }
179 176
180 if (is_mac) { 177 if (is_mac) {
181 rtc_source_set("desktop_capture_objc") { 178 rtc_source_set("desktop_capture_objc") {
182 visibility = [ ":*" ] 179 visibility = [ ":desktop_capture" ]
183 sources = [ 180 sources = [
184 "mac/desktop_configuration.mm", 181 "mac/desktop_configuration.mm",
185 "mouse_cursor_monitor_mac.mm", 182 "mouse_cursor_monitor_mac.mm",
186 "screen_capturer_mac.mm", 183 "screen_capturer_mac.mm",
187 "window_capturer_mac.mm", 184 "window_capturer_mac.mm",
188 ] 185 ]
189 public_deps = [ 186 deps = [
190 ":desktop_capture_generic", 187 ":desktop_capture_generic",
191 ]
192 deps = [
193 ":primitives", 188 ":primitives",
194 "../../rtc_base:rtc_base", 189 "../../rtc_base:rtc_base",
195 "../../rtc_base:rtc_base_approved", 190 "../../rtc_base:rtc_base_approved",
196 ] 191 ]
197 libs = [ 192 libs = [
198 "AppKit.framework", 193 "AppKit.framework",
199 "IOKit.framework", 194 "IOKit.framework",
200 "OpenGL.framework", 195 "OpenGL.framework",
201 ] 196 ]
202 } 197 }
203 } 198 }
204 199
205 rtc_static_library("desktop_capture_generic") { 200 rtc_static_library("desktop_capture_generic") {
206 visibility = [ ":*" ] 201 visibility = [
202 ":desktop_capture",
203 ":desktop_capture_objc",
204 ]
207 sources = [ 205 sources = [
208 "blank_detector_desktop_capturer_wrapper.cc", 206 "blank_detector_desktop_capturer_wrapper.cc",
209 "blank_detector_desktop_capturer_wrapper.h", 207 "blank_detector_desktop_capturer_wrapper.h",
210 "cropped_desktop_frame.cc", 208 "cropped_desktop_frame.cc",
211 "cropped_desktop_frame.h", 209 "cropped_desktop_frame.h",
212 "cropping_window_capturer.cc", 210 "cropping_window_capturer.cc",
213 "cropping_window_capturer.h", 211 "cropping_window_capturer.h",
214 "cropping_window_capturer_win.cc", 212 "cropping_window_capturer_win.cc",
215 "desktop_and_cursor_composer.cc", 213 "desktop_and_cursor_composer.cc",
216 "desktop_and_cursor_composer.h", 214 "desktop_and_cursor_composer.h",
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 sources = [ 349 sources = [
352 "differ_vector_sse2.cc", 350 "differ_vector_sse2.cc",
353 "differ_vector_sse2.h", 351 "differ_vector_sse2.h",
354 ] 352 ]
355 353
356 if (is_posix) { 354 if (is_posix) {
357 cflags = [ "-msse2" ] 355 cflags = [ "-msse2" ]
358 } 356 }
359 } 357 }
360 } 358 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698