| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2009 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 payload_signer.cc | 216 payload_signer.cc |
| 217 postinstall_runner_action.cc | 217 postinstall_runner_action.cc |
| 218 prefs.cc | 218 prefs.cc |
| 219 set_bootable_flag_action.cc | 219 set_bootable_flag_action.cc |
| 220 simple_key_value_store.cc | 220 simple_key_value_store.cc |
| 221 split_file_writer.cc | 221 split_file_writer.cc |
| 222 subprocess.cc | 222 subprocess.cc |
| 223 tarjan.cc | 223 tarjan.cc |
| 224 topological_sort.cc | 224 topological_sort.cc |
| 225 update_attempter.cc | 225 update_attempter.cc |
| 226 update_check_scheduler.cc |
| 226 update_metadata.pb.cc | 227 update_metadata.pb.cc |
| 227 utils.cc""") | 228 utils.cc""") |
| 228 main = ['main.cc'] | 229 main = ['main.cc'] |
| 229 | 230 |
| 230 unittest_sources = Split("""action_unittest.cc | 231 unittest_sources = Split("""action_unittest.cc |
| 231 action_pipe_unittest.cc | 232 action_pipe_unittest.cc |
| 232 action_processor_unittest.cc | 233 action_processor_unittest.cc |
| 233 bzip_extent_writer_unittest.cc | 234 bzip_extent_writer_unittest.cc |
| 234 cycle_breaker_unittest.cc | 235 cycle_breaker_unittest.cc |
| 235 decompressing_file_writer_unittest.cc | 236 decompressing_file_writer_unittest.cc |
| (...skipping 15 matching lines...) Expand all Loading... |
| 251 payload_signer_unittest.cc | 252 payload_signer_unittest.cc |
| 252 postinstall_runner_action_unittest.cc | 253 postinstall_runner_action_unittest.cc |
| 253 prefs_unittest.cc | 254 prefs_unittest.cc |
| 254 set_bootable_flag_action_unittest.cc | 255 set_bootable_flag_action_unittest.cc |
| 255 simple_key_value_store_unittest.cc | 256 simple_key_value_store_unittest.cc |
| 256 split_file_writer_unittest.cc | 257 split_file_writer_unittest.cc |
| 257 subprocess_unittest.cc | 258 subprocess_unittest.cc |
| 258 tarjan_unittest.cc | 259 tarjan_unittest.cc |
| 259 test_utils.cc | 260 test_utils.cc |
| 260 topological_sort_unittest.cc | 261 topological_sort_unittest.cc |
| 262 update_check_scheduler_unittest.cc |
| 261 utils_unittest.cc | 263 utils_unittest.cc |
| 262 zip_unittest.cc""") | 264 zip_unittest.cc""") |
| 263 unittest_main = ['testrunner.cc'] | 265 unittest_main = ['testrunner.cc'] |
| 264 | 266 |
| 265 client_main = ['update_engine_client.cc'] | 267 client_main = ['update_engine_client.cc'] |
| 266 | 268 |
| 267 delta_generator_main = ['generate_delta_main.cc'] | 269 delta_generator_main = ['generate_delta_main.cc'] |
| 268 | 270 |
| 269 # Hack to generate header files first. They are generated as a side effect | 271 # Hack to generate header files first. They are generated as a side effect |
| 270 # of generating other files (usually their corresponding .c(c) files), | 272 # of generating other files (usually their corresponding .c(c) files), |
| (...skipping 23 matching lines...) Expand all Loading... |
| 294 delta_generator_main) | 296 delta_generator_main) |
| 295 | 297 |
| 296 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 298 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
| 297 | 299 |
| 298 unittest_env = env.Clone() | 300 unittest_env = env.Clone() |
| 299 unittest_env.Append(LIBS=['gmock', 'gtest']) | 301 unittest_env.Append(LIBS=['gmock', 'gtest']) |
| 300 unittest_cmd = unittest_env.Program('update_engine_unittests', | 302 unittest_cmd = unittest_env.Program('update_engine_unittests', |
| 301 unittest_sources + unittest_main) | 303 unittest_sources + unittest_main) |
| 302 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 304 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
| 303 Split('html app.info')) | 305 Split('html app.info')) |
| OLD | NEW |