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

Unified Diff: chrome/test/data/nacl/nacl_test_data.gyp

Issue 14154005: Add dyncode syscall disabled test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 7 years, 8 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
« no previous file with comments | « no previous file | chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/nacl/nacl_test_data.gyp
diff --git a/chrome/test/data/nacl/nacl_test_data.gyp b/chrome/test/data/nacl/nacl_test_data.gyp
index 5df705d9fe23918d1c70df62e35cea3c6848cdb1..30a126e04a9e0b4a27cd2ae214fee7fa55d55c59 100644
--- a/chrome/test/data/nacl/nacl_test_data.gyp
+++ b/chrome/test/data/nacl/nacl_test_data.gyp
@@ -174,6 +174,42 @@
'<(DEPTH)/native_client/tools.gyp:prep_toolchain',
]
},
+ {
+ 'target_name': 'pnacl_dyncode_syscall_disabled_test',
+ 'type': 'none',
+ 'variables': {
+ # This tests that nexes produced by translation in the browser are not
+ # able to use the dyncode syscalls. Pre-translated nexes are not
+ # subject to this constraint, so we do not test them.
+ 'enable_x86_32': 0,
+ 'enable_x86_64': 0,
+ 'enable_arm': 0,
+ 'nexe_target': 'pnacl_dyncode_syscall_disabled',
+ 'build_pnacl_newlib': 1,
+ 'link_flags': [
+ '-lppapi',
+ '-lppapi_test_lib',
+ '-lplatform',
+ '-lgio',
+ '-lnacl_dyncode',
+ ],
+ 'sources': [
+ 'pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc',
+ ],
+ 'test_files': [
+ 'pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.html',
+ ],
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
+ '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
+ '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_dynacode_lib',
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib',
+ '<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib',
+ 'ppapi_test_lib',
+ ],
+ },
# Legacy NaCl PPAPI interface tests being here.
{
'target_name': 'ppapi_ppb_core',
« no previous file with comments | « no previous file | chrome/test/data/nacl/pnacl_dyncode_syscall_disabled/pnacl_dyncode_syscall_disabled.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698