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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 extent_mapper.cc | 202 extent_mapper.cc |
203 extent_writer.cc | 203 extent_writer.cc |
204 filesystem_copier_action.cc | 204 filesystem_copier_action.cc |
205 filesystem_iterator.cc | 205 filesystem_iterator.cc |
206 file_writer.cc | 206 file_writer.cc |
207 graph_utils.cc | 207 graph_utils.cc |
208 gzip.cc | 208 gzip.cc |
209 libcurl_http_fetcher.cc | 209 libcurl_http_fetcher.cc |
210 marshal.glibmarshal.c | 210 marshal.glibmarshal.c |
211 omaha_hash_calculator.cc | 211 omaha_hash_calculator.cc |
| 212 omaha_request_action.cc |
212 omaha_request_prep_action.cc | 213 omaha_request_prep_action.cc |
213 omaha_response_handler_action.cc | 214 omaha_response_handler_action.cc |
214 postinstall_runner_action.cc | 215 postinstall_runner_action.cc |
215 set_bootable_flag_action.cc | 216 set_bootable_flag_action.cc |
216 simple_key_value_store.cc | 217 simple_key_value_store.cc |
217 split_file_writer.cc | 218 split_file_writer.cc |
218 subprocess.cc | 219 subprocess.cc |
219 tarjan.cc | 220 tarjan.cc |
220 topological_sort.cc | 221 topological_sort.cc |
221 update_attempter.cc | 222 update_attempter.cc |
222 update_check_action.cc | |
223 update_metadata.pb.cc | 223 update_metadata.pb.cc |
224 utils.cc""") | 224 utils.cc""") |
225 main = ['main.cc'] | 225 main = ['main.cc'] |
226 | 226 |
227 unittest_sources = Split("""action_unittest.cc | 227 unittest_sources = Split("""action_unittest.cc |
228 action_pipe_unittest.cc | 228 action_pipe_unittest.cc |
229 action_processor_unittest.cc | 229 action_processor_unittest.cc |
230 bzip_extent_writer_unittest.cc | 230 bzip_extent_writer_unittest.cc |
231 cycle_breaker_unittest.cc | 231 cycle_breaker_unittest.cc |
232 decompressing_file_writer_unittest.cc | 232 decompressing_file_writer_unittest.cc |
233 delta_diff_generator_unittest.cc | 233 delta_diff_generator_unittest.cc |
234 delta_performer_unittest.cc | 234 delta_performer_unittest.cc |
235 download_action_unittest.cc | 235 download_action_unittest.cc |
236 extent_mapper_unittest.cc | 236 extent_mapper_unittest.cc |
237 extent_writer_unittest.cc | 237 extent_writer_unittest.cc |
238 file_writer_unittest.cc | 238 file_writer_unittest.cc |
239 filesystem_copier_action_unittest.cc | 239 filesystem_copier_action_unittest.cc |
240 filesystem_iterator_unittest.cc | 240 filesystem_iterator_unittest.cc |
241 graph_utils_unittest.cc | 241 graph_utils_unittest.cc |
242 http_fetcher_unittest.cc | 242 http_fetcher_unittest.cc |
243 mock_http_fetcher.cc | 243 mock_http_fetcher.cc |
244 omaha_hash_calculator_unittest.cc | 244 omaha_hash_calculator_unittest.cc |
| 245 omaha_request_action_unittest.cc |
245 omaha_request_prep_action_unittest.cc | 246 omaha_request_prep_action_unittest.cc |
246 omaha_response_handler_action_unittest.cc | 247 omaha_response_handler_action_unittest.cc |
247 postinstall_runner_action_unittest.cc | 248 postinstall_runner_action_unittest.cc |
248 set_bootable_flag_action_unittest.cc | 249 set_bootable_flag_action_unittest.cc |
249 simple_key_value_store_unittest.cc | 250 simple_key_value_store_unittest.cc |
250 split_file_writer_unittest.cc | 251 split_file_writer_unittest.cc |
251 subprocess_unittest.cc | 252 subprocess_unittest.cc |
252 tarjan_unittest.cc | 253 tarjan_unittest.cc |
253 test_utils.cc | 254 test_utils.cc |
254 topological_sort_unittest.cc | 255 topological_sort_unittest.cc |
255 update_check_action_unittest.cc | |
256 utils_unittest.cc | 256 utils_unittest.cc |
257 zip_unittest.cc""") | 257 zip_unittest.cc""") |
258 unittest_main = ['testrunner.cc'] | 258 unittest_main = ['testrunner.cc'] |
259 | 259 |
260 client_main = ['update_engine_client.cc'] | 260 client_main = ['update_engine_client.cc'] |
261 | 261 |
262 delta_generator_main = ['generate_delta_main.cc'] | 262 delta_generator_main = ['generate_delta_main.cc'] |
263 | 263 |
264 # Hack to generate header files first. They are generated as a side effect | 264 # Hack to generate header files first. They are generated as a side effect |
265 # of generating other files (usually their corresponding .c(c) files), | 265 # of generating other files (usually their corresponding .c(c) files), |
(...skipping 23 matching lines...) Expand all Loading... |
289 delta_generator_main) | 289 delta_generator_main) |
290 | 290 |
291 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 291 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
292 | 292 |
293 unittest_env = env.Clone() | 293 unittest_env = env.Clone() |
294 unittest_env.Append(LIBS=['gtest']) | 294 unittest_env.Append(LIBS=['gtest']) |
295 unittest_cmd = unittest_env.Program('update_engine_unittests', | 295 unittest_cmd = unittest_env.Program('update_engine_unittests', |
296 unittest_sources + unittest_main) | 296 unittest_sources + unittest_main) |
297 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 297 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
298 Split('html app.info')) | 298 Split('html app.info')) |
OLD | NEW |