| Index: chrome/utility/BUILD.gn
|
| diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
|
| index 55f36ce06b6789c823ffd30b54cf3a1b411ba521..bd325fc23a64992efcf4a5e385b3134cdeb3cdef 100644
|
| --- a/chrome/utility/BUILD.gn
|
| +++ b/chrome/utility/BUILD.gn
|
| @@ -100,7 +100,9 @@ static_library("utility") {
|
| ]
|
| }
|
|
|
| - if (!enable_print_preview) {
|
| + if (enable_print_preview || (enable_basic_printing && is_win)) {
|
| + deps += [ "//pdf" ]
|
| + } else {
|
| sources -= [
|
| "printing_handler.cc",
|
| "printing_handler.h",
|
| @@ -112,10 +114,6 @@ static_library("utility") {
|
| rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..")
|
| deps += [ "//third_party/zlib" ]
|
| }
|
| -
|
| - if (enable_pdf) {
|
| - deps += [ "//pdf" ]
|
| - }
|
| }
|
|
|
| if (is_mac) {
|
|
|