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 | 6 |
7 static_library("service") { | 7 static_library("service") { |
8 sources = [ | 8 sources = [ |
9 "cloud_print/cdd_conversion_win.cc", | 9 "cloud_print/cdd_conversion_win.cc", |
10 "cloud_print/cdd_conversion_win.h", | 10 "cloud_print/cdd_conversion_win.h", |
(...skipping 28 matching lines...) Expand all Loading... |
39 "net/service_url_request_context_getter.h", | 39 "net/service_url_request_context_getter.h", |
40 "service_ipc_server.cc", | 40 "service_ipc_server.cc", |
41 "service_ipc_server.h", | 41 "service_ipc_server.h", |
42 "service_main.cc", | 42 "service_main.cc", |
43 "service_process.cc", | 43 "service_process.cc", |
44 "service_process.h", | 44 "service_process.h", |
45 "service_process_prefs.cc", | 45 "service_process_prefs.cc", |
46 "service_process_prefs.h", | 46 "service_process_prefs.h", |
47 ] | 47 ] |
48 | 48 |
| 49 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 50 |
49 deps = [ | 51 deps = [ |
50 "//chrome:strings", | 52 "//chrome:strings", |
51 "//chrome/common", | 53 "//chrome/common", |
52 "//chrome/common/net", | 54 "//chrome/common/net", |
53 "//base", | 55 "//base", |
54 "//components/cloud_devices/common", | 56 "//components/cloud_devices/common", |
55 "//google_apis", | 57 "//google_apis", |
56 "//jingle:notifier", | 58 "//jingle:notifier", |
57 "//net", | 59 "//net", |
58 "//printing", | 60 "//printing", |
59 "//skia", | 61 "//skia", |
60 "//third_party/libjingle", | 62 "//third_party/libjingle", |
61 ] | 63 ] |
62 | 64 |
63 if (use_cups) { | 65 if (use_cups) { |
64 sources += [ "cloud_print/print_system_cups.cc" ] | 66 sources += [ "cloud_print/print_system_cups.cc" ] |
65 configs += [ "//printing:cups" ] | 67 configs += [ "//printing:cups" ] |
66 } else if (is_win) { | 68 } else if (is_win) { |
67 sources += [ | 69 sources += [ |
68 "service_utility_process_host.cc", | 70 "service_utility_process_host.cc", |
69 "service_utility_process_host.h", | 71 "service_utility_process_host.h", |
70 ] | 72 ] |
71 } else { | 73 } else { |
72 sources += [ "cloud_print/print_system_dummy.cc" ] | 74 sources += [ "cloud_print/print_system_dummy.cc" ] |
73 } | 75 } |
74 } | 76 } |
OLD | NEW |