1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
'TOOLS': ['newlib', 'glibc', 'pnacl'],
'SEL_LDR': True,
'TARGETS': [
{
'NAME' : 'nacl_io_test',
'TYPE' : 'main',
'SOURCES' : [
'event_test.cc',
'fake_core_interface.cc',
'fake_core_interface.h',
'fake_pepper_interface_html5fs.cc',
'fake_pepper_interface_html5fs.h',
'fake_resource_manager.cc',
'fake_resource_manager.h',
'fake_var_interface.cc',
'fake_var_interface.h',
'kernel_object_test.cc',
'kernel_proxy_mock.cc',
'kernel_proxy_mock.h',
'kernel_proxy_test.cc',
'kernel_wrap_test.cc',
'main.cc',
'mock_util.h',
'mount_dev_mock.h',
'mount_html5fs_test.cc',
'mount_http_test.cc',
'mount_mock.cc',
'mount_mock.h',
'mount_node_mock.cc',
'mount_node_mock.h',
'mount_node_test.cc',
'mount_node_tty_test.cc',
'mount_test.cc',
'path_test.cc',
'pepper_interface_mock.cc',
'pepper_interface_mock.h',
'socket_test.cc',
'syscalls_test.cc',
],
'DEPS': ['ppapi_simple', 'nacl_io'],
# Order matters here: gtest has a "main" function that will be used if
# referenced before ppapi.
'LIBS': ['gmock', 'ppapi_cpp', 'ppapi', 'gtest', 'pthread'],
'INCLUDES': ['$(NACL_SDK_ROOT)/include/gtest/internal'],
'CXXFLAGS': ['-Wno-sign-compare', '-Wno-unused-private-field'],
'CFLAGS_GCC': ['-Wno-unused-local-typedefs'],
}
],
'DATA': [
'example.js'
],
'DEST': 'tests',
'NAME': 'nacl_io_test',
'TITLE': 'NaCl IO test',
}
|