Skip to content

Commit

Permalink
Add -BuildArches to specify what platforms to build for (ie "x86 arm6…
Browse files Browse the repository at this point in the history
…4") (#100)

Removed much of the platform specific code redundancy
  • Loading branch information
mitchcapper authored Oct 12, 2021
1 parent 0c4454a commit 62b46a3
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 334 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@
<!-- Architecture-specific files folder hierarchy lost (native subfolders) -->
<!-- https://github.com/NuGet/Home/issues/7698#issuecomment-455368655 -->
<!-- We have to copy swiftshader and locales via manually -->
<file src="..\cef_binary_3.y.z_windows32\Resources\locales\*.pak" target="CEF\win-x86\locales"/>
<file src="..\cef_binary_3.y.z_windows32\$Configuration$\swiftshader\*.dll" target="CEF\win-x86\swiftshader" />
<file src="..\cef_binary_3.y.z_windows64\Resources\locales\*.pak" target="CEF\win-x64\locales"/>
<file src="..\cef_binary_3.y.z_windows64\$Configuration$\swiftshader\*.dll" target="CEF\win-x64\swiftshader" />
<file src="..\cef_binary_3.y.z_windowsarm64\Resources\locales\*.pak" target="CEF\win-arm64\locales"/>
<file src="..\cef_binary_3.y.z_windowsarm64\$Configuration$\swiftshader\*.dll" target="CEF\win-arm64\swiftshader" />
<file src="..\cef_binary_3.y.z_windows32\LICENSE.txt" target="LICENSE.txt" />
META_REPLACE_DATA
<file src="chromiumembeddedframework.runtime.json" target="runtime.json" />
<file src="chromiumembeddedframework.runtime.props" target="buildTransitive\" />
<file src="cef128x128.png" target="images\" />
Expand Down
2 changes: 1 addition & 1 deletion NuGet/chromiumembeddedframework.runtime.win.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<file src="..\cef_binary_3.y.z_$CPlatform$\Resources\*.dat" target="runtimes\win-$Platform$\native\"/>
<file src="..\cef_binary_3.y.z_$CPlatform$\Readme.txt" target="\"/>

<file src="..\cef_binary_3.y.z_windows32\LICENSE.txt" target="LICENSE.txt" />
<file src="..\cef_binary_3.y.z_$CPlatform$\LICENSE.txt" target="LICENSE.txt" />
<file src="cef128x128.png" target="images\" />
</files>
</package>
Loading

0 comments on commit 62b46a3

Please sign in to comment.