| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 sources = Split("""action_processor.cc | 87 sources = Split("""action_processor.cc |
| 88 bzip_extent_writer.cc | 88 bzip_extent_writer.cc |
| 89 decompressing_file_writer.cc | 89 decompressing_file_writer.cc |
| 90 delta_diff_parser.cc | 90 delta_diff_parser.cc |
| 91 download_action.cc | 91 download_action.cc |
| 92 extent_writer.cc | 92 extent_writer.cc |
| 93 filesystem_copier_action.cc | 93 filesystem_copier_action.cc |
| 94 filesystem_iterator.cc | 94 filesystem_iterator.cc |
| 95 file_writer.cc | 95 file_writer.cc |
| 96 graph_utils.cc |
| 96 gzip.cc | 97 gzip.cc |
| 97 libcurl_http_fetcher.cc | 98 libcurl_http_fetcher.cc |
| 98 omaha_hash_calculator.cc | 99 omaha_hash_calculator.cc |
| 99 omaha_request_prep_action.cc | 100 omaha_request_prep_action.cc |
| 100 omaha_response_handler_action.cc | 101 omaha_response_handler_action.cc |
| 101 postinstall_runner_action.cc | 102 postinstall_runner_action.cc |
| 102 set_bootable_flag_action.cc | 103 set_bootable_flag_action.cc |
| 103 subprocess.cc | 104 subprocess.cc |
| 104 update_check_action.cc | 105 update_check_action.cc |
| 105 update_metadata.pb.cc | 106 update_metadata.pb.cc |
| 106 utils.cc""") | 107 utils.cc""") |
| 107 main = ['main.cc'] | 108 main = ['main.cc'] |
| 108 | 109 |
| 109 unittest_sources = Split("""action_unittest.cc | 110 unittest_sources = Split("""action_unittest.cc |
| 110 action_pipe_unittest.cc | 111 action_pipe_unittest.cc |
| 111 action_processor_unittest.cc | 112 action_processor_unittest.cc |
| 112 bzip_extent_writer_unittest.cc | 113 bzip_extent_writer_unittest.cc |
| 113 decompressing_file_writer_unittest.cc | 114 decompressing_file_writer_unittest.cc |
| 114 delta_diff_generator_unittest.cc | 115 delta_diff_generator_unittest.cc |
| 115 download_action_unittest.cc | 116 download_action_unittest.cc |
| 116 extent_writer_unittest.cc | 117 extent_writer_unittest.cc |
| 117 file_writer_unittest.cc | 118 file_writer_unittest.cc |
| 118 filesystem_copier_action_unittest.cc | 119 filesystem_copier_action_unittest.cc |
| 119 filesystem_iterator_unittest.cc | 120 filesystem_iterator_unittest.cc |
| 121 graph_utils_unittest.cc |
| 120 gzip_unittest.cc | 122 gzip_unittest.cc |
| 121 http_fetcher_unittest.cc | 123 http_fetcher_unittest.cc |
| 122 mock_http_fetcher.cc | 124 mock_http_fetcher.cc |
| 123 omaha_hash_calculator_unittest.cc | 125 omaha_hash_calculator_unittest.cc |
| 124 omaha_request_prep_action_unittest.cc | 126 omaha_request_prep_action_unittest.cc |
| 125 omaha_response_handler_action_unittest.cc | 127 omaha_response_handler_action_unittest.cc |
| 126 postinstall_runner_action_unittest.cc | 128 postinstall_runner_action_unittest.cc |
| 127 set_bootable_flag_action_unittest.cc | 129 set_bootable_flag_action_unittest.cc |
| 128 subprocess_unittest.cc | 130 subprocess_unittest.cc |
| 129 test_utils.cc | 131 test_utils.cc |
| (...skipping 16 matching lines...) Expand all Loading... |
| 146 unittest_sources + test_installer_main) | 148 unittest_sources + test_installer_main) |
| 147 | 149 |
| 148 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 150 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
| 149 Split('html app.info')) | 151 Split('html app.info')) |
| 150 | 152 |
| 151 delta_generator_cmd = env.Program('delta_generator', | 153 delta_generator_cmd = env.Program('delta_generator', |
| 152 sources + delta_generator_sources + | 154 sources + delta_generator_sources + |
| 153 delta_generator_main) | 155 delta_generator_main) |
| 154 | 156 |
| 155 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 157 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
| OLD | NEW |