OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/features.gni") |
| 7 |
| 8 declare_args() { |
| 9 # Enable basic printing support and UI. |
| 10 enable_basic_printing = !is_chromecast && !is_ios |
| 11 |
| 12 # Enable printing with print preview. It does not imply |
| 13 # enable_basic_printing. It's possible to build Chrome with preview only. |
| 14 enable_print_preview = !is_android && !is_chromecast && !is_ios |
| 15 |
| 16 use_cups = (is_desktop_linux || is_mac) && !is_chromecast |
| 17 } |
| 18 |
| 19 if ((enable_basic_printing && is_win) || enable_print_preview) { |
| 20 # Windows basic printing or print preview requires pdf enabled. |
| 21 assert(enable_pdf, |
| 22 "Windows basic printing or print preview needs pdf: " + |
| 23 "set enable_pdf=true.") |
| 24 } |
OLD | NEW |