2 # Copyright 2010 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
16 'transport_common.cc',
20 if env.Bit('windows'):
22 'win/debug_stub_win.cc',
23 'win/platform_impl.cc',
28 'posix/debug_stub_posix.cc',
29 'posix/platform_impl.cc',
30 'posix/thread_impl.cc',
42 env.DualLibrary('debug_stub', debug_sources)
44 gdb_rsp_test_exe = env.ComponentProgram(
45 'gdb_rsp_unittest', rsp_test_sources, EXTRA_LIBS=['debug_stub'])
47 node = env.CommandTest('gdb_rsp_unittest.out', command=[gdb_rsp_test_exe])
48 env.AddNodeToTestSuite(node, ['small_tests'], 'run_gdb_rsp_tests')