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 147 matching lines...) Loading... |
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 metrics |
166 protobuf | 166 protobuf |
167 pthread | 167 pthread |
| 168 rootdev |
168 ssl | 169 ssl |
169 xml2 | 170 xml2 |
170 z""") | 171 z""") |
171 env['CPPPATH'] = ['..'] | 172 env['CPPPATH'] = ['..'] |
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 |
175 | 176 |
176 # Fix issue with scons not passing pkg-config vars through the environment. | 177 # Fix issue with scons not passing pkg-config vars through the environment. |
177 for key in Split('PKG_CONFIG_LIBDIR PKG_CONFIG_PATH'): | 178 for key in Split('PKG_CONFIG_LIBDIR PKG_CONFIG_PATH'): |
(...skipping 115 matching lines...) Loading... |
293 delta_generator_main) | 294 delta_generator_main) |
294 | 295 |
295 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 296 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
296 | 297 |
297 unittest_env = env.Clone() | 298 unittest_env = env.Clone() |
298 unittest_env.Append(LIBS=['gmock', 'gtest']) | 299 unittest_env.Append(LIBS=['gmock', 'gtest']) |
299 unittest_cmd = unittest_env.Program('update_engine_unittests', | 300 unittest_cmd = unittest_env.Program('update_engine_unittests', |
300 unittest_sources + unittest_main) | 301 unittest_sources + unittest_main) |
301 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 302 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
302 Split('html app.info')) | 303 Split('html app.info')) |
OLD | NEW |