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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 # 'type': 'none', | 247 # 'type': 'none', |
249 # 'variables': { | 248 # 'variables': { |
250 # 'java_in_dir': '../printing/android/java', | 249 # 'java_in_dir': '../printing/android/java', |
251 # }, | 250 # }, |
252 # 'dependencies': [ | 251 # 'dependencies': [ |
253 # '../base/base.gyp:base_java', | 252 # '../base/base.gyp:base_java', |
254 # ], | 253 # ], |
255 # 'includes': [ '../build/java.gypi' ], | 254 # 'includes': [ '../build/java.gypi' ], |
256 #} | 255 #} |
257 } | 256 } |
OLD | NEW |