0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-12 02:03:08 +00:00
Files
termux-packages/x11-packages/chromium/9004-use-prebuilt-pdfium.patch
Chongyun Lee 63158944a3 new package: chromium (#24333)
[ci reuse]
2025-04-23 19:40:59 +08:00

28 lines
596 B
Diff

--- a/third_party/pdfium/BUILD.gn
+++ b/third_party/pdfium/BUILD.gn
@@ -219,7 +219,23 @@
]
}
-component("pdfium") {
+group("pdfium") {
+ public_deps = [ ":pdfium_public_headers" ]
+ public_configs = [
+ ":pdfium_public_config",
+ ":pdfium_prebuilt",
+ ]
+}
+
+config("pdfium_prebuilt") {
+ lib_dirs = [ ]
+ libs = [ "@TERMUX_PREFIX@/opt/chromium-host-tools/obj/third_party/pdfium/libpdfium.a" ]
+
+ configs = [ ":pdfium_public_config" ]
+ visibility = [ ":pdfium" ]
+}
+
+component("pdfium_1") {
output_name = "pdfium"
libs = []
configs += [ ":pdfium_strict_config" ]