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

[ios] Mark Chrome target as supporting "catalyst" in Xcode project

Since Chrome can be build for "catalyst" environment, add the key
SUPPORTS_MACCATALYST to the generated Xcode project.

Bug: 1138425
Change-Id: Idb56060a53266f5b9a4ab6a2328970cfa84973de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518858Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824397}
parent 08292857
...@@ -681,6 +681,7 @@ template("ios_app_bundle") { ...@@ -681,6 +681,7 @@ template("ios_app_bundle") {
"output_name", "output_name",
"product_type", "product_type",
"visibility", "visibility",
"xcode_extra_attributes",
]) ])
visibility = [ ":$_arch_executable_target" ] visibility = [ ":$_arch_executable_target" ]
...@@ -726,6 +727,7 @@ template("ios_app_bundle") { ...@@ -726,6 +727,7 @@ template("ios_app_bundle") {
"product_type", "product_type",
"sources", "sources",
"visibility", "visibility",
"xcode_extra_attributes",
]) ])
visibility = [ ":$_lipo_executable_target($_primary_toolchain)" ] visibility = [ ":$_lipo_executable_target($_primary_toolchain)" ]
...@@ -888,6 +890,7 @@ template("ios_app_bundle") { ...@@ -888,6 +890,7 @@ template("ios_app_bundle") {
"public_deps", "public_deps",
"testonly", "testonly",
"visibility", "visibility",
"xcode_extra_attributes",
]) ])
output_name = _output_name output_name = _output_name
......
...@@ -379,6 +379,10 @@ ios_app_bundle("chrome") { ...@@ -379,6 +379,10 @@ ios_app_bundle("chrome") {
variants = ios_chrome_app_variants variants = ios_chrome_app_variants
} }
xcode_extra_attributes = {
SUPPORTS_MACCATALYST = "YES"
}
deps = [ deps = [
":main", ":main",
":tests_fake_hook", ":tests_fake_hook",
......
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