Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_socket_test/example.dsc

Issue 22587003: [NaCl SDK] Add UDP and TCP Sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to browser tester fix. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698