OLD | NEW |
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 -I/usr/include/libxml2""".split()); | 155 -I/usr/include/libxml2""".split()); |
156 env['CCFLAGS'] += (' ' + ' '.join(env['CFLAGS'])) | 156 env['CCFLAGS'] += (' ' + ' '.join(env['CFLAGS'])) |
157 | 157 |
158 env['LIBS'] = Split("""base | 158 env['LIBS'] = Split("""base |
159 bz2 | 159 bz2 |
160 curl | 160 curl |
161 gflags | 161 gflags |
162 glib-2.0 | 162 glib-2.0 |
163 gthread-2.0 | 163 gthread-2.0 |
164 libpcrecpp | 164 libpcrecpp |
| 165 metrics |
165 protobuf | 166 protobuf |
166 pthread | 167 pthread |
167 ssl | 168 ssl |
168 xml2 | 169 xml2 |
169 z""") | 170 z""") |
170 env['CPPPATH'] = ['..', '../../third_party/chrome/files', '../../common'] | 171 env['CPPPATH'] = ['..', '../../third_party/chrome/files', '../../common'] |
171 env['LIBPATH'] = ['../../third_party/chrome'] | 172 env['LIBPATH'] = ['../../third_party/chrome'] |
172 env['BUILDERS']['ProtocolBuffer'] = proto_builder | 173 env['BUILDERS']['ProtocolBuffer'] = proto_builder |
173 env['BUILDERS']['DbusBindings'] = dbus_bindings_builder | 174 env['BUILDERS']['DbusBindings'] = dbus_bindings_builder |
174 env['BUILDERS']['GlibMarshal'] = glib_marshal_builder | 175 env['BUILDERS']['GlibMarshal'] = glib_marshal_builder |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 delta_generator_main) | 290 delta_generator_main) |
290 | 291 |
291 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 292 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
292 | 293 |
293 unittest_env = env.Clone() | 294 unittest_env = env.Clone() |
294 unittest_env.Append(LIBS=['gtest']) | 295 unittest_env.Append(LIBS=['gtest']) |
295 unittest_cmd = unittest_env.Program('update_engine_unittests', | 296 unittest_cmd = unittest_env.Program('update_engine_unittests', |
296 unittest_sources + unittest_main) | 297 unittest_sources + unittest_main) |
297 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 298 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
298 Split('html app.info')) | 299 Split('html app.info')) |
OLD | NEW |