Commit 5663db1b authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

apple: Convert GN libs lists to frameworks in //media.

GN recently added support for Apple frameworks to link, rather than
overloading the libs lists. This pulls .frameworks out of the libs
lists, so that GN can stop supporting .frameworks in libs in the
future.

Bug: 1052560
Change-Id: Ic9abb03711c95a6fb9d501b68b9e3a40edd26d01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276687
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Auto-Submit: Robert Sesek <rsesek@chromium.org>
Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784495}
parent 1b7bf763
......@@ -388,7 +388,7 @@ jumbo_source_set("base") {
]
} else if (is_mac) {
sources += [ "user_input_monitor_mac.cc" ]
libs = [
frameworks = [
"CoreVideo.framework",
"CoreFoundation.framework",
"CoreGraphics.framework",
......
......@@ -21,7 +21,7 @@ jumbo_source_set("mac") {
"videotoolbox_helpers.h",
]
if (is_mac) {
libs = [
frameworks = [
"AVFoundation.framework",
"CoreMedia.framework",
"CoreVideo.framework", # Required by video_frame_mac.cc.
......@@ -40,7 +40,7 @@ jumbo_source_set("mac") {
source_set("unit_tests") {
testonly = true
sources = [ "video_frame_mac_unittests.cc" ]
libs = [ "CoreVideo.framework" ]
frameworks = [ "CoreVideo.framework" ]
configs += [ "//media:media_config" ]
deps = [
"//media:test_support",
......
......@@ -175,7 +175,7 @@ jumbo_component("capture_lib") {
"//services/video_capture/public/uma",
"//third_party/decklink",
]
libs = [
frameworks = [
"AVFoundation.framework",
"CoreFoundation.framework",
"CoreGraphics.framework",
......
......@@ -34,7 +34,7 @@ source_set("device_monitors") {
}
if (is_mac) {
libs = [ "Foundation.framework" ]
frameworks = [ "Foundation.framework" ]
}
}
......
......@@ -24,7 +24,7 @@ source_set("mac") {
"vt_video_encode_accelerator_mac.h",
]
public_deps = [ "//third_party/webrtc_overrides:webrtc_component" ]
libs = [
frameworks = [
"CoreFoundation.framework",
"CoreMedia.framework",
"Foundation.framework",
......
......@@ -206,7 +206,7 @@ test("midi_unittests") {
if (is_mac) {
sources += [ "midi_manager_mac_unittest.cc" ]
libs = [ "CoreMIDI.framework" ]
frameworks = [ "CoreMIDI.framework" ]
}
if (use_alsa && use_udev) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment