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 "action.cc", | 9 "action.cc", |
10 "action.h", | 10 "action.h", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 "update_engine.cc", | 44 "update_engine.cc", |
45 "update_engine.h", | 45 "update_engine.h", |
46 "update_query_params.cc", | 46 "update_query_params.cc", |
47 "update_query_params.h", | 47 "update_query_params.h", |
48 "update_query_params_delegate.cc", | 48 "update_query_params_delegate.cc", |
49 "update_query_params_delegate.h", | 49 "update_query_params_delegate.h", |
50 "update_response.cc", | 50 "update_response.cc", |
51 "update_response.h", | 51 "update_response.h", |
52 "updater_state.cc", | 52 "updater_state.cc", |
53 "updater_state.h", | 53 "updater_state.h", |
| 54 "updater_state_mac.mm", |
54 "updater_state_win.cc", | 55 "updater_state_win.cc", |
55 "url_fetcher_downloader.cc", | 56 "url_fetcher_downloader.cc", |
56 "url_fetcher_downloader.h", | 57 "url_fetcher_downloader.h", |
57 "utils.cc", | 58 "utils.cc", |
58 "utils.h", | 59 "utils.h", |
59 ] | 60 ] |
60 | 61 |
61 deps = [ | 62 deps = [ |
62 "//base", | 63 "//base", |
63 "//components/client_update_protocol", | 64 "//components/client_update_protocol", |
64 "//components/crx_file", | 65 "//components/crx_file", |
65 "//components/data_use_measurement/core", | 66 "//components/data_use_measurement/core", |
66 "//components/prefs", | 67 "//components/prefs", |
67 "//courgette:courgette_lib", | 68 "//courgette:courgette_lib", |
68 "//crypto", | 69 "//crypto", |
69 "//net", | 70 "//net", |
70 "//third_party/libxml", | 71 "//third_party/libxml", |
71 "//third_party/zlib:zip", | 72 "//third_party/zlib:zip", |
72 "//url", | 73 "//url", |
73 ] | 74 ] |
| 75 libs = [] |
| 76 if (is_mac) { |
| 77 libs += [ "OpenDirectory.framework" ] |
| 78 } |
74 } | 79 } |
75 | 80 |
76 static_library("test_support") { | 81 static_library("test_support") { |
77 testonly = true | 82 testonly = true |
78 sources = [ | 83 sources = [ |
79 "test_configurator.cc", | 84 "test_configurator.cc", |
80 "test_configurator.h", | 85 "test_configurator.h", |
81 "test_installer.cc", | 86 "test_installer.cc", |
82 "test_installer.h", | 87 "test_installer.h", |
83 "url_request_post_interceptor.cc", | 88 "url_request_post_interceptor.cc", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 "//base", | 150 "//base", |
146 "//components/prefs", | 151 "//components/prefs", |
147 "//components/prefs:test_support", | 152 "//components/prefs:test_support", |
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 |