Commit c51cbcac authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

[ios] Convert GN libs lists to frameworks in //ios/web.

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: Ic845c9310296d8e6527df7d9d0afa104f526ef61
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276262
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784418}
parent fe1dd740
...@@ -30,7 +30,7 @@ source_set("common") { ...@@ -30,7 +30,7 @@ source_set("common") {
public_deps = [ ":features" ] public_deps = [ ":features" ]
libs = [ "UIKit.framework" ] frameworks = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ] configs += [ "//build/config/compiler:enable_arc" ]
} }
...@@ -57,7 +57,7 @@ source_set("web_view_creation_util") { ...@@ -57,7 +57,7 @@ source_set("web_view_creation_util") {
"//ios/web/web_state/ui:wk_web_view_configuration_provider", "//ios/web/web_state/ui:wk_web_view_configuration_provider",
] ]
libs = [ "UIKit.framework" ] frameworks = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ] configs += [ "//build/config/compiler:enable_arc" ]
} }
......
...@@ -24,7 +24,7 @@ source_set("download") { ...@@ -24,7 +24,7 @@ source_set("download") {
"download_task_impl.mm", "download_task_impl.mm",
] ]
libs = [ "UIKit.framework" ] frameworks = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ] configs += [ "//build/config/compiler:enable_arc" ]
} }
...@@ -43,7 +43,7 @@ source_set("download_cookies") { ...@@ -43,7 +43,7 @@ source_set("download_cookies") {
"download_session_cookie_storage.mm", "download_session_cookie_storage.mm",
] ]
libs = [ "Foundation.framework" ] frameworks = [ "Foundation.framework" ]
configs += [ "//build/config/compiler:enable_arc" ] configs += [ "//build/config/compiler:enable_arc" ]
} }
......
...@@ -29,7 +29,7 @@ source_set("init") { ...@@ -29,7 +29,7 @@ source_set("init") {
"//ui/gfx/geometry", "//ui/gfx/geometry",
] ]
libs = [ frameworks = [
"Foundation.framework", "Foundation.framework",
"UIKit.framework", "UIKit.framework",
] ]
......
...@@ -17,7 +17,7 @@ source_set("download") { ...@@ -17,7 +17,7 @@ source_set("download") {
"download_task_observer.h", "download_task_observer.h",
] ]
libs = [ "Foundation.framework" ] frameworks = [ "Foundation.framework" ]
configs += [ "//build/config/compiler:enable_arc" ] configs += [ "//build/config/compiler:enable_arc" ]
} }
...@@ -65,7 +65,7 @@ source_set("shell") { ...@@ -65,7 +65,7 @@ source_set("shell") {
"//ui/base", "//ui/base",
] ]
libs = [ frameworks = [
"CoreGraphics.framework", "CoreGraphics.framework",
"CoreFoundation.framework", "CoreFoundation.framework",
"Foundation.framework", "Foundation.framework",
......
...@@ -113,7 +113,7 @@ source_set("eg_tests+eg2") { ...@@ -113,7 +113,7 @@ source_set("eg_tests+eg2") {
"//net:test_support", "//net:test_support",
] ]
libs = [ "UIKit.framework" ] frameworks = [ "UIKit.framework" ]
} }
ios_eg2_test_app_host("ios_web_shell_eg2tests") { ios_eg2_test_app_host("ios_web_shell_eg2tests") {
......
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