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

Side by Side Diff: SConstruct

Issue 6594025: AU: Full proxy support (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: fixes for review Created 9 years, 9 months 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 | UpdateEngine.conf » ('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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 env.GlibMarshal('marshal.glibmarshal.c', 'marshal.list') 231 env.GlibMarshal('marshal.glibmarshal.c', 'marshal.list')
232 232
233 if ARGUMENTS.get('debug', 0): 233 if ARGUMENTS.get('debug', 0):
234 env['CCFLAGS'] += ['-fprofile-arcs', '-ftest-coverage'] 234 env['CCFLAGS'] += ['-fprofile-arcs', '-ftest-coverage']
235 env['LIBS'] += ['bz2', 'gcov'] 235 env['LIBS'] += ['bz2', 'gcov']
236 236
237 sources = Split("""action_processor.cc 237 sources = Split("""action_processor.cc
238 buffered_file_writer.cc 238 buffered_file_writer.cc
239 bzip.cc 239 bzip.cc
240 bzip_extent_writer.cc 240 bzip_extent_writer.cc
241 chrome_browser_proxy_resolver.cc
241 chrome_proxy_resolver.cc 242 chrome_proxy_resolver.cc
242 cycle_breaker.cc 243 cycle_breaker.cc
243 dbus_service.cc 244 dbus_service.cc
244 decompressing_file_writer.cc 245 decompressing_file_writer.cc
245 delta_diff_generator.cc 246 delta_diff_generator.cc
246 delta_performer.cc 247 delta_performer.cc
247 download_action.cc 248 download_action.cc
248 extent_mapper.cc 249 extent_mapper.cc
249 extent_ranges.cc 250 extent_ranges.cc
250 extent_writer.cc 251 extent_writer.cc
(...skipping 27 matching lines...) Expand all
278 update_check_scheduler.cc 279 update_check_scheduler.cc
279 update_metadata.pb.cc 280 update_metadata.pb.cc
280 utils.cc""") 281 utils.cc""")
281 main = ['main.cc'] 282 main = ['main.cc']
282 283
283 unittest_sources = Split("""action_unittest.cc 284 unittest_sources = Split("""action_unittest.cc
284 action_pipe_unittest.cc 285 action_pipe_unittest.cc
285 action_processor_unittest.cc 286 action_processor_unittest.cc
286 buffered_file_writer_unittest.cc 287 buffered_file_writer_unittest.cc
287 bzip_extent_writer_unittest.cc 288 bzip_extent_writer_unittest.cc
289 chrome_browser_proxy_resolver_unittest.cc
288 chrome_proxy_resolver_unittest.cc 290 chrome_proxy_resolver_unittest.cc
289 cycle_breaker_unittest.cc 291 cycle_breaker_unittest.cc
290 decompressing_file_writer_unittest.cc 292 decompressing_file_writer_unittest.cc
291 delta_diff_generator_unittest.cc 293 delta_diff_generator_unittest.cc
292 delta_performer_unittest.cc 294 delta_performer_unittest.cc
293 download_action_unittest.cc 295 download_action_unittest.cc
294 extent_mapper_unittest.cc 296 extent_mapper_unittest.cc
295 extent_ranges_unittest.cc 297 extent_ranges_unittest.cc
296 extent_writer_unittest.cc 298 extent_writer_unittest.cc
297 file_writer_unittest.cc 299 file_writer_unittest.cc
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 delta_generator_main) 359 delta_generator_main)
358 360
359 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') 361 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc')
360 362
361 unittest_env = env.Clone() 363 unittest_env = env.Clone()
362 unittest_env.Append(LIBS=['gmock', 'gtest']) 364 unittest_env.Append(LIBS=['gmock', 'gtest'])
363 unittest_cmd = unittest_env.Program('update_engine_unittests', 365 unittest_cmd = unittest_env.Program('update_engine_unittests',
364 unittest_sources + unittest_main) 366 unittest_sources + unittest_main)
365 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + 367 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') +
366 Split('html app.info')) 368 Split('html app.info'))
OLDNEW
« no previous file with comments | « no previous file | UpdateEngine.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698