| Index: printing/features/features.gni
 | 
| diff --git a/printing/features/features.gni b/printing/features/features.gni
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..651b7a7a221169526a914fd03227e8cadc8e0559
 | 
| --- /dev/null
 | 
| +++ b/printing/features/features.gni
 | 
| @@ -0,0 +1,24 @@
 | 
| +# Copyright 2016 The Chromium Authors. All rights reserved.
 | 
| +# Use of this source code is governed by a BSD-style license that can be
 | 
| +# found in the LICENSE file.
 | 
| +
 | 
| +import("//build/config/chromecast_build.gni")
 | 
| +import("//build/config/features.gni")
 | 
| +
 | 
| +declare_args() {
 | 
| +  # Enable basic printing support and UI.
 | 
| +  enable_basic_printing = !is_chromecast && !is_ios
 | 
| +
 | 
| +  # Enable printing with print preview. It does not imply
 | 
| +  # enable_basic_printing. It's possible to build Chrome with preview only.
 | 
| +  enable_print_preview = !is_android && !is_chromecast && !is_ios
 | 
| +
 | 
| +  use_cups = (is_desktop_linux || is_mac) && !is_chromecast
 | 
| +}
 | 
| +
 | 
| +if ((enable_basic_printing && is_win) || enable_print_preview) {
 | 
| +  # Windows basic printing or print preview requires pdf enabled.
 | 
| +  assert(enable_pdf,
 | 
| +         "Windows basic printing or print preview needs pdf: " +
 | 
| +             "set enable_pdf=true.")
 | 
| +}
 | 
| 
 |