Chromium Code Reviews| 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/sysroot.gni") | 6 import("//build/config/sysroot.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 if (is_mac) { | 9 if (is_mac) { |
| 10 import("//build/config/mac/mac_sdk.gni") | 10 import("//build/config/mac/mac_sdk.gni") |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 # With a 10.8 deployment target, several other APIs are deprecated. | 162 # With a 10.8 deployment target, several other APIs are deprecated. |
| 163 # We're still on CUPS 1.4 until Linux no longer needs to support it, see | 163 # We're still on CUPS 1.4 until Linux no longer needs to support it, see |
| 164 # comment above. | 164 # comment above. |
| 165 cflags += [ "-Wno-deprecated-declarations" ] | 165 cflags += [ "-Wno-deprecated-declarations" ] |
| 166 } | 166 } |
| 167 | 167 |
| 168 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 168 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 169 # of the print backend and enables a custom implementation instead. | 169 # of the print backend and enables a custom implementation instead. |
| 170 defines += [ "PRINT_BACKEND_AVAILABLE" ] | 170 defines += [ "PRINT_BACKEND_AVAILABLE" ] |
| 171 | 171 |
| 172 sources += [ | 172 if (is_chromeos) { |
|
Lei Zhang
2016/07/08 01:19:50
How about GYP?
skau
2016/07/08 21:24:08
Sorry, I forgot. On the bright side, it looks lik
| |
| 173 "backend/cups_helper.cc", | 173 sources += [ |
| 174 "backend/cups_helper.h", | 174 "backend/cups_connection.cc", |
| 175 "backend/print_backend_cups.cc", | 175 "backend/cups_connection.h", |
| 176 "backend/print_backend_cups.h", | 176 "backend/cups_ipp_util.cc", |
| 177 ] | 177 "backend/cups_ipp_util.h", |
| 178 "backend/cups_printer.cc", | |
| 179 "backend/cups_printer.h", | |
| 180 "backend/print_backend_cups_ipp.cc", | |
| 181 "backend/print_backend_cups_ipp.h", | |
| 182 ] | |
| 183 } else { | |
| 184 sources += [ | |
| 185 "backend/cups_helper.cc", | |
| 186 "backend/cups_helper.h", | |
| 187 "backend/print_backend_cups.cc", | |
| 188 "backend/print_backend_cups.h", | |
| 189 ] | |
| 190 } | |
| 178 } | 191 } |
| 179 | 192 |
| 180 if (is_chromeos) { | 193 if (is_chromeos) { |
| 181 defines += [ "PRINT_BACKEND_AVAILABLE" ] | 194 defines += [ "PRINT_BACKEND_AVAILABLE" ] |
| 182 | 195 |
| 183 sources += [ | 196 sources += [ |
| 184 "backend/print_backend_chromeos.cc", | 197 "backend/print_backend_chromeos.cc", |
| 185 "printing_context_no_system_dialog.cc", | 198 "printing_context_no_system_dialog.cc", |
| 186 "printing_context_no_system_dialog.h", | 199 "printing_context_no_system_dialog.h", |
| 187 ] | 200 ] |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 287 "android/java/src/org/chromium/printing/PrintManagerDelegate.java", | 300 "android/java/src/org/chromium/printing/PrintManagerDelegate.java", |
| 288 "android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java", | 301 "android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java", |
| 289 "android/java/src/org/chromium/printing/Printable.java", | 302 "android/java/src/org/chromium/printing/Printable.java", |
| 290 "android/java/src/org/chromium/printing/PrintingContext.java", | 303 "android/java/src/org/chromium/printing/PrintingContext.java", |
| 291 "android/java/src/org/chromium/printing/PrintingContextInterface.java", | 304 "android/java/src/org/chromium/printing/PrintingContextInterface.java", |
| 292 "android/java/src/org/chromium/printing/PrintingController.java", | 305 "android/java/src/org/chromium/printing/PrintingController.java", |
| 293 "android/java/src/org/chromium/printing/PrintingControllerImpl.java", | 306 "android/java/src/org/chromium/printing/PrintingControllerImpl.java", |
| 294 ] | 307 ] |
| 295 } | 308 } |
| 296 } | 309 } |
| OLD | NEW |