summaryrefslogtreecommitdiffstats
path: root/components/update_client.gypi
blob: cbab44aa76a7d7fdcd89fc8c6a6ab70549b43a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      # GN version: //components/update_client
      'target_name': 'update_client',
      'type': 'static_library',
      'dependencies': [
        '../base/base.gyp:base',
        '../courgette/courgette.gyp:courgette_lib',
        '../crypto/crypto.gyp:crypto',
        '../third_party/libxml/libxml.gyp:libxml',
        '../third_party/zlib/google/zip.gyp:zip',
        '../net/net.gyp:net',
        '../url/url.gyp:url_lib',
        'client_update_protocol',
        'crx_file',
      ],

      'include_dirs': [
        '..',
      ],
      'sources': [
        'update_client/action.cc',
        'update_client/action.h',
        'update_client/action_update.cc',
        'update_client/action_update.h',
        'update_client/action_update_check.cc',
        'update_client/action_update_check.h',
        'update_client/action_wait.cc',
        'update_client/action_wait.h',
        'update_client/background_downloader_win.cc',
        'update_client/background_downloader_win.h',
        'update_client/component_patcher.cc',
        'update_client/component_patcher.h',
        'update_client/component_patcher_operation.cc',
        'update_client/component_patcher_operation.h',
        'update_client/component_unpacker.cc',
        'update_client/component_unpacker.h',
        'update_client/configurator.h',
        'update_client/crx_downloader.cc',
        'update_client/crx_downloader.h',
        'update_client/crx_update_item.h',
        'update_client/ping_manager.cc',
        'update_client/ping_manager.h',
        'update_client/request_sender.cc',
        'update_client/request_sender.h',
        'update_client/task.h',
        'update_client/task_update.cc',
        'update_client/task_update.h',
        'update_client/update_checker.cc',
        'update_client/update_checker.h',
        'update_client/update_client.cc',
        'update_client/update_client.h',
        'update_client/update_client_internal.h',
        'update_client/update_engine.cc',
        'update_client/update_engine.h',
        'update_client/update_query_params.cc',
        'update_client/update_query_params.h',
        'update_client/update_query_params_delegate.cc',
        'update_client/update_query_params_delegate.h',
        'update_client/update_response.cc',
        'update_client/update_response.h',
        'update_client/url_fetcher_downloader.cc',
        'update_client/url_fetcher_downloader.h',
        'update_client/utils.cc',
        'update_client/utils.h',
      ],
    },
    {
      # GN version: //components/update_client:test_support
      'target_name': 'update_client_test_support',
      'type': 'static_library',
      'dependencies': [
        'update_client',
        '../testing/gmock.gyp:gmock',
        '../testing/gtest.gyp:gtest',
      ],

      'include_dirs': [
        '..',
      ],
      'sources': [
        'update_client/test_configurator.cc',
        'update_client/test_configurator.h',
        'update_client/test_installer.cc',
        'update_client/test_installer.h',
        'update_client/url_request_post_interceptor.cc',
        'update_client/url_request_post_interceptor.h',
      ],
    },
  ],
}