Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: SConstruct

Issue 5835004: AU: MultiHttpFetcher cleanup/rewrite (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: fixes for review/merge latest trunk Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | http_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 env.ParseConfig('pkg-config --cflags --libs ' 223 env.ParseConfig('pkg-config --cflags --libs '
224 'dbus-1 dbus-glib-1 gio-2.0 gio-unix-2.0 glib-2.0') 224 'dbus-1 dbus-glib-1 gio-2.0 gio-unix-2.0 glib-2.0')
225 env.ProtocolBuffer('update_metadata.pb.cc', 'update_metadata.proto') 225 env.ProtocolBuffer('update_metadata.pb.cc', 'update_metadata.proto')
226 env.PublicKey('unittest_key.pub.pem', 'unittest_key.pem') 226 env.PublicKey('unittest_key.pub.pem', 'unittest_key.pem')
227 227
228 env.DbusBindings('update_engine.dbusclient.h', 'update_engine.xml') 228 env.DbusBindings('update_engine.dbusclient.h', 'update_engine.xml')
229 229
230 env.GlibMarshal('marshal.glibmarshal.c', 'marshal.list') 230 env.GlibMarshal('marshal.glibmarshal.c', 'marshal.list')
231 231
232 if ARGUMENTS.get('debug', 0): 232 if ARGUMENTS.get('debug', 0):
233 env['CCFLAGS'] += ' -fprofile-arcs -ftest-coverage' 233 env['CCFLAGS'] += ['-fprofile-arcs', '-ftest-coverage']
234 env['LIBS'] += ['bz2', 'gcov'] 234 env['LIBS'] += ['bz2', 'gcov']
235 235
236 sources = Split("""action_processor.cc 236 sources = Split("""action_processor.cc
237 buffered_file_writer.cc 237 buffered_file_writer.cc
238 bzip.cc 238 bzip.cc
239 bzip_extent_writer.cc 239 bzip_extent_writer.cc
240 chrome_proxy_resolver.cc 240 chrome_proxy_resolver.cc
241 cycle_breaker.cc 241 cycle_breaker.cc
242 dbus_service.cc 242 dbus_service.cc
243 decompressing_file_writer.cc 243 decompressing_file_writer.cc
244 delta_diff_generator.cc 244 delta_diff_generator.cc
245 delta_performer.cc 245 delta_performer.cc
246 download_action.cc 246 download_action.cc
247 extent_mapper.cc 247 extent_mapper.cc
248 extent_ranges.cc 248 extent_ranges.cc
249 extent_writer.cc 249 extent_writer.cc
250 filesystem_copier_action.cc 250 filesystem_copier_action.cc
251 filesystem_iterator.cc 251 filesystem_iterator.cc
252 file_writer.cc 252 file_writer.cc
253 flimflam_proxy.cc 253 flimflam_proxy.cc
254 full_update_generator.cc 254 full_update_generator.cc
255 graph_utils.cc 255 graph_utils.cc
256 gzip.cc 256 gzip.cc
257 http_fetcher.cc 257 http_fetcher.cc
258 libcurl_http_fetcher.cc 258 libcurl_http_fetcher.cc
259 marshal.glibmarshal.c 259 marshal.glibmarshal.c
260 metadata.cc 260 metadata.cc
261 multi_range_http_fetcher.cc
261 omaha_hash_calculator.cc 262 omaha_hash_calculator.cc
262 omaha_request_action.cc 263 omaha_request_action.cc
263 omaha_request_params.cc 264 omaha_request_params.cc
264 omaha_response_handler_action.cc 265 omaha_response_handler_action.cc
265 payload_signer.cc 266 payload_signer.cc
266 postinstall_runner_action.cc 267 postinstall_runner_action.cc
267 prefs.cc 268 prefs.cc
268 proxy_resolver.cc 269 proxy_resolver.cc
269 simple_key_value_store.cc 270 simple_key_value_store.cc
270 split_file_writer.cc 271 split_file_writer.cc
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 delta_generator_cmd = env.Program('delta_generator', 355 delta_generator_cmd = env.Program('delta_generator',
355 delta_generator_main) 356 delta_generator_main)
356 357
357 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') 358 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc')
358 359
359 unittest_env = env.Clone() 360 unittest_env = env.Clone()
360 unittest_env.Append(LIBS=['gmock', 'gtest']) 361 unittest_env.Append(LIBS=['gmock', 'gtest'])
361 unittest_cmd = unittest_env.Program('update_engine_unittests', 362 unittest_cmd = unittest_env.Program('update_engine_unittests',
362 unittest_sources + unittest_main) 363 unittest_sources + unittest_main)
363 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + 364 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') +
364 Split('html app.info')) 365 Split('html app.info'))
OLDNEW
« no previous file with comments | « no previous file | http_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698