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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 crypto | 198 crypto |
199 curl | 199 curl |
200 ext2fs | |
petkov
2010/12/10 00:46:55
is this library pulled into hard-host-depends some
thieule
2010/12/14 23:11:21
Done.
| |
200 gflags | 201 gflags |
201 glib-2.0 | 202 glib-2.0 |
202 gthread-2.0 | 203 gthread-2.0 |
203 libpcrecpp | 204 libpcrecpp |
204 metrics | 205 metrics |
205 protobuf | 206 protobuf |
206 pthread | 207 pthread |
207 rootdev | 208 rootdev |
208 ssl | 209 ssl |
209 xml2 | 210 xml2 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
352 delta_generator_main) | 353 delta_generator_main) |
353 | 354 |
354 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 355 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
355 | 356 |
356 unittest_env = env.Clone() | 357 unittest_env = env.Clone() |
357 unittest_env.Append(LIBS=['gmock', 'gtest']) | 358 unittest_env.Append(LIBS=['gmock', 'gtest']) |
358 unittest_cmd = unittest_env.Program('update_engine_unittests', | 359 unittest_cmd = unittest_env.Program('update_engine_unittests', |
359 unittest_sources + unittest_main) | 360 unittest_sources + unittest_main) |
360 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 361 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
361 Split('html app.info')) | 362 Split('html app.info')) |
OLD | NEW |