Skip to content

Commit 3e5cde6

Browse files
Merge pull request #20775 from unoplatform/dev/mazi/unsafe
2 parents 8dc859d + ce333f3 commit 3e5cde6

File tree

45 files changed

+2
-69
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2
-69
lines changed

src/AddIns/Uno.UI.Lottie/Uno.UI.Lottie.Wasm.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<Import Project="../../targetframework-override.props" />
77

88
<PropertyGroup>
9-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
109
<Deterministic>true</Deterministic>
1110

1211
<AssemblyName>Uno.UI.Lottie</AssemblyName>

src/AddIns/Uno.UI.MSAL/Uno.UI.MSAL.Wasm.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<Import Project="../../targetframework-override.props"/>
77

88
<PropertyGroup>
9-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
109
<Deterministic>true</Deterministic>
1110
<AssemblyName>Uno.UI.MSAL</AssemblyName>
1211
<RootNamespace>Uno.UI.MSAL</RootNamespace>

src/AddIns/Uno.UI.MediaPlayer.Skia.Win32/Uno.UI.MediaPlayer.Skia.Win32.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
<PropertyGroup>
2323
<Nullable>enable</Nullable>
24-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2524
</PropertyGroup>
2625

2726
<ItemGroup>

src/AddIns/Uno.UI.MediaPlayer.Skia.X11/Uno.UI.MediaPlayer.Skia.X11.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
<PropertyGroup>
2323
<Nullable>enable</Nullable>
24-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2524
</PropertyGroup>
2625

2726
<ItemGroup>

src/AddIns/Uno.UI.MediaPlayer.WebAssembly/Uno.UI.MediaPlayer.WebAssembly.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<Deterministic>true</Deterministic>
1111
<AssemblyName>Uno.UI.MediaPlayer.WebAssembly</AssemblyName>
1212
<RootNamespace>Uno.UI.Media</RootNamespace>
13-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1413

1514
<PackageId Condition="'$(UNO_UWP_BUILD)'=='false'">Uno.WinUI.MediaPlayer.WebAssembly</PackageId>
1615
<Description>This package provides support for MediaPlayerElement for WebAssembly</Description>

src/AddIns/Uno.UI.WebView.Skia.X11/Uno.UI.WebView.Skia.X11.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
<PropertyGroup>
2121
<Nullable>enable</Nullable>
22-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2322
</PropertyGroup>
2423

2524
<ItemGroup>

src/AddIns/Uno.WinUI.Graphics3DGL/Uno.WinUI.Graphics3DGL.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<GeneratePackageOnBuild Condition="'$(Configuration)'=='Release'">true</GeneratePackageOnBuild>
88

99
<Nullable>enable</Nullable>
10-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1110

1211
<!-- Required as the project name does not end with `.Skia` when building for netcoremobile targets -->
1312
<UnoDisableTargetFrameworkPlatformOverride Condition="!$(UnoTargetFrameworkOverride.Contains('windows10'))">true</UnoDisableTargetFrameworkPlatformOverride>

src/Directory.Build.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@
5353
<EnableWindowsTargeting>true</EnableWindowsTargeting>
5454

5555
<RestoreEnablePackagePruning>true</RestoreEnablePackagePruning>
56-
57-
<!-- Don't install GTK in CI, let the workflow do it to prevent concurrency issues -->
58-
<SkipGtkInstall Condition=" '$(CI_Build)'!='' OR '$(TF_BUILD)' == 'true' ">true</SkipGtkInstall>
56+
57+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5958
</PropertyGroup>
6059

6160
<PropertyGroup>

src/SamplesApp/SamplesApp.Skia.Generic/SamplesApp.Skia.Generic.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<PropertyGroup>
33
<TargetFrameworks>$(NetSkiaPreviousAndCurrent)</TargetFrameworks>
44
<RollForward>Major</RollForward>
5-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
65
</PropertyGroup>
76

87
<Import Project="../../targetframework-override-noplatform.props" />

src/SamplesApp/SamplesApp.Skia/SamplesApp.Skia.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>$(NetPrevious)</TargetFrameworks>
4-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
54
</PropertyGroup>
65

76
<Import Project="../../targetframework-override.props" />
@@ -11,8 +10,6 @@
1110
<IsUnoHead>true</IsUnoHead>
1211
<UnoRuntimeIdentifier>Skia</UnoRuntimeIdentifier>
1312

14-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
15-
1613
<!-- In external apps, this will flow from NuGet package props -->
1714
<SupportsFontManifest>true</SupportsFontManifest>
1815

0 commit comments

Comments
 (0)