| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 | 6 |
| 7 Import('env') | 7 Import('env') |
| 8 | 8 |
| 9 if env.Bit('linux'): |
| 10 env.Append(LIBS=['dl']) |
| 11 |
| 9 nacl_memory_test_exe = env.ComponentProgram( | 12 nacl_memory_test_exe = env.ComponentProgram( |
| 10 'nacl_memory_test', | 13 'nacl_memory_test', |
| 11 'nacl_memory_test.c', | 14 'nacl_memory_test.c', |
| 12 EXTRA_LIBS = [ | 15 EXTRA_LIBS = [ |
| 13 'sel', | 16 'sel', |
| 14 'platform', | 17 'platform', |
| 15 'gio', | 18 'gio', |
| 16 ]) | 19 ]) |
| 17 | 20 |
| 18 node = env.CommandTest( | 21 node = env.CommandTest( |
| 19 'nacl_memory_test.out', | 22 'nacl_memory_test.out', |
| 20 command=[nacl_memory_test_exe]) | 23 command=[nacl_memory_test_exe]) |
| 21 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nacl_memory_test') | 24 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nacl_memory_test') |
| OLD | NEW |