add pdfjs-dist submodule and symlink minified files

This should make the update process of pdf.js far easier and more maintainable as we can just use the pdfjs-dist tags

Signed-off-by: June <june@eridan.me>
This commit is contained in:
June 2022-01-23 03:00:38 +00:00 committed by Daniel Micay
parent df63e56bed
commit 9596bcf082
4 changed files with 6 additions and 44 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "pdfjs-dist"]
path = third_party/pdfjs-dist
url = https://github.com/mozilla/pdfjs-dist.git

File diff suppressed because one or more lines are too long

1
app/src/main/assets/pdf.js Symbolic link
View File

@ -0,0 +1 @@
../../../../third_party/pdfjs-dist/build/pdf.min.js

File diff suppressed because one or more lines are too long

1
app/src/main/assets/pdf.worker.js vendored Symbolic link
View File

@ -0,0 +1 @@
../../../../third_party/pdfjs-dist/build/pdf.worker.min.js

1
third_party/pdfjs-dist vendored Submodule

@ -0,0 +1 @@
Subproject commit a7fc0d33a11d032741f44d0b623780253747da10