Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / components / update_client / BUILD.gn
blob31e636bed68c9f1fc2d61f3a513431777cd11a14
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.
5 source_set("update_client") {
6   sources = [
7     "action.cc",
8     "action.h",
9     "action_update.cc",
10     "action_update.h",
11     "action_update_check.cc",
12     "action_update_check.h",
13     "action_wait.cc",
14     "action_wait.h",
15     "background_downloader_win.cc",
16     "background_downloader_win.h",
17     "component_patcher.cc",
18     "component_patcher.h",
19     "component_patcher_operation.cc",
20     "component_patcher_operation.h",
21     "component_unpacker.cc",
22     "component_unpacker.h",
23     "configurator.h",
24     "crx_downloader.cc",
25     "crx_downloader.h",
26     "crx_update_item.h",
27     "ping_manager.cc",
28     "ping_manager.h",
29     "request_sender.cc",
30     "request_sender.h",
31     "task.h",
32     "task_update.cc",
33     "task_update.h",
34     "update_checker.cc",
35     "update_checker.h",
36     "update_client.cc",
37     "update_client.h",
38     "update_client_internal.h",
39     "update_engine.cc",
40     "update_engine.h",
41     "update_query_params.cc",
42     "update_query_params.h",
43     "update_query_params_delegate.cc",
44     "update_query_params_delegate.h",
45     "update_response.cc",
46     "update_response.h",
47     "url_fetcher_downloader.cc",
48     "url_fetcher_downloader.h",
49     "utils.cc",
50     "utils.h",
51   ]
53   deps = [
54     "//base",
55     "//components/crx_file",
56     "//courgette:courgette_lib",
57     "//crypto",
58     "//third_party/libxml",
59     "//third_party/zlib:zip",
60     "//net",
61     "//url",
62   ]
65 source_set("test_support") {
66   testonly = true
67   sources = [
68     "test_configurator.cc",
69     "test_configurator.h",
70     "test_installer.cc",
71     "test_installer.h",
72     "url_request_post_interceptor.cc",
73     "url_request_post_interceptor.h",
74   ]
76   deps = [
77     ":update_client",
78     "//base",
79     "//net:test_support",
80     "//testing/gtest",
81     "//testing/gmock",
82     "//url",
83   ]
86 source_set("unit_tests") {
87   testonly = true
88   sources = [
89     "component_patcher_unittest.cc",
90     "crx_downloader_unittest.cc",
91     "ping_manager_unittest.cc",
92     "request_sender_unittest.cc",
93     "update_checker_unittest.cc",
94     "update_client_unittest.cc",
95     "update_query_params_unittest.cc",
96     "update_response_unittest.cc",
97   ]
99   deps = [
100     ":update_client",
101     ":test_support",
102     "//base",
103     "//courgette:courgette_lib",
104     "//net:test_support",
105     "//testing/gtest",
106     "//testing/gmock",
107     "//third_party/libxml",
108   ]