| OLD | NEW | 
|---|
| 1 # -*- python -*- | 1 # -*- python -*- | 
| 2 # Copyright 2010 The Native Client Authors.  All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can | 
| 4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. | 
| 5 | 5 | 
| 6 import os | 6 import os | 
| 7 | 7 | 
| 8 Import('env') | 8 Import('env') | 
| 9 | 9 | 
| 10 # To get generated include files. | 10 # To get generated include files. | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 54 | 54 | 
| 55 env.TrustedSrpc(is_client=False, | 55 env.TrustedSrpc(is_client=False, | 
| 56                 srpc_files=['objectstub.srpc', | 56                 srpc_files=['objectstub.srpc', | 
| 57                             'ppb.srpc', | 57                             'ppb.srpc', | 
| 58                             'ppb_audio_dev.srpc', | 58                             'ppb_audio_dev.srpc', | 
| 59                             'ppb_audio_config_dev.srpc', | 59                             'ppb_audio_config_dev.srpc', | 
| 60                             'ppb_core.srpc', | 60                             'ppb_core.srpc', | 
| 61                             'ppb_graphics_2d.srpc', | 61                             'ppb_graphics_2d.srpc', | 
| 62                             'ppb_image_data.srpc', | 62                             'ppb_image_data.srpc', | 
| 63                             'ppb_instance.srpc', | 63                             'ppb_instance.srpc', | 
|  | 64                             'ppb_url_loader.srpc', | 
| 64                             'ppb_url_request_info.srpc', | 65                             'ppb_url_request_info.srpc', | 
| 65                             'ppb_url_response_info.srpc', | 66                             'ppb_url_response_info.srpc', | 
| 66                            ], | 67                            ], | 
| 67                 name='PpbRpcs', | 68                 name='PpbRpcs', | 
| 68                 h_file='ppb_rpc.h', | 69                 h_file='ppb_rpc.h', | 
| 69                 cc_file='ppb_rpc_server.cc', | 70                 cc_file='ppb_rpc_server.cc', | 
| 70                 guard='GEN_PPAPI_PROXY_PPB_RPC_H_') | 71                 guard='GEN_PPAPI_PROXY_PPB_RPC_H_') | 
| 71 | 72 | 
| 72 env.TrustedSrpc(is_client=False, | 73 env.TrustedSrpc(is_client=False, | 
| 73                 srpc_files=['upcall.srpc'], | 74                 srpc_files=['upcall.srpc'], | 
| 74                 name='PpbUpcalls', | 75                 name='PpbUpcalls', | 
| 75                 h_file='upcall.h', | 76                 h_file='upcall.h', | 
| 76                 cc_file='upcall_server.cc', | 77                 cc_file='upcall_server.cc', | 
| 77                 guard='GEN_PPAPI_PROXY_UPCALL_H_') | 78                 guard='GEN_PPAPI_PROXY_UPCALL_H_') | 
| 78 | 79 | 
| 79 | 80 | 
| 80 common_obj = env.DualObject(['utility.cc']) | 81 common_obj = env.DualObject(['utility.cc']) | 
| 81 | 82 | 
| 82 env.DualLibrary('ppapi_browser', | 83 env.DualLibrary('ppapi_browser', | 
| 83                 ['browser_audio.cc', | 84                 ['browser_audio.cc', | 
| 84                  'browser_audio_config.cc', | 85                  'browser_audio_config.cc', | 
| 85                  'browser_core.cc', | 86                  'browser_core.cc', | 
| 86                  'browser_callback.cc', | 87                  'browser_callback.cc', | 
| 87                  'browser_globals.cc', | 88                  'browser_globals.cc', | 
| 88                  'browser_graphics_2d.cc', | 89                  'browser_graphics_2d.cc', | 
| 89                  'browser_image_data.cc', | 90                  'browser_image_data.cc', | 
| 90                  'browser_ppb_instance_rpc_server.cc', | 91                  'browser_ppb_instance_rpc_server.cc', | 
| 91                  'browser_ppb_rpc_server.cc', | 92                  'browser_ppb_rpc_server.cc', | 
|  | 93                  'browser_ppb_url_loader_rpc_server.cc', | 
| 92                  'browser_ppb_url_request_info_rpc_server.cc', | 94                  'browser_ppb_url_request_info_rpc_server.cc', | 
| 93                  'browser_ppb_url_response_info_rpc_server.cc', | 95                  'browser_ppb_url_response_info_rpc_server.cc', | 
| 94                  'browser_ppp_instance.cc', | 96                  'browser_ppp_instance.cc', | 
| 95                  'browser_ppp.cc', | 97                  'browser_ppp.cc', | 
| 96                  'browser_upcall.cc', | 98                  'browser_upcall.cc', | 
| 97                  'object.cc', | 99                  'object.cc', | 
| 98                  'object_proxy.cc', | 100                  'object_proxy.cc', | 
| 99                  'object_serialize.cc', | 101                  'object_serialize.cc', | 
| 100                  'objectstub_rpc_impl.cc', | 102                  'objectstub_rpc_impl.cc', | 
| 101                  'ppb_rpc_server.cc', | 103                  'ppb_rpc_server.cc', | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 122 env.Depends(node, Alias('srpcdif')) | 124 env.Depends(node, Alias('srpcdif')) | 
| 123 | 125 | 
| 124 # Create an alias for the command and add it to the standard small test. | 126 # Create an alias for the command and add it to the standard small test. | 
| 125 # This test verifies that the checked in SRPC generated files are | 127 # This test verifies that the checked in SRPC generated files are | 
| 126 # actually up to date.  We ignore ARM which generates false negatives. | 128 # actually up to date.  We ignore ARM which generates false negatives. | 
| 127 # This is okay, since all try/builds should reproduce the same result | 129 # This is okay, since all try/builds should reproduce the same result | 
| 128 # this is a check on what is in source control, and generated files are | 130 # this is a check on what is in source control, and generated files are | 
| 129 # platform independent. | 131 # platform independent. | 
| 130 if not env.Bit('target_arm'): | 132 if not env.Bit('target_arm'): | 
| 131   env.AddNodeToTestSuite(node, ['small_tests'], 'run_srpcgen_test') | 133   env.AddNodeToTestSuite(node, ['small_tests'], 'run_srpcgen_test') | 
| OLD | NEW | 
|---|