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