blob: 9b97e7115387e1168a85e88eb695811c77b5709d [file] [log] [blame]
Alex Deymoaea4c1c2015-08-19 20:24:43 -07001#
2# Copyright (C) 2015 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
Alex Deymo719bfff2014-07-11 12:12:32 -070016{
17 'target_defaults': {
18 'variables': {
19 'deps': [
Alex Vakulenko1bab5a82015-10-27 11:47:28 -070020 'libbrillo-<(libbase_ver)',
Alex Deymo719bfff2014-07-11 12:12:32 -070021 'libchrome-<(libbase_ver)',
Alex Deymo719bfff2014-07-11 12:12:32 -070022 ],
Alex Deymo4218b7e2015-11-17 21:14:42 -030023 # The -DUSE_* flags are passed from platform2.py. We use sane defaults
24 # here when these USE flags are not defined. You can set the default value
25 # for the USE flag in the ebuild.
26 'USE_dbus%': '1',
Alex Deymo719bfff2014-07-11 12:12:32 -070027 'USE_hwid_override%': '0',
Alex Deymo787dc412015-10-29 11:39:20 -070028 'USE_mtd%': '0',
Alex Deymo719bfff2014-07-11 12:12:32 -070029 'USE_power_management%': '0',
30 },
31 'cflags': [
32 '-g',
33 '-ffunction-sections',
34 '-Wall',
35 '-Wextra',
36 '-Werror',
37 '-Wno-unused-parameter',
Alex Deymo719bfff2014-07-11 12:12:32 -070038 ],
39 'cflags_cc': [
40 '-fno-strict-aliasing',
Nam T. Nguyenfc144e62014-12-03 09:50:49 -080041 '-Wnon-virtual-dtor',
Alex Deymo719bfff2014-07-11 12:12:32 -070042 ],
43 'ldflags': [
44 '-Wl,--gc-sections',
45 ],
46 'defines': [
Alex Deymo6f20dd42015-08-18 16:42:46 -070047 '_FILE_OFFSET_BITS=64',
Alex Deymo719bfff2014-07-11 12:12:32 -070048 '_POSIX_C_SOURCE=199309L',
49 'USE_HWID_OVERRIDE=<(USE_hwid_override)',
Nam T. Nguyenf1d582e2014-12-08 15:07:17 -080050 'USE_MTD=<(USE_mtd)',
Alex Deymo719bfff2014-07-11 12:12:32 -070051 'USE_POWER_MANAGEMENT=<(USE_power_management)',
52 ],
Alex Deymoa7a34d82015-08-24 20:47:01 -070053 'include_dirs': [
54 # We need this include dir because we include all the local code as
55 # "update_engine/...".
56 '<(platform2_root)/../aosp/system',
Christopher Wileycc8ce0e2015-10-01 16:48:47 -070057 '<(platform2_root)/../aosp/system/update_engine/client_library/include',
Alex Deymoa7a34d82015-08-24 20:47:01 -070058 ],
Alex Deymo719bfff2014-07-11 12:12:32 -070059 },
60 'targets': [
61 # Protobufs.
62 {
63 'target_name': 'update_metadata-protos',
64 'type': 'static_library',
65 'variables': {
66 'proto_in_dir': '.',
67 'proto_out_dir': 'include/update_engine',
Alex Deymo7504e5f2014-07-15 17:58:51 -070068 'exported_deps': [
Alex Deymob8f16a12014-06-10 18:59:22 -070069 'protobuf-lite',
Alex Deymo7504e5f2014-07-15 17:58:51 -070070 ],
71 'deps': ['<@(exported_deps)'],
72 },
73 'all_dependent_settings': {
74 'variables': {
75 'deps': [
76 '<@(exported_deps)',
77 ],
78 },
Alex Deymo719bfff2014-07-11 12:12:32 -070079 },
80 'sources': [
81 'update_metadata.proto'
82 ],
Alex Deymoa7a34d82015-08-24 20:47:01 -070083 'includes': ['../../../platform2/common-mk/protoc.gypi'],
Alex Deymo719bfff2014-07-11 12:12:32 -070084 },
Alex Deymob7ca0962014-10-01 17:58:07 -070085 # Chrome D-Bus bindings.
Alex Deymo719bfff2014-07-11 12:12:32 -070086 {
Alex Deymob7ca0962014-10-01 17:58:07 -070087 'target_name': 'update_engine-dbus-adaptor',
Alex Deymo719bfff2014-07-11 12:12:32 -070088 'type': 'none',
89 'variables': {
Alex Deymo6f20dd42015-08-18 16:42:46 -070090 'dbus_adaptors_out_dir': 'include/dbus_bindings',
Alex Deymo8a7d0ca2015-08-25 17:30:27 -070091 'dbus_xml_extension': 'dbus-xml',
Alex Deymo719bfff2014-07-11 12:12:32 -070092 },
93 'sources': [
Alex Deymo8a7d0ca2015-08-25 17:30:27 -070094 'dbus_bindings/org.chromium.UpdateEngineInterface.dbus-xml',
Alex Deymo719bfff2014-07-11 12:12:32 -070095 ],
Alex Deymoa7a34d82015-08-24 20:47:01 -070096 'includes': ['../../../platform2/common-mk/generate-dbus-adaptors.gypi'],
Alex Deymo719bfff2014-07-11 12:12:32 -070097 },
Alex Deymof7feb232015-08-14 10:54:02 -070098 {
Alex Deymob8803bb2015-08-19 23:14:49 -070099 'target_name': 'update_engine-other-dbus-proxies',
Alex Deymof7feb232015-08-14 10:54:02 -0700100 'type': 'none',
101 'actions': [
102 {
Alex Deymob8803bb2015-08-19 23:14:49 -0700103 'action_name': 'update_engine-dbus-libcros-client',
104 'variables': {
105 'mock_output_file': 'include/libcros/dbus-proxy-mocks.h',
106 'proxy_output_file': 'include/libcros/dbus-proxies.h'
107 },
108 'sources': [
Alex Deymo6f20dd42015-08-18 16:42:46 -0700109 'dbus_bindings/org.chromium.LibCrosService.dbus-xml',
Alex Deymof7feb232015-08-14 10:54:02 -0700110 ],
Alex Deymoa7a34d82015-08-24 20:47:01 -0700111 'includes': ['../../../platform2/common-mk/generate-dbus-proxies.gypi'],
Alex Deymof7feb232015-08-14 10:54:02 -0700112 },
113 ],
114 },
Alex Deymo39910dc2015-11-09 17:04:30 -0800115 # The payload application component and common dependencies.
116 {
117 'target_name': 'libpayload_consumer',
118 'type': 'static_library',
119 'dependencies': [
120 'update_metadata-protos',
121 'update_engine-other-dbus-proxies',
122 ],
123 #TODO(deymo): Remove unused dependencies once we stop including files
124 # from the root directory.
125 'variables': {
126 'exported_deps': [
127 'libcrypto',
128 'libcurl',
129 'libdebugd-client',
130 'libsession_manager-client',
131 'libmetrics-<(libbase_ver)',
132 'libpower_manager-client',
133 'libupdate_engine-client',
134 'libshill-client',
135 'libssl',
136 'expat',
137 'xz-embedded',
138 ],
139 'deps': ['<@(exported_deps)'],
140 },
141 'all_dependent_settings': {
142 'variables': {
143 'deps': [
144 '<@(exported_deps)',
145 ],
146 },
147 },
148 'link_settings': {
149 'variables': {
150 'deps': [
151 '<@(exported_deps)',
152 ],
153 },
154 'libraries': [
155 '-lbz2',
156 '-lpolicy-<(libbase_ver)',
157 '-lrootdev',
158 '-lrt',
159 '-lvboot_host',
160 ],
161 },
162 'sources': [
163 'common/action_processor.cc',
164 'common/boot_control_chromeos.cc',
165 'common/boot_control_stub.cc',
166 'common/certificate_checker.cc',
167 'common/clock.cc',
168 'common/constants.cc',
169 'common/hardware_chromeos.cc',
170 'common/hash_calculator.cc',
171 'common/http_common.cc',
172 'common/http_fetcher.cc',
173 'common/hwid_override.cc',
174 'common/libcurl_http_fetcher.cc',
175 'common/multi_range_http_fetcher.cc',
176 'common/platform_constants_chromeos.cc',
177 'common/prefs.cc',
178 'common/subprocess.cc',
179 'common/terminator.cc',
180 'common/utils.cc',
181 'payload_consumer/bzip_extent_writer.cc',
182 'payload_consumer/delta_performer.cc',
183 'payload_consumer/download_action.cc',
184 'payload_consumer/extent_writer.cc',
185 'payload_consumer/file_descriptor.cc',
186 'payload_consumer/file_writer.cc',
187 'payload_consumer/filesystem_verifier_action.cc',
188 'payload_consumer/install_plan.cc',
189 'payload_consumer/payload_constants.cc',
190 'payload_consumer/payload_verifier.cc',
191 'payload_consumer/postinstall_runner_action.cc',
192 'payload_consumer/xz_extent_writer.cc',
193 ],
194 'conditions': [
195 ['USE_mtd == 1', {
196 'sources': [
197 'payload_consumer/mtd_file_descriptor.cc',
198 ],
199 'link_settings': {
200 'libraries': [
201 '-lmtdutils',
202 ],
203 },
204 }],
205 ],
206 },
207 # The main daemon static_library with all the code used to check for updates
208 # with Omaha and expose a DBus daemon.
Alex Deymo719bfff2014-07-11 12:12:32 -0700209 {
210 'target_name': 'libupdate_engine',
211 'type': 'static_library',
212 'dependencies': [
Alex Deymo39910dc2015-11-09 17:04:30 -0800213 'libpayload_consumer',
Alex Deymo719bfff2014-07-11 12:12:32 -0700214 'update_metadata-protos',
Alex Deymo30534502015-07-20 15:06:33 -0700215 'update_engine-dbus-adaptor',
Alex Deymob8803bb2015-08-19 23:14:49 -0700216 'update_engine-other-dbus-proxies',
Alex Deymo719bfff2014-07-11 12:12:32 -0700217 ],
218 'variables': {
219 'exported_deps': [
220 'dbus-1',
Alex Deymo719bfff2014-07-11 12:12:32 -0700221 'libcrypto',
222 'libcurl',
Alex Deymod6deb1d2015-08-28 15:54:37 -0700223 'libdebugd-client',
224 'libsession_manager-client',
Alex Deymo719bfff2014-07-11 12:12:32 -0700225 'libmetrics-<(libbase_ver)',
Alex Deymod6deb1d2015-08-28 15:54:37 -0700226 'libpower_manager-client',
227 'libupdate_engine-client',
228 'libshill-client',
Alex Deymo719bfff2014-07-11 12:12:32 -0700229 'libssl',
Alex Deymod6deb1d2015-08-28 15:54:37 -0700230 'expat',
Alex Deymo2e71f902015-09-30 01:25:48 -0700231 'xz-embedded',
Alex Deymo719bfff2014-07-11 12:12:32 -0700232 ],
233 'deps': ['<@(exported_deps)'],
234 },
235 'all_dependent_settings': {
236 'variables': {
237 'deps': [
238 '<@(exported_deps)',
239 ],
240 },
241 },
242 'link_settings': {
243 'variables': {
244 'deps': [
245 '<@(exported_deps)',
246 ],
247 },
248 'libraries': [
249 '-lbz2',
Alex Deymo719bfff2014-07-11 12:12:32 -0700250 '-lpolicy-<(libbase_ver)',
251 '-lrootdev',
252 '-lrt',
253 '-lvboot_host',
254 ],
255 },
256 'sources': [
Alex Deymo719bfff2014-07-11 12:12:32 -0700257 'chrome_browser_proxy_resolver.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700258 'connection_manager.cc',
Alex Deymob7ca0962014-10-01 17:58:07 -0700259 'daemon.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700260 'dbus_service.cc',
Alex Deymo85616652015-10-15 18:48:31 -0700261 'image_properties_chromeos.cc',
Alex Deymo30534502015-07-20 15:06:33 -0700262 'libcros_proxy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700263 'metrics.cc',
Alex Deymo38429cf2015-11-11 18:27:22 -0800264 'metrics_utils.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700265 'omaha_request_action.cc',
266 'omaha_request_params.cc',
267 'omaha_response_handler_action.cc',
268 'p2p_manager.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700269 'payload_state.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700270 'proxy_resolver.cc',
271 'real_system_state.cc',
Alex Deymo30534502015-07-20 15:06:33 -0700272 'shill_proxy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700273 'update_attempter.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700274 'update_manager/boxed_value.cc',
275 'update_manager/chromeos_policy.cc',
Gilad Arnolda23e4082014-07-17 11:40:43 -0700276 'update_manager/default_policy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700277 'update_manager/evaluation_context.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700278 'update_manager/policy.cc',
279 'update_manager/real_config_provider.cc',
280 'update_manager/real_device_policy_provider.cc',
281 'update_manager/real_random_provider.cc',
282 'update_manager/real_shill_provider.cc',
283 'update_manager/real_system_provider.cc',
284 'update_manager/real_time_provider.cc',
285 'update_manager/real_updater_provider.cc',
286 'update_manager/state_factory.cc',
287 'update_manager/update_manager.cc',
Christopher Wileycc8ce0e2015-10-01 16:48:47 -0700288 'update_status_utils.cc',
Nam T. Nguyenf1d582e2014-12-08 15:07:17 -0800289 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700290 },
291 # update_engine daemon.
292 {
293 'target_name': 'update_engine',
294 'type': 'executable',
Alex Deymo44666f92014-07-22 20:29:24 -0700295 'dependencies': [
296 'libupdate_engine',
Alex Deymo44666f92014-07-22 20:29:24 -0700297 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700298 'sources': [
299 'main.cc',
Alex Deymo39910dc2015-11-09 17:04:30 -0800300 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700301 },
302 # update_engine console client.
303 {
304 'target_name': 'update_engine_client',
305 'type': 'executable',
Alex Deymo44666f92014-07-22 20:29:24 -0700306 'variables': {
307 'exported_deps': [
Alex Deymod6deb1d2015-08-28 15:54:37 -0700308 'libupdate_engine-client',
Alex Deymo44666f92014-07-22 20:29:24 -0700309 ],
310 'deps': ['<@(exported_deps)'],
311 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700312 'sources': [
313 'update_engine_client.cc',
Alex Deymo72aa0022015-06-19 21:16:49 -0700314 ],
Alex Deymod2956cc2015-08-17 15:39:40 -0700315 },
Alex Deymo7504e5f2014-07-15 17:58:51 -0700316 # server-side code. This is used for delta_generator and unittests but not
317 # for any client code.
318 {
319 'target_name': 'libpayload_generator',
320 'type': 'static_library',
321 'dependencies': [
Alex Deymod6deb1d2015-08-28 15:54:37 -0700322 'libupdate_engine',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700323 'update_metadata-protos',
324 ],
Alex Deymo5d527802014-07-18 14:24:13 -0700325 'variables': {
326 'exported_deps': [
327 'ext2fs',
328 ],
329 'deps': ['<@(exported_deps)'],
330 },
331 'all_dependent_settings': {
332 'variables': {
333 'deps': [
334 '<@(exported_deps)',
335 ],
336 },
337 },
338 'link_settings': {
339 'variables': {
340 'deps': [
341 '<@(exported_deps)',
342 ],
343 },
344 },
Alex Deymo7504e5f2014-07-15 17:58:51 -0700345 'sources': [
Alex Deymo14158572015-06-13 03:37:08 -0700346 'payload_generator/ab_generator.cc',
Alex Deymo477aec22015-03-24 23:40:48 -0700347 'payload_generator/annotated_operation.cc',
Sen Jiang8cc502d2015-08-10 10:04:54 -0700348 'payload_generator/blob_file_writer.cc',
Alex Deymof0061352015-07-01 14:59:15 -0700349 'payload_generator/block_mapping.cc',
Alex Deymo0bc26112015-10-19 20:54:57 -0700350 'payload_generator/bzip.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700351 'payload_generator/cycle_breaker.cc',
352 'payload_generator/delta_diff_generator.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700353 'payload_generator/delta_diff_utils.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700354 'payload_generator/ext2_filesystem.cc',
Alex Deymo1beda782015-06-07 23:01:25 +0200355 'payload_generator/extent_ranges.cc',
Alex Deymo5c6c6552015-06-03 19:06:50 +0200356 'payload_generator/extent_utils.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700357 'payload_generator/full_update_generator.cc',
Alex Deymo9b244df2015-03-11 21:51:18 -0700358 'payload_generator/graph_types.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700359 'payload_generator/graph_utils.cc',
Allie Woodcd514b52015-02-19 13:56:07 -0800360 'payload_generator/inplace_generator.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700361 'payload_generator/payload_file.cc',
Alex Deymof1cbe172015-03-05 15:58:37 -0800362 'payload_generator/payload_generation_config.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700363 'payload_generator/payload_signer.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700364 'payload_generator/raw_filesystem.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700365 'payload_generator/tarjan.cc',
366 'payload_generator/topological_sort.cc',
367 ],
368 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700369 # server-side delta generator.
370 {
371 'target_name': 'delta_generator',
372 'type': 'executable',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700373 'dependencies': [
374 'libupdate_engine',
375 'libpayload_generator',
376 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700377 'link_settings': {
378 'ldflags!': [
379 '-pie',
380 ],
381 },
382 'sources': [
383 'payload_generator/generate_delta_main.cc',
Alex Deymo39910dc2015-11-09 17:04:30 -0800384 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700385 },
386 ],
387 'conditions': [
388 ['USE_test == 1', {
389 'targets': [
390 # Public keys used for unit testing.
391 {
392 'target_name': 'update_engine-testkeys',
393 'type': 'none',
394 'variables': {
395 'openssl_pem_in_dir': '.',
396 'openssl_pem_out_dir': 'include/update_engine',
397 },
398 'sources': [
399 'unittest_key.pem',
400 'unittest_key2.pem',
401 ],
Alex Deymoa7a34d82015-08-24 20:47:01 -0700402 'includes': ['../../../platform2/common-mk/openssl_pem.gypi'],
Alex Deymo719bfff2014-07-11 12:12:32 -0700403 },
Alex Deymo04ef2072015-08-13 08:19:16 -0700404 # Unpacks sample images used for testing.
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700405 {
406 'target_name': 'update_engine-test_images',
407 'type': 'none',
408 'variables': {
409 'image_out_dir': '.',
410 },
411 'sources': [
Alex Deymo04ef2072015-08-13 08:19:16 -0700412 'sample_images/sample_images.tar.bz2',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700413 ],
Alex Deymo04ef2072015-08-13 08:19:16 -0700414 'includes': ['tar_bunzip2.gypi'],
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700415 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700416 # Test HTTP Server.
417 {
418 'target_name': 'test_http_server',
419 'type': 'executable',
420 'dependencies': ['libupdate_engine'],
421 'sources': [
422 'test_http_server.cc',
Alex Deymo39910dc2015-11-09 17:04:30 -0800423 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700424 },
425 # Main unittest file.
426 {
427 'target_name': 'update_engine_unittests',
428 'type': 'executable',
Alex Deymoa7a34d82015-08-24 20:47:01 -0700429 'includes': ['../../../platform2/common-mk/common_test.gypi'],
Alex Deymo509dd532015-06-10 14:11:05 -0700430 'variables': {
431 'deps': [
Alex Vakulenko1bab5a82015-10-27 11:47:28 -0700432 'libbrillo-test-<(libbase_ver)',
Alex Deymo509dd532015-06-10 14:11:05 -0700433 'libchrome-test-<(libbase_ver)',
Alex Deymod6deb1d2015-08-28 15:54:37 -0700434 'libdebugd-client-test',
435 'libpower_manager-client-test',
436 'libsession_manager-client-test',
437 'libshill-client-test',
Alex Deymo509dd532015-06-10 14:11:05 -0700438 ],
439 },
Alex Deymo7504e5f2014-07-15 17:58:51 -0700440 'dependencies': [
441 'libupdate_engine',
442 'libpayload_generator',
443 ],
Alex Deymoa7a34d82015-08-24 20:47:01 -0700444 'includes': ['../../../platform2/common-mk/common_test.gypi'],
Alex Deymo719bfff2014-07-11 12:12:32 -0700445 'sources': [
Alex Deymo719bfff2014-07-11 12:12:32 -0700446 'chrome_browser_proxy_resolver_unittest.cc',
Alex Deymo39910dc2015-11-09 17:04:30 -0800447 'common/action_pipe_unittest.cc',
448 'common/action_processor_unittest.cc',
449 'common/action_unittest.cc',
450 'common/boot_control_chromeos_unittest.cc',
451 'common/certificate_checker_unittest.cc',
452 'common/fake_prefs.cc',
453 'common/hash_calculator_unittest.cc',
454 'common/http_fetcher_unittest.cc',
455 'common/hwid_override_unittest.cc',
456 'common/mock_http_fetcher.cc',
457 'common/prefs_unittest.cc',
458 'common/subprocess_unittest.cc',
459 'common/terminator_unittest.cc',
460 'common/test_utils.cc',
461 'common/utils_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700462 'connection_manager_unittest.cc',
Alex Deymob7ca0962014-10-01 17:58:07 -0700463 'dbus_service_unittest.cc',
Alex Deymo30534502015-07-20 15:06:33 -0700464 'fake_shill_proxy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700465 'fake_system_state.cc',
Alex Deymo38429cf2015-11-11 18:27:22 -0800466 'metrics_utils_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700467 'omaha_request_action_unittest.cc',
468 'omaha_request_params_unittest.cc',
469 'omaha_response_handler_action_unittest.cc',
470 'p2p_manager_unittest.cc',
Alex Deymo39910dc2015-11-09 17:04:30 -0800471 'payload_consumer/bzip_extent_writer_unittest.cc',
472 'payload_consumer/delta_performer_integration_test.cc',
473 'payload_consumer/delta_performer_unittest.cc',
474 'payload_consumer/download_action_unittest.cc',
475 'payload_consumer/extent_writer_unittest.cc',
476 'payload_consumer/file_writer_unittest.cc',
477 'payload_consumer/filesystem_verifier_action_unittest.cc',
478 'payload_consumer/postinstall_runner_action_unittest.cc',
479 'payload_consumer/xz_extent_writer_unittest.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700480 'payload_generator/ab_generator_unittest.cc',
Sen Jiang8cc502d2015-08-10 10:04:54 -0700481 'payload_generator/blob_file_writer_unittest.cc',
Alex Deymof0061352015-07-01 14:59:15 -0700482 'payload_generator/block_mapping_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700483 'payload_generator/cycle_breaker_unittest.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700484 'payload_generator/delta_diff_utils_unittest.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700485 'payload_generator/ext2_filesystem_unittest.cc',
Alex Deymo1beda782015-06-07 23:01:25 +0200486 'payload_generator/extent_ranges_unittest.cc',
Alex Deymo5c6c6552015-06-03 19:06:50 +0200487 'payload_generator/extent_utils_unittest.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700488 'payload_generator/fake_filesystem.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700489 'payload_generator/full_update_generator_unittest.cc',
490 'payload_generator/graph_utils_unittest.cc',
Allie Woodcd514b52015-02-19 13:56:07 -0800491 'payload_generator/inplace_generator_unittest.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700492 'payload_generator/payload_file_unittest.cc',
Sen Jiang05feee02015-11-11 15:59:49 -0800493 'payload_generator/payload_generation_config_unittest.cc',
Alex Deymo39910dc2015-11-09 17:04:30 -0800494 'payload_generator/payload_signer_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700495 'payload_generator/tarjan_unittest.cc',
496 'payload_generator/topological_sort_unittest.cc',
Alex Deymo0bc26112015-10-19 20:54:57 -0700497 'payload_generator/zip_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700498 'payload_state_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700499 'update_attempter_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700500 'update_manager/boxed_value_unittest.cc',
501 'update_manager/chromeos_policy_unittest.cc',
502 'update_manager/evaluation_context_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700503 'update_manager/generic_variables_unittest.cc',
504 'update_manager/prng_unittest.cc',
505 'update_manager/real_config_provider_unittest.cc',
506 'update_manager/real_device_policy_provider_unittest.cc',
507 'update_manager/real_random_provider_unittest.cc',
508 'update_manager/real_shill_provider_unittest.cc',
509 'update_manager/real_system_provider_unittest.cc',
510 'update_manager/real_time_provider_unittest.cc',
511 'update_manager/real_updater_provider_unittest.cc',
512 'update_manager/umtest_utils.cc',
513 'update_manager/update_manager_unittest.cc',
514 'update_manager/variable_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700515 # Main entry point for runnning tests.
516 'testrunner.cc',
517 ],
518 },
519 ],
520 }],
521 ],
522}