| 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 """ Inputs: | 8 """ Inputs: |
| 9 target: list of targets to compile to | 9 target: list of targets to compile to |
| 10 source: list of sources to compile | 10 source: list of sources to compile |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 graph_utils.cc | 98 graph_utils.cc |
| 99 gzip.cc | 99 gzip.cc |
| 100 libcurl_http_fetcher.cc | 100 libcurl_http_fetcher.cc |
| 101 omaha_hash_calculator.cc | 101 omaha_hash_calculator.cc |
| 102 omaha_request_prep_action.cc | 102 omaha_request_prep_action.cc |
| 103 omaha_response_handler_action.cc | 103 omaha_response_handler_action.cc |
| 104 postinstall_runner_action.cc | 104 postinstall_runner_action.cc |
| 105 set_bootable_flag_action.cc | 105 set_bootable_flag_action.cc |
| 106 subprocess.cc | 106 subprocess.cc |
| 107 tarjan.cc | 107 tarjan.cc |
| 108 topological_sort.cc |
| 108 update_check_action.cc | 109 update_check_action.cc |
| 109 update_metadata.pb.cc | 110 update_metadata.pb.cc |
| 110 utils.cc""") | 111 utils.cc""") |
| 111 main = ['main.cc'] | 112 main = ['main.cc'] |
| 112 | 113 |
| 113 unittest_sources = Split("""action_unittest.cc | 114 unittest_sources = Split("""action_unittest.cc |
| 114 action_pipe_unittest.cc | 115 action_pipe_unittest.cc |
| 115 action_processor_unittest.cc | 116 action_processor_unittest.cc |
| 116 bzip_extent_writer_unittest.cc | 117 bzip_extent_writer_unittest.cc |
| 117 cycle_breaker_unittest.cc | 118 cycle_breaker_unittest.cc |
| (...skipping 10 matching lines...) Expand all Loading... |
| 128 http_fetcher_unittest.cc | 129 http_fetcher_unittest.cc |
| 129 mock_http_fetcher.cc | 130 mock_http_fetcher.cc |
| 130 omaha_hash_calculator_unittest.cc | 131 omaha_hash_calculator_unittest.cc |
| 131 omaha_request_prep_action_unittest.cc | 132 omaha_request_prep_action_unittest.cc |
| 132 omaha_response_handler_action_unittest.cc | 133 omaha_response_handler_action_unittest.cc |
| 133 postinstall_runner_action_unittest.cc | 134 postinstall_runner_action_unittest.cc |
| 134 set_bootable_flag_action_unittest.cc | 135 set_bootable_flag_action_unittest.cc |
| 135 subprocess_unittest.cc | 136 subprocess_unittest.cc |
| 136 tarjan_unittest.cc | 137 tarjan_unittest.cc |
| 137 test_utils.cc | 138 test_utils.cc |
| 139 topological_sort_unittest.cc |
| 138 update_check_action_unittest.cc | 140 update_check_action_unittest.cc |
| 139 utils_unittest.cc""") | 141 utils_unittest.cc""") |
| 140 unittest_main = ['testrunner.cc'] | 142 unittest_main = ['testrunner.cc'] |
| 141 | 143 |
| 142 delta_generator_sources = Split("""delta_diff_generator.cc""") | 144 delta_generator_sources = Split("""delta_diff_generator.cc""") |
| 143 delta_generator_main = ['generate_delta_main.cc'] | 145 delta_generator_main = ['generate_delta_main.cc'] |
| 144 | 146 |
| 145 test_installer_main = ['test_installer_main.cc'] | 147 test_installer_main = ['test_installer_main.cc'] |
| 146 | 148 |
| 147 env.Program('update_engine', sources + main) | 149 env.Program('update_engine', sources + main) |
| 148 unittest_cmd = env.Program('update_engine_unittests', | 150 unittest_cmd = env.Program('update_engine_unittests', |
| 149 sources + delta_generator_sources + | 151 sources + delta_generator_sources + |
| 150 unittest_sources + unittest_main) | 152 unittest_sources + unittest_main) |
| 151 | 153 |
| 152 test_installer_cmd = env.Program('test_installer', | 154 test_installer_cmd = env.Program('test_installer', |
| 153 sources + delta_generator_sources + | 155 sources + delta_generator_sources + |
| 154 unittest_sources + test_installer_main) | 156 unittest_sources + test_installer_main) |
| 155 | 157 |
| 156 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 158 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
| 157 Split('html app.info')) | 159 Split('html app.info')) |
| 158 | 160 |
| 159 delta_generator_cmd = env.Program('delta_generator', | 161 delta_generator_cmd = env.Program('delta_generator', |
| 160 sources + delta_generator_sources + | 162 sources + delta_generator_sources + |
| 161 delta_generator_main) | 163 delta_generator_main) |
| 162 | 164 |
| 163 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 165 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
| OLD | NEW |