| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2011 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 import sys | 6 import sys |
| 7 | 7 |
| 8 # Borrowed from updater | 8 # Borrowed from updater |
| 9 # Protobuffer compilation | 9 # Protobuffer compilation |
| 10 def ProtocolBufferEmitter(target, source, env): | 10 def ProtocolBufferEmitter(target, source, env): |
| 11 """ Inputs: | 11 """ Inputs: |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 env_client = env.Clone() | 162 env_client = env.Clone() |
| 163 env_client.Append(LIBS=['cryptohome']) | 163 env_client.Append(LIBS=['cryptohome']) |
| 164 env_client.DbusClientBindings('bindings/client.h', 'cryptohome.xml') | 164 env_client.DbusClientBindings('bindings/client.h', 'cryptohome.xml') |
| 165 env_client.Program('cryptohome', client_sources) | 165 env_client.Program('cryptohome', client_sources) |
| 166 | 166 |
| 167 # TODO(wad) we'll probably want a separate runner for client roundtrip tests | 167 # TODO(wad) we'll probably want a separate runner for client roundtrip tests |
| 168 env_tests = env.Clone() | 168 env_tests = env.Clone() |
| 169 env_tests.Append(LIBS=['gtest', 'gmock']) | 169 env_tests.Append(LIBS=['gtest', 'gmock']) |
| 170 # If the lib is linked, it will use the system search path. | 170 # If the lib is linked, it will use the system search path. |
| 171 env_tests.Program('cryptohome_testrunner', test_sources + commonlib_sources) | 171 env_tests.Program('cryptohome_testrunner', test_sources + commonlib_sources) |
| OLD | NEW |