From fa171d263d0b7ec409f4af333d65b0f8c0d0dc47 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Sun, 26 Mar 2017 22:38:17 -0400 Subject: Allow adding complete_static_lib to build The complete_static_lib will cause all of the various libraries generated during the build to get bundled into a single libpdfium.a. This makes linking a lot easier for external applications as they just -lpdfium instead of trying to get the correct link order. See https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/reference.md#complete_static_lib for more information. Note, this just does pdfium at the moment, the V8 and XFA libs will need to get changed in the future if they're needed. BUG=pdfium:451 Change-Id: Id1f2d999652e2f951bcd77591f2514641371324e Reviewed-on: https://pdfium-review.googlesource.com/3220 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- pdfium.gni | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pdfium.gni') 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 } -- cgit v1.2.3