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

Side by Side 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 4 years, 12 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni")
5 import("//third_party/pdfium/pdfium.gni") 6 import("//third_party/pdfium/pdfium.gni")
6 7
8 assert(enable_pdf)
9
7 pdf_engine = 0 # 0 PDFium 10 pdf_engine = 0 # 0 PDFium
8 11
9 static_library("pdf") { 12 static_library("pdf") {
10 sources = [ 13 sources = [
11 "chunk_stream.cc", 14 "chunk_stream.cc",
12 "chunk_stream.h", 15 "chunk_stream.h",
13 "document_loader.cc", 16 "document_loader.cc",
14 "document_loader.h", 17 "document_loader.h",
15 "draw_utils.cc", 18 "draw_utils.cc",
16 "draw_utils.h", 19 "draw_utils.h",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "//base", 59 "//base",
57 "//components/ui/zoom", 60 "//components/ui/zoom",
58 "//content/public/common", 61 "//content/public/common",
59 "//gin", 62 "//gin",
60 "//net", 63 "//net",
61 "//ppapi/cpp:objects", 64 "//ppapi/cpp:objects",
62 "//ppapi/cpp/private:internal_module", 65 "//ppapi/cpp/private:internal_module",
63 "//third_party/pdfium", 66 "//third_party/pdfium",
64 ] 67 ]
65 } 68 }
OLDNEW
« 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