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