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 # TODO(polina): for Mac build check if no longer need .r files and/or document | 6 # TODO(polina): for Mac build check if no longer need .r files and/or document |
7 # target browsers for each bundle target. | 7 # target browsers for each bundle target. |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 'module_ppapi.cc', | 61 'module_ppapi.cc', |
62 'nacl_subprocess.cc', | 62 'nacl_subprocess.cc', |
63 'nexe_arch.cc', | 63 'nexe_arch.cc', |
64 'plugin.cc', | 64 'plugin.cc', |
65 'pnacl_coordinator.cc', | 65 'pnacl_coordinator.cc', |
66 'pnacl_resources.cc', | 66 'pnacl_resources.cc', |
67 'scriptable_plugin.cc', | 67 'scriptable_plugin.cc', |
68 'service_runtime.cc', | 68 'service_runtime.cc', |
69 'srpc_client.cc', | 69 'srpc_client.cc', |
70 'srpc_params.cc', | 70 'srpc_params.cc', |
71 'string_encoding.cc', | |
72 'utility.cc', | 71 'utility.cc', |
73 ] | 72 ] |
74 | 73 |
75 if env.Bit('target_x86'): | 74 if env.Bit('target_x86'): |
76 common_inputs += ['arch_x86/sandbox_isa.cc'] | 75 common_inputs += ['arch_x86/sandbox_isa.cc'] |
77 elif env.Bit('target_arm'): | 76 elif env.Bit('target_arm'): |
78 common_inputs += ['arch_arm/sandbox_isa.cc'] | 77 common_inputs += ['arch_arm/sandbox_isa.cc'] |
79 else: | 78 else: |
80 # Unrecognized architecture - this is a build failure. | 79 # Unrecognized architecture - this is a build failure. |
81 print "Unrecognized architecture: %s" % env['TARGET_ARCHITECTURE'] | 80 print "Unrecognized architecture: %s" % env['TARGET_ARCHITECTURE'] |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 unittest_sources, | 193 unittest_sources, |
195 no_import_lib=True) | 194 no_import_lib=True) |
196 node = env.CommandTest('ppapi_plugin_unittest.out', | 195 node = env.CommandTest('ppapi_plugin_unittest.out', |
197 command=[unittest, | 196 command=[unittest, |
198 ppapi_plugin, | 197 ppapi_plugin, |
199 env['BUILD_ISA_NAME']]) | 198 env['BUILD_ISA_NAME']]) |
200 env.AddNodeToTestSuite(node, ['small_tests'], 'run_ppapi_plugin_unittest') | 199 env.AddNodeToTestSuite(node, ['small_tests'], 'run_ppapi_plugin_unittest') |
201 | 200 |
202 | 201 |
203 # TODO(polina,sehr): add a test for the PPAPI plugin on ARM. | 202 # TODO(polina,sehr): add a test for the PPAPI plugin on ARM. |
OLD | NEW |