summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn4
-rw-r--r--pdfium.gni3
2 files changed, 7 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 5de9d19914..58798d9907 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -214,6 +214,10 @@ static_library("pdfium") {
} else {
libs += [ "freetype" ]
}
+
+ if (pdf_is_complete_lib) {
+ complete_static_lib = true
+ }
}
static_library("test_support") {
diff --git a/pdfium.gni b/pdfium.gni
index 8ce09f968d..4548819711 100644
--- a/pdfium.gni
+++ b/pdfium.gni
@@ -41,6 +41,9 @@ declare_args() {
# Build PDFium standalone
pdf_is_standalone = false
+ # Build a complete static library
+ pdf_is_complete_lib = false
+
# Enable coverage information
use_coverage = false
}