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