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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 filesystem_iterator.cc | 163 filesystem_iterator.cc |
164 file_writer.cc | 164 file_writer.cc |
165 graph_utils.cc | 165 graph_utils.cc |
166 gzip.cc | 166 gzip.cc |
167 libcurl_http_fetcher.cc | 167 libcurl_http_fetcher.cc |
168 omaha_hash_calculator.cc | 168 omaha_hash_calculator.cc |
169 omaha_request_prep_action.cc | 169 omaha_request_prep_action.cc |
170 omaha_response_handler_action.cc | 170 omaha_response_handler_action.cc |
171 postinstall_runner_action.cc | 171 postinstall_runner_action.cc |
172 set_bootable_flag_action.cc | 172 set_bootable_flag_action.cc |
| 173 split_file_writer.cc |
173 subprocess.cc | 174 subprocess.cc |
174 tarjan.cc | 175 tarjan.cc |
175 topological_sort.cc | 176 topological_sort.cc |
176 update_attempter.cc | 177 update_attempter.cc |
177 update_check_action.cc | 178 update_check_action.cc |
178 update_metadata.pb.cc | 179 update_metadata.pb.cc |
179 utils.cc""") | 180 utils.cc""") |
180 main = ['main.cc'] | 181 main = ['main.cc'] |
181 | 182 |
182 unittest_sources = Split("""action_unittest.cc | 183 unittest_sources = Split("""action_unittest.cc |
(...skipping 11 matching lines...) Expand all Loading... |
194 filesystem_copier_action_unittest.cc | 195 filesystem_copier_action_unittest.cc |
195 filesystem_iterator_unittest.cc | 196 filesystem_iterator_unittest.cc |
196 graph_utils_unittest.cc | 197 graph_utils_unittest.cc |
197 http_fetcher_unittest.cc | 198 http_fetcher_unittest.cc |
198 mock_http_fetcher.cc | 199 mock_http_fetcher.cc |
199 omaha_hash_calculator_unittest.cc | 200 omaha_hash_calculator_unittest.cc |
200 omaha_request_prep_action_unittest.cc | 201 omaha_request_prep_action_unittest.cc |
201 omaha_response_handler_action_unittest.cc | 202 omaha_response_handler_action_unittest.cc |
202 postinstall_runner_action_unittest.cc | 203 postinstall_runner_action_unittest.cc |
203 set_bootable_flag_action_unittest.cc | 204 set_bootable_flag_action_unittest.cc |
| 205 split_file_writer_unittest.cc |
204 subprocess_unittest.cc | 206 subprocess_unittest.cc |
205 tarjan_unittest.cc | 207 tarjan_unittest.cc |
206 test_utils.cc | 208 test_utils.cc |
207 topological_sort_unittest.cc | 209 topological_sort_unittest.cc |
208 update_check_action_unittest.cc | 210 update_check_action_unittest.cc |
209 utils_unittest.cc | 211 utils_unittest.cc |
210 zip_unittest.cc""") | 212 zip_unittest.cc""") |
211 unittest_main = ['testrunner.cc'] | 213 unittest_main = ['testrunner.cc'] |
212 | 214 |
213 client_main = ['update_engine_client.cc'] | 215 client_main = ['update_engine_client.cc'] |
214 | 216 |
215 delta_generator_main = ['generate_delta_main.cc'] | 217 delta_generator_main = ['generate_delta_main.cc'] |
216 | 218 |
217 env.Program('update_engine', sources + main) | 219 env.Program('update_engine', sources + main) |
218 unittest_cmd = env.Program('update_engine_unittests', | 220 unittest_cmd = env.Program('update_engine_unittests', |
219 sources + unittest_sources + unittest_main) | 221 sources + unittest_sources + unittest_main) |
220 | 222 |
221 client_cmd = env.Program('update_engine_client', sources + client_main); | 223 client_cmd = env.Program('update_engine_client', sources + client_main); |
222 | 224 |
223 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 225 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
224 Split('html app.info')) | 226 Split('html app.info')) |
225 | 227 |
226 delta_generator_cmd = env.Program('delta_generator', | 228 delta_generator_cmd = env.Program('delta_generator', |
227 sources + delta_generator_main) | 229 sources + delta_generator_main) |
228 | 230 |
229 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 231 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
OLD | NEW |