OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import os | 5 import os |
6 | 6 |
7 # Protobuffer compilation | 7 # Protobuffer compilation |
8 def ProtocolBufferEmitter(target, source, env): | 8 def ProtocolBufferEmitter(target, source, env): |
9 """ Inputs: | 9 """ Inputs: |
10 target: list of targets to compile to | 10 target: list of targets to compile to |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 env.GlibMarshal('marshal.glibmarshal.c', 'marshal.list') | 229 env.GlibMarshal('marshal.glibmarshal.c', 'marshal.list') |
230 | 230 |
231 if ARGUMENTS.get('debug', 0): | 231 if ARGUMENTS.get('debug', 0): |
232 env['CCFLAGS'] += ' -fprofile-arcs -ftest-coverage' | 232 env['CCFLAGS'] += ' -fprofile-arcs -ftest-coverage' |
233 env['LIBS'] += ['bz2', 'gcov'] | 233 env['LIBS'] += ['bz2', 'gcov'] |
234 | 234 |
235 sources = Split("""action_processor.cc | 235 sources = Split("""action_processor.cc |
236 buffered_file_writer.cc | 236 buffered_file_writer.cc |
237 bzip.cc | 237 bzip.cc |
238 bzip_extent_writer.cc | 238 bzip_extent_writer.cc |
| 239 chrome_proxy_resolver.cc |
239 cycle_breaker.cc | 240 cycle_breaker.cc |
240 dbus_service.cc | 241 dbus_service.cc |
241 decompressing_file_writer.cc | 242 decompressing_file_writer.cc |
242 delta_diff_generator.cc | 243 delta_diff_generator.cc |
243 delta_performer.cc | 244 delta_performer.cc |
244 download_action.cc | 245 download_action.cc |
245 extent_mapper.cc | 246 extent_mapper.cc |
246 extent_ranges.cc | 247 extent_ranges.cc |
247 extent_writer.cc | 248 extent_writer.cc |
248 filesystem_copier_action.cc | 249 filesystem_copier_action.cc |
249 filesystem_iterator.cc | 250 filesystem_iterator.cc |
250 file_writer.cc | 251 file_writer.cc |
251 flimflam_proxy.cc | 252 flimflam_proxy.cc |
252 full_update_generator.cc | 253 full_update_generator.cc |
253 graph_utils.cc | 254 graph_utils.cc |
254 gzip.cc | 255 gzip.cc |
255 libcurl_http_fetcher.cc | 256 libcurl_http_fetcher.cc |
256 marshal.glibmarshal.c | 257 marshal.glibmarshal.c |
257 omaha_hash_calculator.cc | 258 omaha_hash_calculator.cc |
258 omaha_request_action.cc | 259 omaha_request_action.cc |
259 omaha_request_params.cc | 260 omaha_request_params.cc |
260 omaha_response_handler_action.cc | 261 omaha_response_handler_action.cc |
261 payload_signer.cc | 262 payload_signer.cc |
262 postinstall_runner_action.cc | 263 postinstall_runner_action.cc |
263 prefs.cc | 264 prefs.cc |
| 265 proxy_resolver.cc |
264 simple_key_value_store.cc | 266 simple_key_value_store.cc |
265 split_file_writer.cc | 267 split_file_writer.cc |
266 subprocess.cc | 268 subprocess.cc |
267 tarjan.cc | 269 tarjan.cc |
268 terminator.cc | 270 terminator.cc |
269 topological_sort.cc | 271 topological_sort.cc |
270 update_attempter.cc | 272 update_attempter.cc |
271 update_check_scheduler.cc | 273 update_check_scheduler.cc |
272 update_metadata.pb.cc | 274 update_metadata.pb.cc |
273 utils.cc""") | 275 utils.cc""") |
274 main = ['main.cc'] | 276 main = ['main.cc'] |
275 | 277 |
276 unittest_sources = Split("""action_unittest.cc | 278 unittest_sources = Split("""action_unittest.cc |
277 action_pipe_unittest.cc | 279 action_pipe_unittest.cc |
278 action_processor_unittest.cc | 280 action_processor_unittest.cc |
279 buffered_file_writer_unittest.cc | 281 buffered_file_writer_unittest.cc |
280 bzip_extent_writer_unittest.cc | 282 bzip_extent_writer_unittest.cc |
| 283 chrome_proxy_resolver_unittest.cc |
281 cycle_breaker_unittest.cc | 284 cycle_breaker_unittest.cc |
282 decompressing_file_writer_unittest.cc | 285 decompressing_file_writer_unittest.cc |
283 delta_diff_generator_unittest.cc | 286 delta_diff_generator_unittest.cc |
284 delta_performer_unittest.cc | 287 delta_performer_unittest.cc |
285 download_action_unittest.cc | 288 download_action_unittest.cc |
286 extent_mapper_unittest.cc | 289 extent_mapper_unittest.cc |
287 extent_ranges_unittest.cc | 290 extent_ranges_unittest.cc |
288 extent_writer_unittest.cc | 291 extent_writer_unittest.cc |
289 file_writer_unittest.cc | 292 file_writer_unittest.cc |
290 filesystem_copier_action_unittest.cc | 293 filesystem_copier_action_unittest.cc |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 delta_generator_main) | 350 delta_generator_main) |
348 | 351 |
349 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 352 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
350 | 353 |
351 unittest_env = env.Clone() | 354 unittest_env = env.Clone() |
352 unittest_env.Append(LIBS=['gmock', 'gtest']) | 355 unittest_env.Append(LIBS=['gmock', 'gtest']) |
353 unittest_cmd = unittest_env.Program('update_engine_unittests', | 356 unittest_cmd = unittest_env.Program('update_engine_unittests', |
354 unittest_sources + unittest_main) | 357 unittest_sources + unittest_main) |
355 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 358 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
356 Split('html app.info')) | 359 Split('html app.info')) |
OLD | NEW |