| 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 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 if (is_mac) { | 8 if (is_mac) { |
| 9 import("//build/config/mac/mac_sdk.gni") | 9 import("//build/config/mac/mac_sdk.gni") |
| 10 } | 10 } |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 if (use_aura) { | 88 if (use_aura) { |
| 89 deps += [ "//ui/aura" ] | 89 deps += [ "//ui/aura" ] |
| 90 } | 90 } |
| 91 | 91 |
| 92 if (is_mac) { | 92 if (is_mac) { |
| 93 # Mac-Aura does not support printing. | 93 # Mac-Aura does not support printing. |
| 94 if (use_aura) { | 94 if (use_aura) { |
| 95 sources -= [ "printed_document_mac.cc" ] | 95 sources -= [ "printed_document_mac.cc" ] |
| 96 } else { | 96 } else { |
| 97 sources += [ | 97 sources += [ |
| 98 "printing_context_mac.h", |
| 98 "printing_context_mac.mm", | 99 "printing_context_mac.mm", |
| 99 "printing_context_mac.h", | |
| 100 ] | 100 ] |
| 101 } | 101 } |
| 102 } | 102 } |
| 103 | 103 |
| 104 if (is_win) { | 104 if (is_win) { |
| 105 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation of the | 105 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation of the |
| 106 # print backend and enables a custom implementation instead. | 106 # print backend and enables a custom implementation instead. |
| 107 defines += [ "PRINT_BACKEND_AVAILABLE" ] | 107 defines += [ "PRINT_BACKEND_AVAILABLE" ] |
| 108 sources += [ | 108 sources += [ |
| 109 "backend/print_backend_win.cc", |
| 109 "backend/win_helper.cc", | 110 "backend/win_helper.cc", |
| 110 "backend/win_helper.h", | 111 "backend/win_helper.h", |
| 111 "backend/print_backend_win.cc", | |
| 112 "printing_context_system_dialog_win.cc", | 112 "printing_context_system_dialog_win.cc", |
| 113 "printing_context_system_dialog_win.h", | 113 "printing_context_system_dialog_win.h", |
| 114 "printing_context_win.cc", | 114 "printing_context_win.cc", |
| 115 "printing_context_win.h", | 115 "printing_context_win.h", |
| 116 ] | 116 ] |
| 117 } | 117 } |
| 118 | 118 |
| 119 if (is_chromeos) { | 119 if (is_chromeos) { |
| 120 sources += [ | 120 sources += [ |
| 121 "printing_context_no_system_dialog.cc", | 121 "printing_context_no_system_dialog.cc", |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 } | 243 } |
| 244 | 244 |
| 245 # GYP: //printing/printing.gyp:printing_java | 245 # GYP: //printing/printing.gyp:printing_java |
| 246 android_library("printing_java") { | 246 android_library("printing_java") { |
| 247 deps = [ | 247 deps = [ |
| 248 "//base:base_java", | 248 "//base:base_java", |
| 249 ] | 249 ] |
| 250 DEPRECATED_java_in_dir = "android/java/src" | 250 DEPRECATED_java_in_dir = "android/java/src" |
| 251 } | 251 } |
| 252 } | 252 } |
| OLD | NEW |