blob: f5ca7db37223bfe76a73725cffae67d6e395d494 [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': [
20 'libchrome-<(libbase_ver)',
21 'libchromeos-<(libbase_ver)',
22 ],
23 # Defaults if the -DUSE_* flags are not passed to gyp is 0. You can set
24 # the default value for the USE flag in the ebuild.
25 'USE_hwid_override%': '0',
26 'USE_power_management%': '0',
27 },
28 'cflags': [
29 '-g',
30 '-ffunction-sections',
31 '-Wall',
32 '-Wextra',
33 '-Werror',
34 '-Wno-unused-parameter',
35 '-Wno-deprecated-register',
36 ],
37 'cflags_cc': [
38 '-fno-strict-aliasing',
Nam T. Nguyenfc144e62014-12-03 09:50:49 -080039 '-Wnon-virtual-dtor',
Alex Deymo719bfff2014-07-11 12:12:32 -070040 ],
41 'ldflags': [
42 '-Wl,--gc-sections',
43 ],
44 'defines': [
Alex Deymo719bfff2014-07-11 12:12:32 -070045 '_POSIX_C_SOURCE=199309L',
46 'USE_HWID_OVERRIDE=<(USE_hwid_override)',
Nam T. Nguyenf1d582e2014-12-08 15:07:17 -080047 'USE_MTD=<(USE_mtd)',
Alex Deymo719bfff2014-07-11 12:12:32 -070048 'USE_POWER_MANAGEMENT=<(USE_power_management)',
49 ],
50 },
51 'targets': [
52 # Protobufs.
53 {
54 'target_name': 'update_metadata-protos',
55 'type': 'static_library',
56 'variables': {
57 'proto_in_dir': '.',
58 'proto_out_dir': 'include/update_engine',
Alex Deymo7504e5f2014-07-15 17:58:51 -070059 'exported_deps': [
Alex Deymob8f16a12014-06-10 18:59:22 -070060 'protobuf-lite',
Alex Deymo7504e5f2014-07-15 17:58:51 -070061 ],
62 'deps': ['<@(exported_deps)'],
63 },
64 'all_dependent_settings': {
65 'variables': {
66 'deps': [
67 '<@(exported_deps)',
68 ],
69 },
Alex Deymo719bfff2014-07-11 12:12:32 -070070 },
71 'sources': [
72 'update_metadata.proto'
73 ],
74 'includes': ['../common-mk/protoc.gypi'],
75 },
Alex Deymob7ca0962014-10-01 17:58:07 -070076 # Chrome D-Bus bindings.
Alex Deymo719bfff2014-07-11 12:12:32 -070077 {
Alex Deymob7ca0962014-10-01 17:58:07 -070078 'target_name': 'update_engine-dbus-adaptor',
Alex Deymo719bfff2014-07-11 12:12:32 -070079 'type': 'none',
80 'variables': {
Alex Deymob7ca0962014-10-01 17:58:07 -070081 'dbus_adaptors_out_dir': 'include/update_engine/dbus_adaptor',
Alex Deymo719bfff2014-07-11 12:12:32 -070082 },
83 'sources': [
Timothy Jennison08d49312015-03-04 13:46:40 -050084 'dbus_bindings/org.chromium.UpdateEngineInterface.xml',
Alex Deymo719bfff2014-07-11 12:12:32 -070085 ],
Alex Deymob7ca0962014-10-01 17:58:07 -070086 'includes': ['../common-mk/generate-dbus-adaptors.gypi'],
Alex Deymo719bfff2014-07-11 12:12:32 -070087 },
Alex Deymof7feb232015-08-14 10:54:02 -070088 {
Alex Deymob8803bb2015-08-19 23:14:49 -070089 'target_name': 'update_engine-other-dbus-proxies',
Alex Deymof7feb232015-08-14 10:54:02 -070090 'type': 'none',
91 'actions': [
92 {
Alex Deymob8803bb2015-08-19 23:14:49 -070093 'action_name': 'update_engine-dbus-shill-client',
Alex Deymof7feb232015-08-14 10:54:02 -070094 'variables': {
Alex Deymob8803bb2015-08-19 23:14:49 -070095 'mock_output_file': 'include/shill/dbus-proxy-mocks.h',
96 'proxy_output_file': 'include/shill/dbus-proxies.h'
97 },
98 'sources': [
99 '../shill/dbus_bindings/org.chromium.flimflam.Manager.xml',
100 '../shill/dbus_bindings/org.chromium.flimflam.Service.xml',
101 ],
102 'includes': ['../common-mk/generate-dbus-proxies.gypi'],
103 },
104 {
105 'action_name': 'update_engine-dbus-debugd-client',
106 'variables': {
107 'mock_output_file': 'include/debugd/dbus-proxy-mocks.h',
108 'proxy_output_file': 'include/debugd/dbus-proxies.h'
Alex Deymof7feb232015-08-14 10:54:02 -0700109 },
110 'sources': [
111 '../debugd/share/org.chromium.debugd.xml',
Alex Deymob8803bb2015-08-19 23:14:49 -0700112 ],
113 'includes': ['../common-mk/generate-dbus-proxies.gypi'],
114 },
115 {
116 'action_name': 'update_engine-dbus-login_manager-client',
117 'variables': {
118 'mock_output_file': 'include/login_manager/dbus-proxy-mocks.h',
119 'proxy_output_file': 'include/login_manager/dbus-proxies.h'
120 },
121 'sources': [
Alex Deymof7feb232015-08-14 10:54:02 -0700122 '../login_manager/org.chromium.SessionManagerInterface.xml',
Alex Deymob8803bb2015-08-19 23:14:49 -0700123 ],
124 'includes': ['../common-mk/generate-dbus-proxies.gypi'],
125 },
126 {
127 'action_name': 'update_engine-dbus-power_manager-client',
128 'variables': {
129 'mock_output_file': 'include/power_manager/dbus-proxy-mocks.h',
130 'proxy_output_file': 'include/power_manager/dbus-proxies.h'
131 },
132 'sources': [
Alex Deymof7feb232015-08-14 10:54:02 -0700133 '../power_manager/dbus_bindings/org.chromium.PowerManager.xml',
Alex Deymob8803bb2015-08-19 23:14:49 -0700134 ],
135 'includes': ['../common-mk/generate-dbus-proxies.gypi'],
136 },
137 {
138 'action_name': 'update_engine-dbus-libcros-client',
139 'variables': {
140 'mock_output_file': 'include/libcros/dbus-proxy-mocks.h',
141 'proxy_output_file': 'include/libcros/dbus-proxies.h'
142 },
143 'sources': [
Alex Deymof7feb232015-08-14 10:54:02 -0700144 'dbus_bindings/org.chromium.LibCrosService.xml',
145 ],
146 'includes': ['../common-mk/generate-dbus-proxies.gypi'],
147 },
148 ],
149 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700150 # The main static_library with all the code.
151 {
152 'target_name': 'libupdate_engine',
153 'type': 'static_library',
154 'dependencies': [
155 'update_metadata-protos',
Alex Deymo30534502015-07-20 15:06:33 -0700156 'update_engine-dbus-adaptor',
Alex Deymob8803bb2015-08-19 23:14:49 -0700157 'update_engine-other-dbus-proxies',
Alex Deymo719bfff2014-07-11 12:12:32 -0700158 ],
159 'variables': {
160 'exported_deps': [
161 'dbus-1',
Alex Deymo719bfff2014-07-11 12:12:32 -0700162 'libchrome-<(libbase_ver)',
163 'libchromeos-<(libbase_ver)',
164 'libcrypto',
165 'libcurl',
166 'libmetrics-<(libbase_ver)',
167 'libssl',
David Zeuthene8ed8632014-07-24 13:38:10 -0400168 'expat'
Alex Deymo719bfff2014-07-11 12:12:32 -0700169 ],
170 'deps': ['<@(exported_deps)'],
171 },
172 'all_dependent_settings': {
173 'variables': {
174 'deps': [
175 '<@(exported_deps)',
176 ],
177 },
178 },
179 'link_settings': {
180 'variables': {
181 'deps': [
182 '<@(exported_deps)',
183 ],
184 },
185 'libraries': [
186 '-lbz2',
Alex Deymo719bfff2014-07-11 12:12:32 -0700187 '-lpolicy-<(libbase_ver)',
188 '-lrootdev',
189 '-lrt',
190 '-lvboot_host',
191 ],
192 },
193 'sources': [
194 'action_processor.cc',
195 'bzip.cc',
196 'bzip_extent_writer.cc',
197 'certificate_checker.cc',
198 'chrome_browser_proxy_resolver.cc',
199 'clock.cc',
200 'connection_manager.cc',
201 'constants.cc',
Alex Deymob7ca0962014-10-01 17:58:07 -0700202 'daemon.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700203 'dbus_service.cc',
204 'delta_performer.cc',
205 'download_action.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700206 'extent_writer.cc',
207 'file_descriptor.cc',
208 'file_writer.cc',
Allie Woodeb9e6d82015-04-17 13:55:30 -0700209 'filesystem_verifier_action.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700210 'hardware.cc',
211 'http_common.cc',
212 'http_fetcher.cc',
213 'hwid_override.cc',
214 'install_plan.cc',
Alex Deymo30534502015-07-20 15:06:33 -0700215 'libcros_proxy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700216 'libcurl_http_fetcher.cc',
217 'metrics.cc',
218 'multi_range_http_fetcher.cc',
219 'omaha_hash_calculator.cc',
220 'omaha_request_action.cc',
221 'omaha_request_params.cc',
222 'omaha_response_handler_action.cc',
223 'p2p_manager.cc',
224 'payload_constants.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700225 'payload_state.cc',
Alex Deymo923d8fa2014-07-15 17:58:51 -0700226 'payload_verifier.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700227 'postinstall_runner_action.cc',
228 'prefs.cc',
229 'proxy_resolver.cc',
230 'real_system_state.cc',
Alex Deymo30534502015-07-20 15:06:33 -0700231 'shill_proxy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700232 'subprocess.cc',
233 'terminator.cc',
234 'update_attempter.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700235 'update_manager/boxed_value.cc',
236 'update_manager/chromeos_policy.cc',
Gilad Arnolda23e4082014-07-17 11:40:43 -0700237 'update_manager/default_policy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700238 'update_manager/evaluation_context.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700239 'update_manager/policy.cc',
240 'update_manager/real_config_provider.cc',
241 'update_manager/real_device_policy_provider.cc',
242 'update_manager/real_random_provider.cc',
243 'update_manager/real_shill_provider.cc',
244 'update_manager/real_system_provider.cc',
245 'update_manager/real_time_provider.cc',
246 'update_manager/real_updater_provider.cc',
247 'update_manager/state_factory.cc',
248 'update_manager/update_manager.cc',
249 'utils.cc',
250 ],
Nam T. Nguyenf1d582e2014-12-08 15:07:17 -0800251 'conditions': [
252 ['USE_mtd == 1', {
253 'sources': [
254 'mtd_file_descriptor.cc',
255 ],
256 'link_settings': {
257 'libraries': [
258 '-lmtdutils',
259 ],
260 },
261 }],
262 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700263 },
264 # update_engine daemon.
265 {
266 'target_name': 'update_engine',
267 'type': 'executable',
Alex Deymo44666f92014-07-22 20:29:24 -0700268 'dependencies': [
269 'libupdate_engine',
Alex Deymo44666f92014-07-22 20:29:24 -0700270 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700271 'sources': [
272 'main.cc',
273 ]
274 },
275 # update_engine console client.
276 {
277 'target_name': 'update_engine_client',
278 'type': 'executable',
Alex Deymod2956cc2015-08-17 15:39:40 -0700279 'dependencies': [
280 'libupdate_engine-client-headers',
281 ],
Alex Deymo44666f92014-07-22 20:29:24 -0700282 'variables': {
283 'exported_deps': [
Alex Deymo44666f92014-07-22 20:29:24 -0700284 'libchrome-<(libbase_ver)',
285 'libchromeos-<(libbase_ver)',
286 ],
287 'deps': ['<@(exported_deps)'],
288 },
289 'link_settings': {
290 'variables': {
291 'deps': [
292 '<@(exported_deps)',
293 ],
294 },
Alex Deymo44666f92014-07-22 20:29:24 -0700295 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700296 'sources': [
297 'update_engine_client.cc',
Alex Deymo72aa0022015-06-19 21:16:49 -0700298 ],
Alex Deymod2956cc2015-08-17 15:39:40 -0700299 },
300 # update_engine client library generated headers. Used by other daemons and
301 # by the update_engine_client console program to interact with
302 # update_engine.
303 {
304 'target_name': 'libupdate_engine-client-headers',
305 'type': 'none',
Alex Deymo72aa0022015-06-19 21:16:49 -0700306 'actions': [
307 {
Alex Deymo30534502015-07-20 15:06:33 -0700308 'action_name': 'update_engine_client-dbus-proxies',
Alex Deymo72aa0022015-06-19 21:16:49 -0700309 'variables': {
310 'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
Alex Deymod2956cc2015-08-17 15:39:40 -0700311 'proxy_output_file': 'include/update_engine/dbus-proxies.h',
312 'mock_output_file': 'include/update_engine/dbus-proxy-mocks.h',
Alex Deymo72aa0022015-06-19 21:16:49 -0700313 },
314 'sources': [
315 'dbus_bindings/org.chromium.UpdateEngineInterface.xml',
316 ],
317 'includes': ['../common-mk/generate-dbus-proxies.gypi'],
318 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700319 ]
320 },
Alex Deymo7504e5f2014-07-15 17:58:51 -0700321 # server-side code. This is used for delta_generator and unittests but not
322 # for any client code.
323 {
324 'target_name': 'libpayload_generator',
325 'type': 'static_library',
326 'dependencies': [
327 'update_metadata-protos',
328 ],
Alex Deymo5d527802014-07-18 14:24:13 -0700329 'variables': {
330 'exported_deps': [
331 'ext2fs',
332 ],
333 'deps': ['<@(exported_deps)'],
334 },
335 'all_dependent_settings': {
336 'variables': {
337 'deps': [
338 '<@(exported_deps)',
339 ],
340 },
341 },
342 'link_settings': {
343 'variables': {
344 'deps': [
345 '<@(exported_deps)',
346 ],
347 },
Alex Deymoa26432a2015-03-12 16:08:04 -0700348 'libraries': [
349 '-lvboot_host',
350 ],
Alex Deymo5d527802014-07-18 14:24:13 -0700351 },
Alex Deymo7504e5f2014-07-15 17:58:51 -0700352 'sources': [
Alex Deymo14158572015-06-13 03:37:08 -0700353 'payload_generator/ab_generator.cc',
Alex Deymo477aec22015-03-24 23:40:48 -0700354 'payload_generator/annotated_operation.cc',
Sen Jiang8cc502d2015-08-10 10:04:54 -0700355 'payload_generator/blob_file_writer.cc',
Alex Deymof0061352015-07-01 14:59:15 -0700356 'payload_generator/block_mapping.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700357 'payload_generator/cycle_breaker.cc',
358 'payload_generator/delta_diff_generator.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700359 'payload_generator/delta_diff_utils.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700360 'payload_generator/ext2_filesystem.cc',
Alex Deymo1beda782015-06-07 23:01:25 +0200361 'payload_generator/extent_ranges.cc',
Alex Deymo5c6c6552015-06-03 19:06:50 +0200362 'payload_generator/extent_utils.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700363 'payload_generator/full_update_generator.cc',
Alex Deymo9b244df2015-03-11 21:51:18 -0700364 'payload_generator/graph_types.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700365 'payload_generator/graph_utils.cc',
Allie Woodcd514b52015-02-19 13:56:07 -0800366 'payload_generator/inplace_generator.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700367 'payload_generator/payload_file.cc',
Alex Deymof1cbe172015-03-05 15:58:37 -0800368 'payload_generator/payload_generation_config.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700369 'payload_generator/payload_signer.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700370 'payload_generator/raw_filesystem.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700371 'payload_generator/tarjan.cc',
372 'payload_generator/topological_sort.cc',
Alex Deymoa26432a2015-03-12 16:08:04 -0700373 'payload_generator/verity_utils.cc',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700374 ],
375 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700376 # server-side delta generator.
377 {
378 'target_name': 'delta_generator',
379 'type': 'executable',
Alex Deymo7504e5f2014-07-15 17:58:51 -0700380 'dependencies': [
381 'libupdate_engine',
382 'libpayload_generator',
383 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700384 'link_settings': {
385 'ldflags!': [
386 '-pie',
387 ],
388 },
389 'sources': [
390 'payload_generator/generate_delta_main.cc',
391 ]
392 },
393 ],
394 'conditions': [
395 ['USE_test == 1', {
396 'targets': [
397 # Public keys used for unit testing.
398 {
399 'target_name': 'update_engine-testkeys',
400 'type': 'none',
401 'variables': {
402 'openssl_pem_in_dir': '.',
403 'openssl_pem_out_dir': 'include/update_engine',
404 },
405 'sources': [
406 'unittest_key.pem',
407 'unittest_key2.pem',
408 ],
409 'includes': ['../common-mk/openssl_pem.gypi'],
410 },
Alex Deymo04ef2072015-08-13 08:19:16 -0700411 # Unpacks sample images used for testing.
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700412 {
413 'target_name': 'update_engine-test_images',
414 'type': 'none',
415 'variables': {
416 'image_out_dir': '.',
417 },
418 'sources': [
Alex Deymo04ef2072015-08-13 08:19:16 -0700419 'sample_images/sample_images.tar.bz2',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700420 ],
Alex Deymo04ef2072015-08-13 08:19:16 -0700421 'includes': ['tar_bunzip2.gypi'],
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700422 },
Alex Deymo719bfff2014-07-11 12:12:32 -0700423 # Test HTTP Server.
424 {
425 'target_name': 'test_http_server',
426 'type': 'executable',
427 'dependencies': ['libupdate_engine'],
428 'sources': [
429 'test_http_server.cc',
430 ]
431 },
432 # Main unittest file.
433 {
434 'target_name': 'update_engine_unittests',
435 'type': 'executable',
Alex Deymo509dd532015-06-10 14:11:05 -0700436 'includes': ['../common-mk/common_test.gypi'],
437 'variables': {
438 'deps': [
439 'libchromeos-test-<(libbase_ver)',
440 'libchrome-test-<(libbase_ver)',
441 ],
442 },
Alex Deymo7504e5f2014-07-15 17:58:51 -0700443 'dependencies': [
444 'libupdate_engine',
445 'libpayload_generator',
446 ],
Alex Deymo719bfff2014-07-11 12:12:32 -0700447 'includes': ['../common-mk/common_test.gypi'],
Alex Deymo719bfff2014-07-11 12:12:32 -0700448 'sources': [
449 'action_pipe_unittest.cc',
450 'action_processor_unittest.cc',
451 'action_unittest.cc',
452 'bzip_extent_writer_unittest.cc',
453 'certificate_checker_unittest.cc',
454 'chrome_browser_proxy_resolver_unittest.cc',
455 'connection_manager_unittest.cc',
Alex Deymob7ca0962014-10-01 17:58:07 -0700456 'dbus_service_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700457 'delta_performer_unittest.cc',
458 'download_action_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700459 'extent_writer_unittest.cc',
460 'fake_prefs.cc',
Alex Deymo30534502015-07-20 15:06:33 -0700461 'fake_shill_proxy.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700462 'fake_system_state.cc',
463 'file_writer_unittest.cc',
Allie Woodeb9e6d82015-04-17 13:55:30 -0700464 'filesystem_verifier_action_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700465 'http_fetcher_unittest.cc',
466 'hwid_override_unittest.cc',
467 'mock_http_fetcher.cc',
468 'omaha_hash_calculator_unittest.cc',
469 'omaha_request_action_unittest.cc',
470 'omaha_request_params_unittest.cc',
471 'omaha_response_handler_action_unittest.cc',
472 'p2p_manager_unittest.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700473 'payload_generator/ab_generator_unittest.cc',
Sen Jiang8cc502d2015-08-10 10:04:54 -0700474 'payload_generator/blob_file_writer_unittest.cc',
Alex Deymof0061352015-07-01 14:59:15 -0700475 'payload_generator/block_mapping_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700476 'payload_generator/cycle_breaker_unittest.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700477 'payload_generator/delta_diff_utils_unittest.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700478 'payload_generator/ext2_filesystem_unittest.cc',
Alex Deymo1beda782015-06-07 23:01:25 +0200479 'payload_generator/extent_ranges_unittest.cc',
Alex Deymo5c6c6552015-06-03 19:06:50 +0200480 'payload_generator/extent_utils_unittest.cc',
Alex Deymo2b19cfb2015-03-26 00:35:07 -0700481 'payload_generator/fake_filesystem.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700482 'payload_generator/full_update_generator_unittest.cc',
483 'payload_generator/graph_utils_unittest.cc',
Allie Woodcd514b52015-02-19 13:56:07 -0800484 'payload_generator/inplace_generator_unittest.cc',
Alex Deymo923d8fa2014-07-15 17:58:51 -0700485 'payload_generator/payload_signer_unittest.cc',
Alex Deymo14158572015-06-13 03:37:08 -0700486 'payload_generator/payload_file_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700487 'payload_generator/tarjan_unittest.cc',
488 'payload_generator/topological_sort_unittest.cc',
Alex Deymoa26432a2015-03-12 16:08:04 -0700489 'payload_generator/verity_utils_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700490 'payload_state_unittest.cc',
491 'postinstall_runner_action_unittest.cc',
492 'prefs_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700493 'subprocess_unittest.cc',
494 'terminator_unittest.cc',
495 'test_utils.cc',
Alex Deymo10875d92014-11-10 21:52:57 -0800496 'test_utils_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700497 'update_attempter_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700498 'update_manager/boxed_value_unittest.cc',
499 'update_manager/chromeos_policy_unittest.cc',
500 'update_manager/evaluation_context_unittest.cc',
Alex Deymo719bfff2014-07-11 12:12:32 -0700501 'update_manager/generic_variables_unittest.cc',
502 'update_manager/prng_unittest.cc',
503 'update_manager/real_config_provider_unittest.cc',
504 'update_manager/real_device_policy_provider_unittest.cc',
505 'update_manager/real_random_provider_unittest.cc',
506 'update_manager/real_shill_provider_unittest.cc',
507 'update_manager/real_system_provider_unittest.cc',
508 'update_manager/real_time_provider_unittest.cc',
509 'update_manager/real_updater_provider_unittest.cc',
510 'update_manager/umtest_utils.cc',
511 'update_manager/update_manager_unittest.cc',
512 'update_manager/variable_unittest.cc',
513 'utils_unittest.cc',
514 'zip_unittest.cc',
515 # Main entry point for runnning tests.
516 'testrunner.cc',
517 ],
518 },
519 ],
520 }],
521 ],
522}