diff options
author | agrieve <agrieve@chromium.org> | 2015-12-28 08:16:18 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-28 16:17:22 +0000 |
commit | 1b748a5398bae9ed77d802fc35bc4cbe6b1b2c1a (patch) | |
tree | c31c906326a8833d9e2f3c4dfe92ab09ebb7b386 /pdf/BUILD.gn | |
parent | 3584b722197d3ed083bd3805011569d5093a9971 (diff) | |
download | chromium_src-1b748a5398bae9ed77d802fc35bc4cbe6b1b2c1a.zip chromium_src-1b748a5398bae9ed77d802fc35bc4cbe6b1b2c1a.tar.gz chromium_src-1b748a5398bae9ed77d802fc35bc4cbe6b1b2c1a.tar.bz2 |
GN: Add assert that //pdf is referenced only when enable_pdf=true
BUG=
Review URL: https://codereview.chromium.org/1548943002
Cr-Commit-Position: refs/heads/master@{#366981}
Diffstat (limited to 'pdf/BUILD.gn')
-rw-r--r-- | pdf/BUILD.gn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn index 194803a..91bccc7 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") { |