Index: pdf/BUILD.gn |
diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn |
index 194803a2079153f37884ec2ed1c879751c85b7dd..91bccc7a9297d1ec47ac0f787e19975ecfc194da 100644 |
--- a/pdf/BUILD.gn |
+++ b/pdf/BUILD.gn |
@@ -2,8 +2,11 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/features.gni") |
import("//third_party/pdfium/pdfium.gni") |
+assert(enable_pdf) |
+ |
pdf_engine = 0 # 0 PDFium |
static_library("pdf") { |