Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(839)

Unified Diff: pdf/BUILD.gn

Issue 1548943002: GN: Add assert that //pdf is referenced only when enable_pdf=true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: import featrues.gni Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698