Skip to content

Commit d42ce6b

Browse files
committed
Merge branch 'main' into dev/grendel/perfetto-integration
* main: [Xamarin.Android.Build.Tasks] Fix `LogCodedWarning` usage (#9148) [xaprepare] Remove Mono as required component (#9144) $(AndroidPackVersionSuffix)=rc.1; net9 is 35.0.0-rc.1 (#9143) [monodroid] treat `LocalRefsAreIndirect` as always true (#9138) [Mono.Android] fix leaking lrefs in `TypeManager` (#9136) [ci] Ignore unsigned bundletool.jar content (#9139) Localized file check-in by OneLocBuild Task (#9140) [tests] fix 1,170 build warnings (#9137) LEGO: Merge pull request 9141 Bump to xamarin/monodroid@d1d43ab161 (#9130)
2 parents b3d9bad + ba750a3 commit d42ce6b

File tree

39 files changed

+266
-203
lines changed

39 files changed

+266
-203
lines changed

.external

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
xamarin/monodroid:main@038240c52a7dc2e66b9ad2ddb20b9886836eaec9
1+
xamarin/monodroid:main@d1d43ab161bfd493d982f40fd3e49ebfb274a110

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* Bump first digit of the patch version for feature releases (and reset the first two digits to 0)
3737
-->
3838
<AndroidPackVersion>35.0.0</AndroidPackVersion>
39-
<AndroidPackVersionSuffix>preview.7</AndroidPackVersionSuffix>
39+
<AndroidPackVersionSuffix>rc.1</AndroidPackVersionSuffix>
4040
<IsStableBuild>false</IsStableBuild>
4141
<IsStableBuild Condition=" '$(AndroidPackVersionSuffix)' == 'rtm' ">true</IsStableBuild>
4242
</PropertyGroup>

Localize/loc/pl/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
<Str Cat="Text">
452452
<Val><![CDATA[NuGet package '{0}' version '{1}' contains a shared library '{2}' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details]]></Val>
453453
<Tgt Cat="Text" Stat="Loc" Orig="New">
454-
<Val><![CDATA[Pakiet NuGet „{0}” w wersji „{1}” zawiera bibliotekę udostępnioną „{2}”, która nie jest poprawnie wyrównana. Zobacz https://developer.android.com/guide/practices/page-sizes for more details]]></Val>
454+
<Val><![CDATA[Pakiet NuGet „{0}” w wersji „{1}” zawiera bibliotekę udostępnioną „{2}”, która nie jest poprawnie wyrównana. Zobacz https://developer.android.com/guide/practices/page-sizes, aby uzyskać więcej szczegółów]]></Val>
455455
</Tgt>
456456
</Str>
457457
<Disp Icon="Str" />

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ PREPARE_SCENARIO =
1515
PREPARE_CI_PR ?= 0
1616
PREPARE_CI ?= 0
1717
PREPARE_AUTOPROVISION ?= 0
18-
PREPARE_AUTOPROVISION_SKIP_MONO ?= 0
1918

2019
_PREPARE_CI_MODE_PR_ARGS = --no-emoji --run-mode=CI
2120
_PREPARE_CI_MODE_ARGS = $(_PREPARE_CI_MODE_PR_ARGS) -a
@@ -59,10 +58,6 @@ ifneq ($(PREPARE_AUTOPROVISION),0)
5958
_PREPARE_ARGS += --auto-provision=yes --auto-provision-uses-sudo=yes
6059
endif
6160

62-
ifneq ($(PREPARE_AUTOPROVISION_SKIP_MONO),0)
63-
_PREPARE_ARGS += --auto-provision-skip-mono=yes
64-
endif
65-
6661
ifneq ($(PREPARE_SCENARIO),)
6762
_PREPARE_ARGS += -s:"$(PREPARE_SCENARIO)"
6863
endif

build-tools/automation/yaml-templates/commercial-build.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ steps:
2020
inputs:
2121
forceReinstallCredentialProvider: true
2222

23-
- script: make prepare-update-mono CONFIGURATION=$(XA.Build.Configuration) PREPARE_CI=1 PREPARE_AUTOPROVISION=1
24-
workingDirectory: ${{ parameters.xaSourcePath }}
25-
displayName: make prepare-update-mono
26-
2723
# Always checkout a second resource to ensure we are using multi-repo checkout behavior
2824
# https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops#checkout-path
2925
- checkout: maui
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
**\*.xml,ignore unsigned xml
22
**\cab*.cab.cab,ignore unsigned .cab
3+
**\com\sun\jna\win32-*\jnidispatch.dll, ignore external bundletool.jar content

build-tools/xaprepare/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ You can append the following parameters to the command line:
155155
If set to `0` (the default), the utility will take notice of missing/outdated software the build depends on and exit with an error
156156
should any such condition is detected. Setting the property to `1` will let the utility install the software (installation **may**
157157
use `sudo` on Unix so you will need administrator/root credentials for it to work)
158-
- `PREPARE_AUTOPROVISION_SKIP_MONO=0|1`
159-
If set to `0` (the default), the utility will ensure the Mono MDK is installed.
160-
Setting the property to `1` will allow you to skip Mono MDK installation.
161158
- `V=1`
162159
Causes the run to output much more information (making output much more messy in the process) to the console. Normally this additional
163160
information is placed only in the log files generated by the utility.

build-tools/xaprepare/xaprepare/Application/Context.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,6 @@ partial class Context : AppObject
137137
/// </summary>
138138
public bool AutoProvisionUsesSudo { get; set; }
139139

140-
/// <summary>
141-
/// Skip automatic provision of the Mono MDK if missing
142-
/// </summary>
143-
public bool AutoProvisionSkipMono { get; set; } = false;
144-
145140
/// <summary>
146141
/// Current session execution mode. See <see cref="t:ExecutionMode" />
147142
/// </summary>

build-tools/xaprepare/xaprepare/ConfigAndData/Dependencies/MacOS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected override void InitializeDependencies ()
2323
{
2424
Dependencies.AddRange (programs);
2525

26-
if (!Context.Instance.AutoProvisionSkipMono) {
26+
if (Context.Instance.CheckCondition (KnownConditions.AllowMonoUpdate)) {
2727
Dependencies.Add (
2828
new MonoPkgProgram ("Mono", "com.xamarin.mono-MDK.pkg", new Uri (Context.Instance.Properties.GetRequiredValue (KnownProperties.MonoDarwinPackageUrl))) {
2929
MinimumVersion = Context.Instance.Properties.GetRequiredValue (KnownProperties.MonoRequiredMinimumVersion),

build-tools/xaprepare/xaprepare/Main.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ sealed class ParsedOptions
2727
public string? Configuration { get; set; }
2828
public bool AutoProvision { get; set; }
2929
public bool AutoProvisionUsesSudo { get; set; }
30-
public bool AutoProvisionSkipMono { get; set; }
3130
public RefreshableComponent RefreshList { get; set; }
3231
public IEnumerable<string> AndroidSdkPlatforms { get; set; } = new [] { "latest" };
3332
}
@@ -101,7 +100,6 @@ static async Task<int> Run (string[] args)
101100
"",
102101
{"auto-provision=", $"Automatically install software required by .NET for Android", v => parsedOptions.AutoProvision = ParseBoolean (v)},
103102
{"auto-provision-uses-sudo=", $"Allow use of sudo(1) when provisioning", v => parsedOptions.AutoProvisionUsesSudo = ParseBoolean (v)},
104-
{"auto-provision-skip-mono=", $"Do not automatically install the Mono MDK", v => parsedOptions.AutoProvisionSkipMono = ParseBoolean (v)},
105103
{"android-sdk-platforms=", "Comma separated list of Android SDK platform levels to be installed or 'latest' or 'all'. Defaults to 'latest' if no value is provided.", v => parsedOptions.AndroidSdkPlatforms = ParseAndroidSdkPlatformLevels (v?.Trim () ?? String.Empty) },
106104
"",
107105
{"h|help", "Show this help message", v => parsedOptions.ShowHelp = true },
@@ -132,7 +130,6 @@ static async Task<int> Run (string[] args)
132130
Context.Instance.DebugFileExtension = parsedOptions.DebugFileExtension;
133131
Context.Instance.AutoProvision = parsedOptions.AutoProvision;
134132
Context.Instance.AutoProvisionUsesSudo = parsedOptions.AutoProvisionUsesSudo;
135-
Context.Instance.AutoProvisionSkipMono = parsedOptions.AutoProvisionSkipMono;
136133
Context.Instance.ComponentsToRefresh = parsedOptions.RefreshList;
137134
Context.Instance.AndroidSdkPlatforms = parsedOptions.AndroidSdkPlatforms;
138135

0 commit comments

Comments
 (0)