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

Side by Side Diff: src/platform/update_engine/SConstruct

Issue 784001: AU: Cycle Breaker for directed graphs. (Closed)
Patch Set: fixes for review Created 10 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
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 """ Inputs: 8 """ Inputs:
9 target: list of targets to compile to 9 target: list of targets to compile to
10 source: list of sources to compile 10 source: list of sources to compile
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 env.ProtocolBuffer('update_metadata.pb.cc', 'update_metadata.proto') 79 env.ProtocolBuffer('update_metadata.pb.cc', 'update_metadata.proto')
80 80
81 if ARGUMENTS.get('debug', 0): 81 if ARGUMENTS.get('debug', 0):
82 env['CCFLAGS'] += ' -fprofile-arcs -ftest-coverage' 82 env['CCFLAGS'] += ' -fprofile-arcs -ftest-coverage'
83 env['LIBS'] += ['bz2', 'gcov'] 83 env['LIBS'] += ['bz2', 'gcov']
84 84
85 85
86 86
87 sources = Split("""action_processor.cc 87 sources = Split("""action_processor.cc
88 bzip_extent_writer.cc 88 bzip_extent_writer.cc
89 cycle_breaker.cc
89 decompressing_file_writer.cc 90 decompressing_file_writer.cc
90 delta_diff_parser.cc 91 delta_diff_parser.cc
91 download_action.cc 92 download_action.cc
92 extent_mapper.cc 93 extent_mapper.cc
93 extent_writer.cc 94 extent_writer.cc
94 filesystem_copier_action.cc 95 filesystem_copier_action.cc
95 filesystem_iterator.cc 96 filesystem_iterator.cc
96 file_writer.cc 97 file_writer.cc
97 graph_utils.cc 98 graph_utils.cc
98 gzip.cc 99 gzip.cc
99 libcurl_http_fetcher.cc 100 libcurl_http_fetcher.cc
100 omaha_hash_calculator.cc 101 omaha_hash_calculator.cc
101 omaha_request_prep_action.cc 102 omaha_request_prep_action.cc
102 omaha_response_handler_action.cc 103 omaha_response_handler_action.cc
103 postinstall_runner_action.cc 104 postinstall_runner_action.cc
104 set_bootable_flag_action.cc 105 set_bootable_flag_action.cc
105 subprocess.cc 106 subprocess.cc
106 tarjan.cc 107 tarjan.cc
107 update_check_action.cc 108 update_check_action.cc
108 update_metadata.pb.cc 109 update_metadata.pb.cc
109 utils.cc""") 110 utils.cc""")
110 main = ['main.cc'] 111 main = ['main.cc']
111 112
112 unittest_sources = Split("""action_unittest.cc 113 unittest_sources = Split("""action_unittest.cc
113 action_pipe_unittest.cc 114 action_pipe_unittest.cc
114 action_processor_unittest.cc 115 action_processor_unittest.cc
115 bzip_extent_writer_unittest.cc 116 bzip_extent_writer_unittest.cc
117 cycle_breaker_unittest.cc
116 decompressing_file_writer_unittest.cc 118 decompressing_file_writer_unittest.cc
117 delta_diff_generator_unittest.cc 119 delta_diff_generator_unittest.cc
118 download_action_unittest.cc 120 download_action_unittest.cc
119 extent_mapper_unittest.cc 121 extent_mapper_unittest.cc
120 extent_writer_unittest.cc 122 extent_writer_unittest.cc
121 file_writer_unittest.cc 123 file_writer_unittest.cc
122 filesystem_copier_action_unittest.cc 124 filesystem_copier_action_unittest.cc
123 filesystem_iterator_unittest.cc 125 filesystem_iterator_unittest.cc
124 graph_utils_unittest.cc 126 graph_utils_unittest.cc
125 gzip_unittest.cc 127 gzip_unittest.cc
(...skipping 26 matching lines...) Expand all
152 unittest_sources + test_installer_main) 154 unittest_sources + test_installer_main)
153 155
154 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + 156 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') +
155 Split('html app.info')) 157 Split('html app.info'))
156 158
157 delta_generator_cmd = env.Program('delta_generator', 159 delta_generator_cmd = env.Program('delta_generator',
158 sources + delta_generator_sources + 160 sources + delta_generator_sources +
159 delta_generator_main) 161 delta_generator_main)
160 162
161 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') 163 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc')
OLDNEW
« no previous file with comments | « no previous file | src/platform/update_engine/cycle_breaker.h » ('j') | src/platform/update_engine/cycle_breaker.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698