OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 -Wuninitialized | 190 -Wuninitialized |
191 -D__STDC_FORMAT_MACROS=1 | 191 -D__STDC_FORMAT_MACROS=1 |
192 -D_FILE_OFFSET_BITS=64 | 192 -D_FILE_OFFSET_BITS=64 |
193 -I/usr/include/libxml2""".split()); | 193 -I/usr/include/libxml2""".split()); |
194 env['CCFLAGS'] += (' ' + ' '.join(env['CFLAGS'])) | 194 env['CCFLAGS'] += (' ' + ' '.join(env['CFLAGS'])) |
195 | 195 |
196 env['LIBS'] = Split("""base | 196 env['LIBS'] = Split("""base |
197 bz2 | 197 bz2 |
198 crypto | 198 crypto |
199 curl | 199 curl |
| 200 ext2fs |
200 gflags | 201 gflags |
201 glib-2.0 | 202 glib-2.0 |
202 gthread-2.0 | 203 gthread-2.0 |
203 libpcrecpp | 204 libpcrecpp |
204 metrics | 205 metrics |
205 protobuf | 206 protobuf |
206 pthread | 207 pthread |
207 rootdev | 208 rootdev |
208 ssl | 209 ssl |
209 xml2 | 210 xml2 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 filesystem_copier_action.cc | 250 filesystem_copier_action.cc |
250 filesystem_iterator.cc | 251 filesystem_iterator.cc |
251 file_writer.cc | 252 file_writer.cc |
252 flimflam_proxy.cc | 253 flimflam_proxy.cc |
253 full_update_generator.cc | 254 full_update_generator.cc |
254 graph_utils.cc | 255 graph_utils.cc |
255 gzip.cc | 256 gzip.cc |
256 http_fetcher.cc | 257 http_fetcher.cc |
257 libcurl_http_fetcher.cc | 258 libcurl_http_fetcher.cc |
258 marshal.glibmarshal.c | 259 marshal.glibmarshal.c |
| 260 metadata.cc |
259 omaha_hash_calculator.cc | 261 omaha_hash_calculator.cc |
260 omaha_request_action.cc | 262 omaha_request_action.cc |
261 omaha_request_params.cc | 263 omaha_request_params.cc |
262 omaha_response_handler_action.cc | 264 omaha_response_handler_action.cc |
263 payload_signer.cc | 265 payload_signer.cc |
264 postinstall_runner_action.cc | 266 postinstall_runner_action.cc |
265 prefs.cc | 267 prefs.cc |
266 proxy_resolver.cc | 268 proxy_resolver.cc |
267 simple_key_value_store.cc | 269 simple_key_value_store.cc |
268 split_file_writer.cc | 270 split_file_writer.cc |
(...skipping 21 matching lines...) Expand all Loading... |
290 extent_mapper_unittest.cc | 292 extent_mapper_unittest.cc |
291 extent_ranges_unittest.cc | 293 extent_ranges_unittest.cc |
292 extent_writer_unittest.cc | 294 extent_writer_unittest.cc |
293 file_writer_unittest.cc | 295 file_writer_unittest.cc |
294 filesystem_copier_action_unittest.cc | 296 filesystem_copier_action_unittest.cc |
295 filesystem_iterator_unittest.cc | 297 filesystem_iterator_unittest.cc |
296 flimflam_proxy_unittest.cc | 298 flimflam_proxy_unittest.cc |
297 full_update_generator_unittest.cc | 299 full_update_generator_unittest.cc |
298 graph_utils_unittest.cc | 300 graph_utils_unittest.cc |
299 http_fetcher_unittest.cc | 301 http_fetcher_unittest.cc |
| 302 metadata_unittest.cc |
300 mock_http_fetcher.cc | 303 mock_http_fetcher.cc |
301 omaha_hash_calculator_unittest.cc | 304 omaha_hash_calculator_unittest.cc |
302 omaha_request_action_unittest.cc | 305 omaha_request_action_unittest.cc |
303 omaha_request_params_unittest.cc | 306 omaha_request_params_unittest.cc |
304 omaha_response_handler_action_unittest.cc | 307 omaha_response_handler_action_unittest.cc |
305 payload_signer_unittest.cc | 308 payload_signer_unittest.cc |
306 postinstall_runner_action_unittest.cc | 309 postinstall_runner_action_unittest.cc |
307 prefs_unittest.cc | 310 prefs_unittest.cc |
308 simple_key_value_store_unittest.cc | 311 simple_key_value_store_unittest.cc |
309 split_file_writer_unittest.cc | 312 split_file_writer_unittest.cc |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 delta_generator_cmd = env.Program('delta_generator', | 354 delta_generator_cmd = env.Program('delta_generator', |
352 delta_generator_main) | 355 delta_generator_main) |
353 | 356 |
354 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 357 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
355 | 358 |
356 unittest_env = env.Clone() | 359 unittest_env = env.Clone() |
357 unittest_env.Append(LIBS=['gmock', 'gtest']) | 360 unittest_env.Append(LIBS=['gmock', 'gtest']) |
358 unittest_cmd = unittest_env.Program('update_engine_unittests', | 361 unittest_cmd = unittest_env.Program('update_engine_unittests', |
359 unittest_sources + unittest_main) | 362 unittest_sources + unittest_main) |
360 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 363 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
361 Split('html app.info')) | 364 Split('html app.info')) |
OLD | NEW |