| OLD | NEW |
| 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") | |
| 6 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 7 if (is_mac) { | 6 if (is_mac) { |
| 8 import("//build/config/mac/mac_sdk.gni") | 7 import("//build/config/mac/mac_sdk.gni") |
| 9 } | 8 } |
| 10 if (is_android) { | 9 if (is_android) { |
| 11 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| 12 } | 11 } |
| 13 | 12 |
| 13 use_cups = ((is_linux && !is_chromeos) || is_mac) |
| 14 |
| 14 component("printing") { | 15 component("printing") { |
| 15 sources = [ | 16 sources = [ |
| 16 "backend/print_backend.cc", | 17 "backend/print_backend.cc", |
| 17 "backend/print_backend.h", | 18 "backend/print_backend.h", |
| 18 "backend/print_backend_consts.cc", | 19 "backend/print_backend_consts.cc", |
| 19 "backend/print_backend_consts.h", | 20 "backend/print_backend_consts.h", |
| 20 "backend/print_backend_dummy.cc", | 21 "backend/print_backend_dummy.cc", |
| 21 "backend/printing_info_win.cc", | 22 "backend/printing_info_win.cc", |
| 22 "backend/printing_info_win.h", | 23 "backend/printing_info_win.h", |
| 23 "emf_win.cc", | 24 "emf_win.cc", |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 # 'type': 'none', | 248 # 'type': 'none', |
| 248 # 'variables': { | 249 # 'variables': { |
| 249 # 'java_in_dir': '../printing/android/java', | 250 # 'java_in_dir': '../printing/android/java', |
| 250 # }, | 251 # }, |
| 251 # 'dependencies': [ | 252 # 'dependencies': [ |
| 252 # '../base/base.gyp:base_java', | 253 # '../base/base.gyp:base_java', |
| 253 # ], | 254 # ], |
| 254 # 'includes': [ '../build/java.gypi' ], | 255 # 'includes': [ '../build/java.gypi' ], |
| 255 #} | 256 #} |
| 256 } | 257 } |
| OLD | NEW |