| OLD | NEW |
| 1 { | 1 { |
| 2 'TOOLS': ['newlib', 'glibc', 'pnacl'], | 2 'TOOLS': ['newlib', 'glibc', 'pnacl'], |
| 3 'SEL_LDR': True, | 3 'SEL_LDR': True, |
| 4 | 4 |
| 5 # Need to add ../../examples for common.js | 5 # Need to add ../../examples for common.js |
| 6 'SEARCH': ['.', '../../examples'], | 6 'SEARCH': ['.', '../../examples'], |
| 7 'TARGETS': [ | 7 'TARGETS': [ |
| 8 { | 8 { |
| 9 'NAME' : 'nacl_io_test', | 9 'NAME' : 'nacl_io_socket_test', |
| 10 'TYPE' : 'main', | 10 'TYPE' : 'main', |
| 11 'SOURCES' : [ | 11 'SOURCES' : [ |
| 12 'event_test.cc', | |
| 13 'kernel_object_test.cc', | |
| 14 'kernel_proxy_mock.cc', | |
| 15 'kernel_proxy_mock.h', | |
| 16 'kernel_proxy_test.cc', | |
| 17 'kernel_wrap_test.cc', | |
| 18 'main.cc', | 12 'main.cc', |
| 19 'mock_util.h', | 13 'socket_test.cc', |
| 20 'mount_html5fs_test.cc', | |
| 21 'mount_http_test.cc', | |
| 22 'mount_mock.cc', | |
| 23 'mount_mock.h', | |
| 24 'mount_node_mock.cc', | |
| 25 'mount_node_mock.h', | |
| 26 'mount_node_test.cc', | |
| 27 'mount_test.cc', | |
| 28 'path_test.cc', | |
| 29 'pepper_interface_mock.cc', | |
| 30 'pepper_interface_mock.h', | |
| 31 » 'socket_test.cc', | |
| 32 ], | 14 ], |
| 33 'DEPS': ['ppapi_simple', 'nacl_io'], | 15 'DEPS': ['ppapi_simple', 'nacl_io'], |
| 34 # Order matters here: gtest has a "main" function that will be used if | 16 # Order matters here: gtest has a "main" function that will be used if |
| 35 # referenced before ppapi. | 17 # referenced before ppapi. |
| 36 'LIBS': ['gmock', 'ppapi_cpp', 'ppapi', 'gtest', 'pthread'], | 18 'LIBS': ['gmock', 'ppapi_cpp', 'ppapi', 'gtest', 'pthread'], |
| 37 'INCLUDES': ['$(NACL_SDK_ROOT)/include/gtest/internal'], | 19 'INCLUDES': ['$(NACL_SDK_ROOT)/include/gtest/internal'], |
| 38 'CXXFLAGS': ['-Wno-sign-compare', '-Wno-unused-private-field'], | 20 'CXXFLAGS': ['-Wno-sign-compare', '-Wno-unused-private-field'], |
| 39 'CFLAGS_GCC': ['-Wno-unused-local-typedefs'], | 21 'CFLAGS_GCC': ['-Wno-unused-local-typedefs'], |
| 40 } | 22 } |
| 41 ], | 23 ], |
| 42 'DATA': [ | 24 'DATA': [ |
| 43 'example.js' | 25 'example.js' |
| 44 ], | 26 ], |
| 45 'DEST': 'tests', | 27 'DEST': 'tests', |
| 46 'NAME': 'nacl_io_test', | 28 'NAME': 'nacl_io_socket_test', |
| 47 'TITLE': 'NaCl IO test', | 29 'TITLE': 'NaCl IO Socket test', |
| 30 'PRE': '''\nCHROME_ARGS = --allow-nacl-socket-api=localhost\n''', |
| 31 'SOCKET_PERMISSIONS': [ |
| 32 "tcp-listen:*:*", |
| 33 "tcp-connect", |
| 34 "resolve-host", |
| 35 "udp-bind:*:*", |
| 36 "udp-send-to:*:*" |
| 37 ] |
| 48 } | 38 } |
| OLD | NEW |