diff options
author | thestig <thestig@chromium.org> | 2016-01-04 15:41:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-04 23:42:42 +0000 |
commit | 533c88e060158855b0d262b8b359c0ae75a1282c (patch) | |
tree | cfa6a1050f30b3affacbd6ec9f3adb325da7b832 /pdf/BUILD.gn | |
parent | 20ba43a9f5e6fa1650b9aa67aa1e3c212f5c6fa9 (diff) | |
download | chromium_src-533c88e060158855b0d262b8b359c0ae75a1282c.zip chromium_src-533c88e060158855b0d262b8b359c0ae75a1282c.tar.gz chromium_src-533c88e060158855b0d262b8b359c0ae75a1282c.tar.bz2 |
Clean up PDF plugin dependencies.
Review URL: https://codereview.chromium.org/1554263004
Cr-Commit-Position: refs/heads/master@{#367413}
Diffstat (limited to 'pdf/BUILD.gn')
-rw-r--r-- | pdf/BUILD.gn | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn index 91bccc7..5582fb0 100644 --- a/pdf/BUILD.gn +++ b/pdf/BUILD.gn @@ -10,6 +10,14 @@ assert(enable_pdf) pdf_engine = 0 # 0 PDFium static_library("pdf") { + deps = [ + "//base", + "//gin", + "//net", + "//ppapi/cpp:objects", + "//ppapi/cpp/private:internal_module", + ] + sources = [ "chunk_stream.cc", "chunk_stream.h", @@ -34,6 +42,8 @@ static_library("pdf") { configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] if (pdf_engine == 0) { + deps += [ "//third_party/pdfium" ] + sources += [ "pdfium/pdfium_api_string_buffer_adapter.cc", "pdfium/pdfium_api_string_buffer_adapter.h", @@ -54,15 +64,4 @@ static_library("pdf") { if (pdf_enable_xfa) { defines = [ "PDF_ENABLE_XFA" ] } - - deps = [ - "//base", - "//components/ui/zoom", - "//content/public/common", - "//gin", - "//net", - "//ppapi/cpp:objects", - "//ppapi/cpp/private:internal_module", - "//third_party/pdfium", - ] } |