Commit 95a026b9 authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

mac: Convert GN libs lists to frameworks in //device.

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: I7524ffbefbad42f5ccb1d307c2019320dec37286
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276241Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784200}
parent f193d1be
...@@ -257,7 +257,7 @@ test("device_unittests") { ...@@ -257,7 +257,7 @@ test("device_unittests") {
if (is_mac) { if (is_mac) {
deps += [ "//third_party/ocmock" ] deps += [ "//third_party/ocmock" ]
ldflags = [ "-ObjC" ] ldflags = [ "-ObjC" ]
libs = [ frameworks = [
"CoreBluetooth.framework", "CoreBluetooth.framework",
"IOBluetooth.framework", "IOBluetooth.framework",
"IOKit.framework", "IOKit.framework",
......
...@@ -239,7 +239,7 @@ component("bluetooth") { ...@@ -239,7 +239,7 @@ component("bluetooth") {
} }
if (is_mac) { if (is_mac) {
libs = [ frameworks = [
"IOBluetooth.framework", "IOBluetooth.framework",
"Foundation.framework", "Foundation.framework",
] ]
......
...@@ -137,7 +137,7 @@ component("gamepad") { ...@@ -137,7 +137,7 @@ component("gamepad") {
} }
if (is_mac) { if (is_mac) {
libs = [ frameworks = [
"CoreFoundation.framework", "CoreFoundation.framework",
"Foundation.framework", "Foundation.framework",
"ForceFeedback.framework", "ForceFeedback.framework",
......
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