| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 file_writer.cc | 96 file_writer.cc |
| 97 graph_utils.cc | 97 graph_utils.cc |
| 98 gzip.cc | 98 gzip.cc |
| 99 libcurl_http_fetcher.cc | 99 libcurl_http_fetcher.cc |
| 100 omaha_hash_calculator.cc | 100 omaha_hash_calculator.cc |
| 101 omaha_request_prep_action.cc | 101 omaha_request_prep_action.cc |
| 102 omaha_response_handler_action.cc | 102 omaha_response_handler_action.cc |
| 103 postinstall_runner_action.cc | 103 postinstall_runner_action.cc |
| 104 set_bootable_flag_action.cc | 104 set_bootable_flag_action.cc |
| 105 subprocess.cc | 105 subprocess.cc |
| 106 tarjan.cc |
| 106 update_check_action.cc | 107 update_check_action.cc |
| 107 update_metadata.pb.cc | 108 update_metadata.pb.cc |
| 108 utils.cc""") | 109 utils.cc""") |
| 109 main = ['main.cc'] | 110 main = ['main.cc'] |
| 110 | 111 |
| 111 unittest_sources = Split("""action_unittest.cc | 112 unittest_sources = Split("""action_unittest.cc |
| 112 action_pipe_unittest.cc | 113 action_pipe_unittest.cc |
| 113 action_processor_unittest.cc | 114 action_processor_unittest.cc |
| 114 bzip_extent_writer_unittest.cc | 115 bzip_extent_writer_unittest.cc |
| 115 decompressing_file_writer_unittest.cc | 116 decompressing_file_writer_unittest.cc |
| 116 delta_diff_generator_unittest.cc | 117 delta_diff_generator_unittest.cc |
| 117 download_action_unittest.cc | 118 download_action_unittest.cc |
| 118 extent_mapper_unittest.cc | 119 extent_mapper_unittest.cc |
| 119 extent_writer_unittest.cc | 120 extent_writer_unittest.cc |
| 120 file_writer_unittest.cc | 121 file_writer_unittest.cc |
| 121 filesystem_copier_action_unittest.cc | 122 filesystem_copier_action_unittest.cc |
| 122 filesystem_iterator_unittest.cc | 123 filesystem_iterator_unittest.cc |
| 123 graph_utils_unittest.cc | 124 graph_utils_unittest.cc |
| 124 gzip_unittest.cc | 125 gzip_unittest.cc |
| 125 http_fetcher_unittest.cc | 126 http_fetcher_unittest.cc |
| 126 mock_http_fetcher.cc | 127 mock_http_fetcher.cc |
| 127 omaha_hash_calculator_unittest.cc | 128 omaha_hash_calculator_unittest.cc |
| 128 omaha_request_prep_action_unittest.cc | 129 omaha_request_prep_action_unittest.cc |
| 129 omaha_response_handler_action_unittest.cc | 130 omaha_response_handler_action_unittest.cc |
| 130 postinstall_runner_action_unittest.cc | 131 postinstall_runner_action_unittest.cc |
| 131 set_bootable_flag_action_unittest.cc | 132 set_bootable_flag_action_unittest.cc |
| 132 subprocess_unittest.cc | 133 subprocess_unittest.cc |
| 134 tarjan_unittest.cc |
| 133 test_utils.cc | 135 test_utils.cc |
| 134 update_check_action_unittest.cc | 136 update_check_action_unittest.cc |
| 135 utils_unittest.cc""") | 137 utils_unittest.cc""") |
| 136 unittest_main = ['testrunner.cc'] | 138 unittest_main = ['testrunner.cc'] |
| 137 | 139 |
| 138 delta_generator_sources = Split("""delta_diff_generator.cc""") | 140 delta_generator_sources = Split("""delta_diff_generator.cc""") |
| 139 delta_generator_main = ['generate_delta_main.cc'] | 141 delta_generator_main = ['generate_delta_main.cc'] |
| 140 | 142 |
| 141 test_installer_main = ['test_installer_main.cc'] | 143 test_installer_main = ['test_installer_main.cc'] |
| 142 | 144 |
| 143 env.Program('update_engine', sources + main) | 145 env.Program('update_engine', sources + main) |
| 144 unittest_cmd = env.Program('update_engine_unittests', | 146 unittest_cmd = env.Program('update_engine_unittests', |
| 145 sources + delta_generator_sources + | 147 sources + delta_generator_sources + |
| 146 unittest_sources + unittest_main) | 148 unittest_sources + unittest_main) |
| 147 | 149 |
| 148 test_installer_cmd = env.Program('test_installer', | 150 test_installer_cmd = env.Program('test_installer', |
| 149 sources + delta_generator_sources + | 151 sources + delta_generator_sources + |
| 150 unittest_sources + test_installer_main) | 152 unittest_sources + test_installer_main) |
| 151 | 153 |
| 152 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 154 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
| 153 Split('html app.info')) | 155 Split('html app.info')) |
| 154 | 156 |
| 155 delta_generator_cmd = env.Program('delta_generator', | 157 delta_generator_cmd = env.Program('delta_generator', |
| 156 sources + delta_generator_sources + | 158 sources + delta_generator_sources + |
| 157 delta_generator_main) | 159 delta_generator_main) |
| 158 | 160 |
| 159 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 161 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
| OLD | NEW |