Skip to content

Commit a77aead

Browse files
committed
chromiumembeddedframework.runtime - move swiftshader/locales
Move the swiftshader and locales folders from the RID specific packages and into the general runtime, combine the properties into a single props file. the buildtransative props files were only accessible if the RID specific packages were directly referenced.
1 parent 7d9f548 commit a77aead

6 files changed

+16
-25
lines changed

NuGet/chromiumembeddedframework.runtime.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"runtimes": {
33
"win-x64": {
44
"chromiumembeddedframework.runtime": {
5-
"chromiumembeddedframework.runtime.win-x64": "86.0.17"
5+
"chromiumembeddedframework.runtime.win-x64": "86.0.20"
66
}
77
},
88
"win-x86": {
99
"chromiumembeddedframework.runtime": {
10-
"chromiumembeddedframework.runtime.win-x86": "86.0.17"
10+
"chromiumembeddedframework.runtime.win-x86": "86.0.20"
1111
}
1212
}
1313
}

NuGet/chromiumembeddedframework.runtime.nuspec

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@
2222
<copyright>Copyright © 2008-2020</copyright>
2323
</metadata>
2424
<files>
25+
<!-- Architecture-specific files folder hierarchy lost (native subfolders) -->
26+
<!-- https://github.com/NuGet/Home/issues/7698#issuecomment-455368655 -->
27+
<!-- We have to copy swiftshader and locales via manually -->
28+
<file src="..\cef_binary_3.y.z_windows32\Resources\locales\*.pak" target="CEF\win-x86\locales"/>
29+
<file src="..\cef_binary_3.y.z_windows32\$Configuration$\swiftshader\*.dll" target="CEF\win-x86\swiftshader" />
30+
<file src="..\cef_binary_3.y.z_windows64\Resources\locales\*.pak" target="CEF\win-x64\locales"/>
31+
<file src="..\cef_binary_3.y.z_windows64\$Configuration$\swiftshader\*.dll" target="CEF\win-x64\swiftshader" />
2532
<file src="..\cef_binary_3.y.z_windows32\LICENSE.txt" target="LICENSE.txt" />
2633
<file src="chromiumembeddedframework.runtime.json" target="runtime.json" />
34+
<file src="chromiumembeddedframework.runtime.props" target="buildTransitive\" />
2735
<file src="cef128x128.png" target="images\" />
2836
</files>
2937
</package>

NuGet/chromiumembeddedframework.runtime.win-x86.props renamed to NuGet/chromiumembeddedframework.runtime.props

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<!--
44
Using wildcard matching as per https://stackoverflow.com/a/17252671
5-
-->
5+
-->
66
<ItemGroup>
7-
<CefRuntimeWin32 Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\**\*.*" />
8-
<CefRuntimeWin32Locales Include="$(MSBuildThisFileDirectory)..\CEF\locales\*.*" />
9-
<CefRuntimeWin32SwiftShader Include="$(MSBuildThisFileDirectory)..\CEF\swiftshader\*.*" />
7+
<CefRuntimeWin32Locales Include="$(MSBuildThisFileDirectory)..\CEF\win-x86\locales\*.*" />
8+
<CefRuntimeWin32SwiftShader Include="$(MSBuildThisFileDirectory)..\CEF\win-x86\swiftshader\*.*" />
9+
<CefRuntimeWin64Locales Include="$(MSBuildThisFileDirectory)..\CEF\win-x64\locales\*.*" />
10+
<CefRuntimeWin64SwiftShader Include="$(MSBuildThisFileDirectory)..\CEF\win-x64\swiftshader\*.*" />
1011
</ItemGroup>
1112
</Project>

NuGet/chromiumembeddedframework.runtime.win-x64.props

Lines changed: 0 additions & 11 deletions
This file was deleted.

NuGet/chromiumembeddedframework.runtime.win.nuspec

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,11 @@
2222
<copyright>Copyright © 2008-2020</copyright>
2323
</metadata>
2424
<files>
25-
<!-- Architecture-specific files folder hierarchy lost (native subfolders) -->
26-
<!-- https://github.com/NuGet/Home/issues/7698#issuecomment-455368655 -->
27-
<!-- We have to copy swiftshader and locales via manually -->
28-
<file src="..\cef_binary_3.y.z_$CPlatform$\Resources\locales\*.pak" target="CEF\locales"/>
29-
<file src="..\cef_binary_3.y.z_$CPlatform$\$Configuration$\swiftshader\*.dll" target="CEF\swiftshader" />
3025
<file src="..\cef_binary_3.y.z_$CPlatform$\$Configuration$\*.dll" target="runtimes\win-$Platform$\native" />
3126
<file src="..\cef_binary_3.y.z_$CPlatform$\$Configuration$\*.bin" target="runtimes\win-$Platform$\native\" />
3227
<file src="..\cef_binary_3.y.z_$CPlatform$\Resources\*.pak" target="runtimes\win-$Platform$\native\"/>
3328
<file src="..\cef_binary_3.y.z_$CPlatform$\Resources\*.dat" target="runtimes\win-$Platform$\native\"/>
3429
<file src="..\cef_binary_3.y.z_$CPlatform$\Readme.txt" target="\"/>
35-
36-
<file src="chromiumembeddedframework.runtime.win-$Platform$.props" target="buildTransitive\" />
3730

3831
<file src="..\cef_binary_3.y.z_windows32\LICENSE.txt" target="LICENSE.txt" />
3932
<file src="cef128x128.png" target="images\" />

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ param(
1414
[string] $CefBinaryDir = "../cefsource/chromium/src/cef/binary_distrib/",
1515

1616
[Parameter(Position = 3)]
17-
$CefVersion = "86.0.17+g4a33048+chromium-86.0.4240.75",
17+
$CefVersion = "86.0.20+gf2039ae+chromium-86.0.4240.111",
1818

1919
[ValidateSet("tar.bz2","zip","7z")]
2020
[Parameter(Position = 4)]

0 commit comments

Comments
 (0)