- add sources.
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / tests / nacl_io_socket_test / example.dsc
1 {
2   'TOOLS': ['newlib', 'glibc', 'pnacl'],
3   'TARGETS': [
4     {
5       'NAME' : 'nacl_io_socket_test',
6       'TYPE' : 'main',
7       'SOURCES' : [
8         'main.cc',
9         'socket_test.cc',
10         'echo_server.cc',
11         'echo_server.h',
12       ],
13       'DEPS': ['ppapi_simple', 'nacl_io'],
14       # Order matters here: gtest has a "main" function that will be used if
15       # referenced before ppapi.
16       'LIBS': ['gmock', 'ppapi_cpp', 'ppapi', 'gtest', 'pthread'],
17       'INCLUDES': ['$(NACL_SDK_ROOT)/include/gtest/internal'],
18       'CXXFLAGS': ['-Wno-sign-compare', '-Wno-unused-private-field'],
19       'CFLAGS_GCC': ['-Wno-unused-local-typedefs'],
20     }
21   ],
22   'DATA': [
23     'example.js'
24   ],
25   'DEST': 'tests',
26   'NAME': 'nacl_io_socket_test',
27   'TITLE': 'NaCl IO Socket test',
28   'SOCKET_PERMISSIONS': [
29     "tcp-listen:*:*",
30     "tcp-connect",
31     "resolve-host",
32     "udp-bind:*:*",
33     "udp-send-to:*:*"
34   ]
35 }