Chromium Code Reviews| Index: pdf/BUILD.gn |
| diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn |
| index 5e1f165b1c3fef9dfb4d30147f679f9dd9143572..5a6d4e2f29ec03477bae9e7b5832fb74c16a2a3f 100644 |
| --- a/pdf/BUILD.gn |
| +++ b/pdf/BUILD.gn |
| @@ -3,6 +3,7 @@ |
| # found in the LICENSE file. |
| pdf_engine = 0 # 0 PDFium |
| +pdf_use_xfa = 0 |
| # TODO(GYP) need support for loadable modules |
| shared_library("pdf") { |
| @@ -70,6 +71,10 @@ shared_library("pdf") { |
| cflags = [ "/wd4267" ] # TODO(jschuh) size_t to int truncations. |
| } |
| + if (pdf_use_xfa == 1) { |
| + defines += [ "PDF_USE_XFA" ] |
| + } |
| + |
| if (is_mac) { |
| # TODO(GYP) |
| #'mac_bundle': 1, |