mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-12 02:03:08 +00:00
28 lines
596 B
Diff
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" ]
|