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 # Protobuffer compilation | 5 # Protobuffer compilation |
6 """ Inputs: | 6 """ Inputs: |
7 target: list of targets to compile to | 7 target: list of targets to compile to |
8 source: list of sources to compile | 8 source: list of sources to compile |
9 env: the scons environment in which we are compiling | 9 env: the scons environment in which we are compiling |
10 Outputs: | 10 Outputs: |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 omaha_response_handler_action_unittest.cc | 116 omaha_response_handler_action_unittest.cc |
117 postinstall_runner_action_unittest.cc | 117 postinstall_runner_action_unittest.cc |
118 set_bootable_flag_action_unittest.cc | 118 set_bootable_flag_action_unittest.cc |
119 subprocess_unittest.cc | 119 subprocess_unittest.cc |
120 test_utils.cc | 120 test_utils.cc |
121 update_check_action_unittest.cc | 121 update_check_action_unittest.cc |
122 utils_unittest.cc""") | 122 utils_unittest.cc""") |
123 unittest_main = ['testrunner.cc'] | 123 unittest_main = ['testrunner.cc'] |
124 | 124 |
125 delta_generator_sources = Split("""delta_diff_generator.cc""") | 125 delta_generator_sources = Split("""delta_diff_generator.cc""") |
| 126 delta_generator_main = ['generate_delta_main.cc'] |
| 127 |
| 128 test_installer_main = ['test_installer_main.cc'] |
126 | 129 |
127 env.Program('update_engine', sources + main) | 130 env.Program('update_engine', sources + main) |
128 unittest_cmd = env.Program('update_engine_unittests', | 131 unittest_cmd = env.Program('update_engine_unittests', |
129 sources + delta_generator_sources + | 132 sources + delta_generator_sources + |
130 unittest_sources + unittest_main) | 133 unittest_sources + unittest_main) |
131 | 134 |
| 135 test_installer_cmd = env.Program('test_installer', |
| 136 sources + delta_generator_sources + |
| 137 unittest_sources + test_installer_main) |
| 138 |
132 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 139 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
133 Split('html app.info')) | 140 Split('html app.info')) |
134 | 141 |
135 delta_generator_cmd = env.Program('delta_generator', | 142 delta_generator_cmd = env.Program('delta_generator', |
136 sources + delta_generator_sources + main) | 143 sources + delta_generator_sources + |
| 144 delta_generator_main) |
137 | 145 |
138 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 146 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
OLD | NEW |