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

Unified Diff: src/trusted/service_runtime/build.scons

Issue 9316125: Adding untrusted crash dump / stack trace tests. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: fixing 64-bit build issue Created 8 years, 10 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: src/trusted/service_runtime/build.scons
diff --git a/src/trusted/service_runtime/build.scons b/src/trusted/service_runtime/build.scons
index 503ba1e993b0c7948ab87c43b176145d191a56dc..45129f9938866da69e2b1fb7e02f962972ef9751 100644
--- a/src/trusted/service_runtime/build.scons
+++ b/src/trusted/service_runtime/build.scons
@@ -319,6 +319,13 @@ if ((not env.Bit('coverage_enabled') or not env.Bit('windows')) and
sel_main_objs = [env.ComponentObject('sel_main.c')] + r_debug_objs
SEL_LDR_NODE = env.ComponentProgram('sel_ldr', sel_main_objs,
EXTRA_LIBS=sel_ldr_libs)
+ # TODO(bradnelson): drop once exceptions are available by default.
+ env_exc = env.Clone()
+ env_exc.Append(CPPDEFINES=['NACL_EXCEPTION_HANDLING_REQUESTED'])
+ exc_sel_main_objs = [
+ env_exc.ComponentObject('sel_main_exc', 'sel_main.c')] + r_debug_objs
Mark Seaborn 2012/02/06 17:35:04 This sets a bad precedent. I don't want to start
bradn 2012/02/06 19:26:59 Done. Odd, I didn't know the environment get propa
+ exc_SEL_LDR_NODE = env_exc.ComponentProgram('sel_ldr_exc', exc_sel_main_objs,
+ EXTRA_LIBS=sel_ldr_libs)
if env.Bit('mac'):
# This target exists only to check that the service_runtime code
# can successfully be linked into a Mac OS X dynamic library. Our

Powered by Google App Engine
This is Rietveld 408576698