Skip to content

Commit

Permalink
WASM: remove libpdfium.a from tarball and NuGet package
Browse files Browse the repository at this point in the history
Reverts 8d9cea2
Reverts #123
Closes #145
  • Loading branch information
bblanchon committed Nov 26, 2023
1 parent 60429bf commit 7700c6f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
9 changes: 0 additions & 9 deletions nuget/bblanchon.PDFium.WebAssembly.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<readme>README.md</readme>
<dependencies>
<group targetFramework="native" />
<group targetFramework="netstandard1.0" />
</dependencies>
</metadata>

Expand All @@ -28,14 +27,6 @@

<!-- https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu5128 -->
<file src="_._" target="lib/native/_._" />
<file src="_._" target="lib/netstandard1.0/_._" />

<!-- WebAssembly-specific dependencies aren't referenced automatically and must be referenced manually as NativeFileReferences. -->
<!-- Package authors can choose to add the native references by including a .props file in the package with the references. -->
<!-- https://learn.microsoft.com/en-us/aspnet/core/blazor/webassembly-native-dependencies#package-native-dependencies-in-a-nuget-package -->
<file src="pdfium-wasm/lib/libpdfium.a" target="build/netstandard1.0/libpdfium.a" />
<file src="bblanchon.PDFium.WebAssembly.props" target="build/netstandard1.0/bblanchon.PDFium.WebAssembly.props" />
<file src="bblanchon.PDFium.WebAssembly.props" target="buildTransitive/netstandard1.0/bblanchon.PDFium.WebAssembly.props" />

<!-- include hearder and lib files for C++ projects -->
<file src="bblanchon.PDFium.native.targets" target="build/native/bblanchon.PDFium.WebAssembly.targets" />
Expand Down
6 changes: 0 additions & 6 deletions nuget/bblanchon.PDFium.WebAssembly.props

This file was deleted.

1 change: 0 additions & 1 deletion steps/07-stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ case "$OS" in
mv "$BUILD/pdfium.html" "$STAGING_LIB"
mv "$BUILD/pdfium.js" "$STAGING_LIB"
mv "$BUILD/pdfium.wasm" "$STAGING_LIB"
mv "$BUILD/obj/libpdfium.a" "$STAGING_LIB"
rm -rf "$STAGING/include/cpp"
rm "$STAGING/PDFiumConfig.cmake"
;;
Expand Down

0 comments on commit 7700c6f

Please sign in to comment.