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("//net/features.gni") | 5 import("//net/features.gni") |
6 | 6 |
7 static_library("update_client") { | 7 static_library("update_client") { |
8 sources = [ | 8 sources = [ |
9 "background_downloader_win.cc", | 9 "background_downloader_win.cc", |
10 "background_downloader_win.h", | 10 "background_downloader_win.h", |
(...skipping 29 matching lines...) Expand all Loading... |
40 "update_engine.cc", | 40 "update_engine.cc", |
41 "update_engine.h", | 41 "update_engine.h", |
42 "update_query_params.cc", | 42 "update_query_params.cc", |
43 "update_query_params.h", | 43 "update_query_params.h", |
44 "update_query_params_delegate.cc", | 44 "update_query_params_delegate.cc", |
45 "update_query_params_delegate.h", | 45 "update_query_params_delegate.h", |
46 "update_response.cc", | 46 "update_response.cc", |
47 "update_response.h", | 47 "update_response.h", |
48 "updater_state.cc", | 48 "updater_state.cc", |
49 "updater_state.h", | 49 "updater_state.h", |
| 50 "updater_state_mac.mm", |
50 "updater_state_win.cc", | 51 "updater_state_win.cc", |
51 "url_fetcher_downloader.cc", | 52 "url_fetcher_downloader.cc", |
52 "url_fetcher_downloader.h", | 53 "url_fetcher_downloader.h", |
53 "utils.cc", | 54 "utils.cc", |
54 "utils.h", | 55 "utils.h", |
55 ] | 56 ] |
56 | 57 |
57 deps = [ | 58 deps = [ |
58 "//base", | 59 "//base", |
59 "//components/client_update_protocol", | 60 "//components/client_update_protocol", |
60 "//components/crx_file", | 61 "//components/crx_file", |
61 "//components/data_use_measurement/core", | 62 "//components/data_use_measurement/core", |
62 "//components/prefs", | 63 "//components/prefs", |
63 "//components/version_info:version_info", | 64 "//components/version_info:version_info", |
64 "//courgette:courgette_lib", | 65 "//courgette:courgette_lib", |
65 "//crypto", | 66 "//crypto", |
66 "//net", | 67 "//net", |
67 "//third_party/libxml", | 68 "//third_party/libxml", |
68 "//third_party/zlib:zip", | 69 "//third_party/zlib:zip", |
69 "//url", | 70 "//url", |
70 ] | 71 ] |
| 72 libs = [] |
| 73 if (is_mac) { |
| 74 libs += [ "OpenDirectory.framework" ] |
| 75 } |
71 } | 76 } |
72 | 77 |
73 static_library("test_support") { | 78 static_library("test_support") { |
74 testonly = true | 79 testonly = true |
75 sources = [ | 80 sources = [ |
76 "test_configurator.cc", | 81 "test_configurator.cc", |
77 "test_configurator.h", | 82 "test_configurator.h", |
78 "test_installer.cc", | 83 "test_installer.cc", |
79 "test_installer.h", | 84 "test_installer.h", |
80 "url_request_post_interceptor.cc", | 85 "url_request_post_interceptor.cc", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 "//components/prefs", | 150 "//components/prefs", |
146 "//components/prefs:test_support", | 151 "//components/prefs:test_support", |
147 "//components/version_info:version_info", | 152 "//components/version_info:version_info", |
148 "//courgette:courgette_lib", | 153 "//courgette:courgette_lib", |
149 "//net:test_support", | 154 "//net:test_support", |
150 "//testing/gmock", | 155 "//testing/gmock", |
151 "//testing/gtest", | 156 "//testing/gtest", |
152 "//third_party/libxml", | 157 "//third_party/libxml", |
153 ] | 158 ] |
154 } | 159 } |
OLD | NEW |