Introduce the PlatformNotificationContext class.
[chromium-blink-merge.git] / chrome / service / BUILD.gn
blobfe26068d3f3a2d588b27e2d5411a50b1ec5135d9
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.
5 import("//build/config/features.gni")
7 static_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   ]
49   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
51   deps = [
52     "//chrome:strings",
53     "//chrome/common",
54     "//chrome/common/net",
55     "//base",
56     "//components/cloud_devices/common",
57     "//google_apis",
58     "//jingle:notifier",
59     "//net",
60     "//printing",
61     "//skia",
62     "//third_party/libjingle",
63   ]
65   if (use_cups) {
66     sources += [ "cloud_print/print_system_cups.cc" ]
67     configs += [ "//printing:cups" ]
68   } else if (is_win) {
69     sources += [
70       "service_utility_process_host.cc",
71       "service_utility_process_host.h",
72     ]
73   } else {
74     sources += [ "cloud_print/print_system_dummy.cc" ]
75   }