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

Side by Side Diff: SConstruct

Issue 3259011: AU: Start an UpdateAttempter unit test suite. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Created 10 years, 3 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 | action_mock.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) 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 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 payload_signer_unittest.cc 252 payload_signer_unittest.cc
253 postinstall_runner_action_unittest.cc 253 postinstall_runner_action_unittest.cc
254 prefs_unittest.cc 254 prefs_unittest.cc
255 set_bootable_flag_action_unittest.cc 255 set_bootable_flag_action_unittest.cc
256 simple_key_value_store_unittest.cc 256 simple_key_value_store_unittest.cc
257 split_file_writer_unittest.cc 257 split_file_writer_unittest.cc
258 subprocess_unittest.cc 258 subprocess_unittest.cc
259 tarjan_unittest.cc 259 tarjan_unittest.cc
260 test_utils.cc 260 test_utils.cc
261 topological_sort_unittest.cc 261 topological_sort_unittest.cc
262 update_attempter_unittest.cc
262 update_check_scheduler_unittest.cc 263 update_check_scheduler_unittest.cc
263 utils_unittest.cc 264 utils_unittest.cc
264 zip_unittest.cc""") 265 zip_unittest.cc""")
265 unittest_main = ['testrunner.cc'] 266 unittest_main = ['testrunner.cc']
266 267
267 client_main = ['update_engine_client.cc'] 268 client_main = ['update_engine_client.cc']
268 269
269 delta_generator_main = ['generate_delta_main.cc'] 270 delta_generator_main = ['generate_delta_main.cc']
270 271
271 # Hack to generate header files first. They are generated as a side effect 272 # Hack to generate header files first. They are generated as a side effect
(...skipping 24 matching lines...) Expand all
296 delta_generator_main) 297 delta_generator_main)
297 298
298 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') 299 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc')
299 300
300 unittest_env = env.Clone() 301 unittest_env = env.Clone()
301 unittest_env.Append(LIBS=['gmock', 'gtest']) 302 unittest_env.Append(LIBS=['gmock', 'gtest'])
302 unittest_cmd = unittest_env.Program('update_engine_unittests', 303 unittest_cmd = unittest_env.Program('update_engine_unittests',
303 unittest_sources + unittest_main) 304 unittest_sources + unittest_main)
304 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + 305 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') +
305 Split('html app.info')) 306 Split('html app.info'))
OLDNEW
« no previous file with comments | « no previous file | action_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698