Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / update_client.gypi
blobc5759d06cf1540497dd583c603eec82777867023
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.
6   'targets': [
7     {
8       # GN version: //components/update_client
9       'target_name': 'update_client',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../courgette/courgette.gyp:courgette_lib',
14         '../crypto/crypto.gyp:crypto',
15         '../third_party/libxml/libxml.gyp:libxml',
16         '../third_party/zlib/google/zip.gyp:zip',
17         '../net/net.gyp:net',
18         '../url/url.gyp:url_lib',
19         'crx_file',
20       ],
22       'include_dirs': [
23         '..',
24       ],
25       'sources': [
26         'update_client/action.cc',
27         'update_client/action.h',
28         'update_client/action_update.cc',
29         'update_client/action_update.h',
30         'update_client/action_update_check.cc',
31         'update_client/action_update_check.h',
32         'update_client/action_wait.cc',
33         'update_client/action_wait.h',
34         'update_client/background_downloader_win.cc',
35         'update_client/background_downloader_win.h',
36         'update_client/component_patcher.cc',
37         'update_client/component_patcher.h',
38         'update_client/component_patcher_operation.cc',
39         'update_client/component_patcher_operation.h',
40         'update_client/component_unpacker.cc',
41         'update_client/component_unpacker.h',
42         'update_client/configurator.h',
43         'update_client/crx_downloader.cc',
44         'update_client/crx_downloader.h',
45         'update_client/crx_update_item.h',
46         'update_client/ping_manager.cc',
47         'update_client/ping_manager.h',
48         'update_client/request_sender.cc',
49         'update_client/request_sender.h',
50         'update_client/task.h',
51         'update_client/task_update.cc',
52         'update_client/task_update.h',
53         'update_client/update_checker.cc',
54         'update_client/update_checker.h',
55         'update_client/update_client.cc',
56         'update_client/update_client.h',
57         'update_client/update_client_internal.h',
58         'update_client/update_engine.cc',
59         'update_client/update_engine.h',
60         'update_client/update_query_params.cc',
61         'update_client/update_query_params.h',
62         'update_client/update_query_params_delegate.cc',
63         'update_client/update_query_params_delegate.h',
64         'update_client/update_response.cc',
65         'update_client/update_response.h',
66         'update_client/url_fetcher_downloader.cc',
67         'update_client/url_fetcher_downloader.h',
68         'update_client/utils.cc',
69         'update_client/utils.h',
70       ],
71     },
72     {
73       # GN version: //components/update_client:test_support
74       'target_name': 'update_client_test_support',
75       'type': 'static_library',
76       'dependencies': [
77         'update_client',
78         '../testing/gmock.gyp:gmock',
79         '../testing/gtest.gyp:gtest',
80       ],
82       'include_dirs': [
83         '..',
84       ],
85       'sources': [
86         'update_client/test_configurator.cc',
87         'update_client/test_configurator.h',
88         'update_client/test_installer.cc',
89         'update_client/test_installer.h',
90         'update_client/url_request_post_interceptor.cc',
91         'update_client/url_request_post_interceptor.h',
92       ],
93     },
94   ],