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/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 if (is_mac) { | 7 if (is_mac) { |
8 import("//build/config/mac/mac_sdk.gni") | 8 import("//build/config/mac/mac_sdk.gni") |
9 } | 9 } |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 } | 101 } |
102 | 102 |
103 if (is_win) { | 103 if (is_win) { |
104 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation of the | 104 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation of the |
105 # print backend and enables a custom implementation instead. | 105 # print backend and enables a custom implementation instead. |
106 defines += [ "PRINT_BACKEND_AVAILABLE" ] | 106 defines += [ "PRINT_BACKEND_AVAILABLE" ] |
107 sources += [ | 107 sources += [ |
108 "backend/win_helper.cc", | 108 "backend/win_helper.cc", |
109 "backend/win_helper.h", | 109 "backend/win_helper.h", |
110 "backend/print_backend_win.cc", | 110 "backend/print_backend_win.cc", |
| 111 "printing_context_system_dialog_win.cc", |
| 112 "printing_context_system_dialog_win.h", |
111 "printing_context_win.cc", | 113 "printing_context_win.cc", |
112 "printing_context_win.h", | 114 "printing_context_win.h", |
113 ] | 115 ] |
114 } | 116 } |
115 | 117 |
116 if (is_chromeos) { | 118 if (is_chromeos) { |
117 sources += [ | 119 sources += [ |
118 "printing_context_no_system_dialog.cc", | 120 "printing_context_no_system_dialog.cc", |
119 "printing_context_no_system_dialog.h", | 121 "printing_context_no_system_dialog.h", |
120 ] | 122 ] |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 } | 240 } |
239 | 241 |
240 # GYP: //printing/printing.gyp:printing_java | 242 # GYP: //printing/printing.gyp:printing_java |
241 android_library("printing_java") { | 243 android_library("printing_java") { |
242 deps = [ | 244 deps = [ |
243 "//base:base_java", | 245 "//base:base_java", |
244 ] | 246 ] |
245 DEPRECATED_java_in_dir = "android/java/src" | 247 DEPRECATED_java_in_dir = "android/java/src" |
246 } | 248 } |
247 } | 249 } |
OLD | NEW |