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

Unified Diff: tests/dynamic_code_loading/nacl.scons

Issue 3975001: Dynamic code modification support for x64 NaCl modules... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 10 years, 1 month 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 | « tests/dynamic_code_loading/dynamic_modify_test.c ('k') | tests/dynamic_code_loading/templates.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/dynamic_code_loading/nacl.scons
===================================================================
--- tests/dynamic_code_loading/nacl.scons (revision 3669)
+++ tests/dynamic_code_loading/nacl.scons (working copy)
@@ -38,10 +38,10 @@
template_obj],
EXTRA_LIBS=['testrunner', 'srpc', 'pthread'])
-# Uncomment once the toolchain gets the new syscalls:
-#env.ComponentProgram('dynamic_modify_test.nexe',
-# ['dynamic_modify_test.c',
-# template_obj])
+env.ComponentProgram('dynamic_modify_test.nexe',
+ ['dynamic_modify_test.c',
+ template_obj],
+ EXTRA_LIBS=['testrunner', 'srpc', 'pthread'])
env.ComponentProgram('write_to_dyncode.nexe',
['write_to_dyncode.c'])
@@ -80,16 +80,16 @@
sel_ldr_flags=["-c"],
command=[env.File('debug_mode_test.nexe')],
),
-# Uncomment once the toolchain gets the new syscalls:
-# env.CommandSelLdrTestNacl(
-# 'dynamic_modify_test_disabled.out',
-# command=[env.File('dynamic_modify_test.nexe')],
-# ),
-# env.CommandSelLdrTestNacl(
-# 'dynamic_modify_test_enabled.out',
-# command=[env.File('dynamic_modify_test.nexe')],
-# osenv='NACL_ALLOW_DYNCODE_REPLACEMENT=1',
-# ),
+ env.CommandSelLdrTestNacl(
+ 'dynamic_modify_test_disabled.out',
+ command=[env.File('dynamic_modify_test.nexe')],
+ osenv='NACL_SRPC_STANDALONE=1',
+ ),
+ env.CommandSelLdrTestNacl(
+ 'dynamic_modify_test_enabled.out',
+ command=[env.File('dynamic_modify_test.nexe')],
+ osenv='NACL_ALLOW_DYNCODE_REPLACEMENT=1,NACL_SRPC_STANDALONE=1',
+ ),
]
# TODO(kcc): non-standard linking options confuse Valgrind debug info reader.
« no previous file with comments | « tests/dynamic_code_loading/dynamic_modify_test.c ('k') | tests/dynamic_code_loading/templates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698