| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 |
| 11 if not env.Bit('mac'): | 11 if not env.Bit('mac'): |
| 12 env['COMPONENT_STATIC'] = False | 12 env['COMPONENT_STATIC'] = False |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 'plugin.cc', | 65 'plugin.cc', |
| 66 'pnacl_coordinator.cc', | 66 'pnacl_coordinator.cc', |
| 67 'pnacl_resources.cc', | 67 'pnacl_resources.cc', |
| 68 'pnacl_streaming_translate_thread.cc', | 68 'pnacl_streaming_translate_thread.cc', |
| 69 'pnacl_translate_thread.cc', | 69 'pnacl_translate_thread.cc', |
| 70 'scriptable_plugin.cc', | 70 'scriptable_plugin.cc', |
| 71 'sel_ldr_launcher_chrome.cc', | 71 'sel_ldr_launcher_chrome.cc', |
| 72 'service_runtime.cc', | 72 'service_runtime.cc', |
| 73 'srpc_client.cc', | 73 'srpc_client.cc', |
| 74 'srpc_params.cc', | 74 'srpc_params.cc', |
| 75 'temporary_file.cc', |
| 75 'utility.cc', | 76 'utility.cc', |
| 76 ] | 77 ] |
| 77 | 78 |
| 78 if env.Bit('target_x86'): | 79 if env.Bit('target_x86'): |
| 79 common_inputs += ['arch_x86/sandbox_isa.cc'] | 80 common_inputs += ['arch_x86/sandbox_isa.cc'] |
| 80 elif env.Bit('target_arm'): | 81 elif env.Bit('target_arm'): |
| 81 common_inputs += ['arch_arm/sandbox_isa.cc'] | 82 common_inputs += ['arch_arm/sandbox_isa.cc'] |
| 82 else: | 83 else: |
| 83 # Unrecognized architecture - this is a build failure. | 84 # Unrecognized architecture - this is a build failure. |
| 84 print "Unrecognized architecture: %s" % env['TARGET_ARCHITECTURE'] | 85 print "Unrecognized architecture: %s" % env['TARGET_ARCHITECTURE'] |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 unittest_sources, | 198 unittest_sources, |
| 198 no_import_lib=True) | 199 no_import_lib=True) |
| 199 node = env.CommandTest('ppapi_plugin_unittest.out', | 200 node = env.CommandTest('ppapi_plugin_unittest.out', |
| 200 command=[unittest, | 201 command=[unittest, |
| 201 ppapi_plugin, | 202 ppapi_plugin, |
| 202 env['BUILD_ISA_NAME']]) | 203 env['BUILD_ISA_NAME']]) |
| 203 env.AddNodeToTestSuite(node, ['small_tests'], 'run_ppapi_plugin_unittest') | 204 env.AddNodeToTestSuite(node, ['small_tests'], 'run_ppapi_plugin_unittest') |
| 204 | 205 |
| 205 | 206 |
| 206 # TODO(polina,sehr): add a test for the PPAPI plugin on ARM. | 207 # TODO(polina,sehr): add a test for the PPAPI plugin on ARM. |
| OLD | NEW |