[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / components / component_updater / BUILD.gn
1 # Copyright 2014 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 static_library("component_updater") {
6   sources = [
7     "component_installer.cc",
8     "component_installer.h",
9     "component_updater_command_line_config_policy.cc",
10     "component_updater_command_line_config_policy.h",
11     "component_updater_paths.cc",
12     "component_updater_paths.h",
13     "component_updater_service.cc",
14     "component_updater_service.h",
15     "component_updater_service_internal.h",
16     "component_updater_switches.cc",
17     "component_updater_switches.h",
18     "component_updater_url_constants.cc",
19     "component_updater_url_constants.h",
20     "component_updater_utils.cc",
21     "component_updater_utils.h",
22     "configurator_impl.cc",
23     "configurator_impl.h",
24     "pref_names.cc",
25     "pref_names.h",
26     "timer.cc",
27     "timer.h",
28     "timer_update_scheduler.cc",
29     "timer_update_scheduler.h",
30     "update_scheduler.h",
31     "url_param_filter_remover.cc",
32     "url_param_filter_remover.h",
33   ]
34
35   deps = [
36     "//base",
37     "//build:chromeos_buildflags",
38     "//components/crx_file",
39     "//components/prefs",
40     "//components/update_client",
41     "//components/version_info",
42     "//third_party/boringssl:boringssl",
43     "//ui/base",
44     "//url",
45   ]
46 }
47
48 static_library("test_support") {
49   testonly = true
50   sources = [
51     "mock_component_updater_service.cc",
52     "mock_component_updater_service.h",
53   ]
54
55   public_deps = [
56     ":component_updater",
57     "//base",
58     "//testing/gmock",
59   ]
60 }
61
62 source_set("unit_tests") {
63   testonly = true
64   sources = [
65     "component_installer_unittest.cc",
66     "component_updater_service_unittest.cc",
67     "configurator_impl_unittest.cc",
68     "timer_unittest.cc",
69   ]
70
71   deps = [
72     ":component_updater",
73     "//base",
74     "//base/test:test_support",
75     "//components/crx_file",
76     "//components/prefs:test_support",
77     "//components/update_client:test_support",
78     "//services/service_manager/public/cpp",
79     "//testing/gmock",
80     "//testing/gtest",
81     "//third_party/boringssl:boringssl",
82   ]
83 }