Make castv2 performance test work.
[chromium-blink-merge.git] / components / update_client / BUILD.gn
blobc968b4d629bc5816ade5e78f0a182d32086a945b
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     "background_downloader_win.cc",
8     "background_downloader_win.h",
9     "component_patcher.cc",
10     "component_patcher.h",
11     "component_patcher_operation.cc",
12     "component_patcher_operation.h",
13     "component_unpacker.cc",
14     "component_unpacker.h",
15     "configurator.h",
16     "crx_downloader.cc",
17     "crx_downloader.h",
18     "crx_update_item.h",
19     "ping_manager.cc",
20     "ping_manager.h",
21     "request_sender.cc",
22     "request_sender.h",
23     "update_checker.cc",
24     "update_checker.h",
25     "update_client.cc",
26     "update_client.h",
27     "update_query_params.cc",
28     "update_query_params.h",
29     "update_query_params_delegate.cc",
30     "update_query_params_delegate.h",
31     "update_response.cc",
32     "update_response.h",
33     "url_fetcher_downloader.cc",
34     "url_fetcher_downloader.h",
35     "utils.cc",
36     "utils.h",
37   ]
39   deps = [
40     "//base",
41     "//components/crx_file",
42     "//courgette:courgette_lib",
43     "//crypto",
44     "//third_party/libxml",
45     "//third_party/zlib:zip",
46     "//net",
47     "//url",
48   ]
51 source_set("test_support") {
52   testonly = true
53   sources = [
54     "test/test_configurator.cc",
55     "test/test_configurator.h",
56     "test/test_installer.cc",
57     "test/test_installer.h",
58     "test/url_request_post_interceptor.cc",
59     "test/url_request_post_interceptor.h",
60   ]
62   deps = [
63     ":update_client",
64     "//base",
65     "//net:test_support",
66     "//testing/gtest",
67     "//testing/gmock",
68     "//url",
69   ]
72 source_set("unit_tests") {
73   testonly = true
74   sources = [
75     "test/component_patcher_unittest.cc",
76     "test/crx_downloader_unittest.cc",
77     "test/ping_manager_unittest.cc",
78     "test/request_sender_unittest.cc",
79     "test/update_checker_unittest.cc",
80     "test/update_response_unittest.cc",
81   ]
83   deps = [
84     ":update_client",
85     ":test_support",
86     "//base",
87     "//courgette:courgette_lib",
88     "//net:test_support",
89     "//testing/gtest",
90     "//testing/gmock",
91     "//third_party/libxml",
92   ]