Skip to content

Conversation

@atsushieno
Copy link
Contributor

@atsushieno atsushieno requested a review from jonpryor as a code owner July 10, 2018 07:21
@atsushieno atsushieno force-pushed the customizible-platform-tools branch from 1535905 to d46970a Compare July 17, 2018 06:02
<AllSupportedTargetAndroidAbis>$(AllSupported32BitTargetAndroidAbis);$(AllSupported64BitTargetAndroidAbis)</AllSupportedTargetAndroidAbis>
<XABuildToolsVersion>28</XABuildToolsVersion>
<XABuildToolsFolder Condition="'$(XABuildToolsFolder)' == ''">28.0.0</XABuildToolsFolder>
<XAPlatformToolsVersion>28.0.0</XAPlatformToolsVersion>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Conditional/overridable, as $(XABuildToolsFolder) is?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true. Though there are other properties without Condition, they are added in some need perhaps? We'll do so too.

@jonpryor
Copy link
Contributor

This PR should also include a bump to external/mono, otherwise this change won't actually control anything.

Or we do the mono bump as a separate PR...

@jonpryor
Copy link
Contributor

Separate mono bump PR: #1981

@jonpryor jonpryor merged commit 8b7411b into dotnet:master Jul 20, 2018
jonpryor pushed a commit that referenced this pull request Aug 3, 2018
Context: mono/mono#9473 (comment)
Context: #1858

Before [mono/mono:master@52dccf8c][m52dc]
([mono:2018-02@077307fc][m0773]), mono would hardcode the
`platform-tools` version to be installed, meaning if xamarin-android
*wanted* to install a newer `platform-tools` version (#1858),
*we couldn't*, because mono controlled that.

Altering the `platform-tools` version would require altering and
bumping mono.

In [mono/mono:master@52dccf8c][m52dc], mono now allows
xamarin-android to explicitly specify the `platform-tools` version
to install, by overriding the `$(ANDROID_PLATFORM_TOOLS_VERSION)`
make variable.

Introduce a new `$(XAPlatformToolsVersion)` MSBuild property to
control mono's `$(ANDROID_PLATFORM_TOOLS_VERSION)` value, allowing
xamarin-android to control and update this value in the future.

[m52dc]: mono/mono@52dccf8
[m0773]: mono/mono@077307f
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants