| 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 Import('env') | 6 Import('env') |
| 7 import os | 7 import os |
| 8 | 8 |
| 9 ppapi_tests_target = 'ppapi_tests_${TARGET_FULLARCH}' | 9 if env.Bit('nacl_glibc'): |
| 10 Return() |
| 11 |
| 12 fullarch_map = { |
| 13 'x86-64': 'x64', |
| 14 'x86-32': 'x32', |
| 15 'arm': 'arm', |
| 16 } |
| 17 |
| 18 ppapi_tests_target = ('ppapi_tests_newlib_%s' % |
| 19 fullarch_map[env['TARGET_FULLARCH']]) |
| 10 | 20 |
| 11 ppapi_tests_sources = [ | 21 ppapi_tests_sources = [ |
| 12 # Common test files | 22 # Common test files |
| 13 'test_case.cc', | 23 'test_case.cc', |
| 14 'test_utils.cc', | 24 'test_utils.cc', |
| 15 'testing_instance.cc', | 25 'testing_instance.cc', |
| 16 | 26 |
| 17 # Compile-time tests | 27 # Compile-time tests |
| 18 'test_c_includes.c', | 28 'test_c_includes.c', |
| 19 'test_cpp_includes.cc', | 29 'test_cpp_includes.cc', |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 env.Publish(ppapi_tests_target, 'run', | 106 env.Publish(ppapi_tests_target, 'run', |
| 97 ['$SOURCE_ROOT/ppapi/tests/test_url_loader_data/*'], | 107 ['$SOURCE_ROOT/ppapi/tests/test_url_loader_data/*'], |
| 98 subdir='test_url_loader_data') | 108 subdir='test_url_loader_data') |
| 99 | 109 |
| 100 env.Publish(ppapi_tests_target, 'run', | 110 env.Publish(ppapi_tests_target, 'run', |
| 101 [ppapi_tests_nexe, | 111 [ppapi_tests_nexe, |
| 102 '$SOURCE_ROOT/ppapi/tests/test_case.html', | 112 '$SOURCE_ROOT/ppapi/tests/test_case.html', |
| 103 'test_case.nmf', | 113 'test_case.nmf', |
| 104 '$SOURCE_ROOT/ppapi/tests/test_image_data', | 114 '$SOURCE_ROOT/ppapi/tests/test_image_data', |
| 105 '$SOURCE_ROOT/ppapi/tests/test_page.css']) | 115 '$SOURCE_ROOT/ppapi/tests/test_page.css']) |
| OLD | NEW |