• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3# found in the LICENSE file.
4
5import("//build/config/features.gni")
6
7static_library("service") {
8  sources = [
9    "cloud_print/cdd_conversion_win.cc",
10    "cloud_print/cdd_conversion_win.h",
11    "cloud_print/cloud_print_auth.cc",
12    "cloud_print/cloud_print_auth.h",
13    "cloud_print/cloud_print_connector.cc",
14    "cloud_print/cloud_print_connector.h",
15    "cloud_print/cloud_print_proxy.cc",
16    "cloud_print/cloud_print_proxy.h",
17    "cloud_print/cloud_print_proxy_backend.cc",
18    "cloud_print/cloud_print_proxy_backend.h",
19    "cloud_print/cloud_print_service_helpers.cc",
20    "cloud_print/cloud_print_service_helpers.h",
21    "cloud_print/cloud_print_token_store.cc",
22    "cloud_print/cloud_print_token_store.h",
23    "cloud_print/cloud_print_url_fetcher.cc",
24    "cloud_print/cloud_print_url_fetcher.h",
25    "cloud_print/cloud_print_wipeout.cc",
26    "cloud_print/cloud_print_wipeout.h",
27    "cloud_print/connector_settings.cc",
28    "cloud_print/connector_settings.h",
29    "cloud_print/job_status_updater.cc",
30    "cloud_print/job_status_updater.h",
31    "cloud_print/print_system.cc",
32    "cloud_print/print_system.h",
33    "cloud_print/print_system_win.cc",
34    "cloud_print/printer_job_handler.cc",
35    "cloud_print/printer_job_handler.h",
36    "cloud_print/printer_job_queue_handler.cc",
37    "cloud_print/printer_job_queue_handler.h",
38    "net/service_url_request_context_getter.cc",
39    "net/service_url_request_context_getter.h",
40    "service_ipc_server.cc",
41    "service_ipc_server.h",
42    "service_main.cc",
43    "service_process.cc",
44    "service_process.h",
45    "service_process_prefs.cc",
46    "service_process_prefs.h",
47  ]
48
49  deps = [
50    "//chrome:strings",
51    "//chrome/common",
52    "//chrome/common/net",
53    "//base",
54    "//components/cloud_devices/common",
55    "//google_apis",
56    "//jingle:notifier",
57    "//net",
58    "//printing",
59    "//skia",
60    "//third_party/libjingle"
61  ]
62
63  if (use_cups) {
64    sources += [ "cloud_print/print_system_cups.cc" ]
65    configs += [ "//printing:cups" ]
66  } else if (is_win) {
67    sources += [
68      "service_utility_process_host.cc",
69      "service_utility_process_host.h",
70    ]
71  } else {
72    sources += [ "cloud_print/print_system_dummy.cc" ]
73  }
74}
75