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

Unified 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: Running tests on package 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io_socket_test/example.dsc
diff --git a/native_client_sdk/src/libraries/nacl_io_test/example.dsc b/native_client_sdk/src/libraries/nacl_io_socket_test/example.dsc
similarity index 52%
copy from native_client_sdk/src/libraries/nacl_io_test/example.dsc
copy to native_client_sdk/src/libraries/nacl_io_socket_test/example.dsc
index 3c1226e7a85a80a0b816400ae8fcf1b392eed09d..ebb25ca59474d176933bd9b8d18bcaefd8e01833 100644
--- a/native_client_sdk/src/libraries/nacl_io_test/example.dsc
+++ b/native_client_sdk/src/libraries/nacl_io_socket_test/example.dsc
@@ -6,29 +6,11 @@
'SEARCH': ['.', '../../examples'],
'TARGETS': [
{
- 'NAME' : 'nacl_io_test',
+ 'NAME' : 'nacl_io_socket_test',
'TYPE' : 'main',
'SOURCES' : [
- 'event_test.cc',
- '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_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_test.cc',
- 'path_test.cc',
- 'pepper_interface_mock.cc',
- 'pepper_interface_mock.h',
- 'socket_test.cc',
+ 'socket_test.cc',
],
'DEPS': ['ppapi_simple', 'nacl_io'],
# Order matters here: gtest has a "main" function that will be used if
@@ -43,6 +25,8 @@
'example.js'
],
'DEST': 'tests',
- 'NAME': 'nacl_io_test',
- 'TITLE': 'NaCl IO test',
+ 'NAME': 'nacl_io_socket_test',
+ 'TITLE': 'NaCl IO Socket test',
+ 'PRE': '''\nCHROME_ARGS = --allow-nacl-socket-api=localhost\n''',
+ 'SOCKET_PERMISSIONS': ["tcp-listen:*:*", "tcp-connect", "resolve-host", "udp-bind:*:*", "udp-send-to:*:*"]
binji 2013/08/09 19:28:06 nit: expand out list so it is easier to read/doesn
binji 2013/08/09 19:28:06 Maybe just 127.0.0.1 instead of *?
noelallen1 2013/08/09 22:53:22 Matches other DSCs... We should change them all at
binji 2013/08/09 23:08:27 OK
}

Powered by Google App Engine
This is Rietveld 408576698