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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 env.Program('update_engine', main) | 287 env.Program('update_engine', main) |
288 | 288 |
289 client_cmd = env.Program('update_engine_client', client_main); | 289 client_cmd = env.Program('update_engine_client', client_main); |
290 | 290 |
291 delta_generator_cmd = env.Program('delta_generator', | 291 delta_generator_cmd = env.Program('delta_generator', |
292 delta_generator_main) | 292 delta_generator_main) |
293 | 293 |
294 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') | 294 http_server_cmd = env.Program('test_http_server', 'test_http_server.cc') |
295 | 295 |
296 unittest_env = env.Clone() | 296 unittest_env = env.Clone() |
297 unittest_env.Append(LIBS=['gtest']) | 297 unittest_env.Append(LIBS=['gmock', 'gtest']) |
298 unittest_cmd = unittest_env.Program('update_engine_unittests', | 298 unittest_cmd = unittest_env.Program('update_engine_unittests', |
299 unittest_sources + unittest_main) | 299 unittest_sources + unittest_main) |
300 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + | 300 Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
301 Split('html app.info')) | 301 Split('html app.info')) |
OLD | NEW |