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 177 matching lines...) Loading... |
188 -Wtype-limits | 188 -Wtype-limits |
189 -Wtype-limits | 189 -Wtype-limits |
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 cros_boot_mode | |
199 crypto | 198 crypto |
200 curl | 199 curl |
201 ext2fs | 200 ext2fs |
202 gflags | 201 gflags |
203 glib-2.0 | 202 glib-2.0 |
204 gthread-2.0 | 203 gthread-2.0 |
205 libpcrecpp | 204 libpcrecpp |
206 metrics | 205 metrics |
207 protobuf | 206 protobuf |
208 pthread | 207 pthread |
(...skipping 150 matching lines...) Loading... |
359 delta_generator_main) | 358 delta_generator_main) |
360 | 359 |
361 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 360 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
362 | 361 |
363 unittest_env = env.Clone() | 362 unittest_env = env.Clone() |
364 unittest_env.Append(LIBS=['gmock', 'gtest']) | 363 unittest_env.Append(LIBS=['gmock', 'gtest']) |
365 unittest_cmd = unittest_env.Program('update_engine_unittests', | 364 unittest_cmd = unittest_env.Program('update_engine_unittests', |
366 unittest_sources + unittest_main) | 365 unittest_sources + unittest_main) |
367 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 366 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
368 Split('html app.info')) | 367 Split('html app.info')) |
OLD | NEW |