Index: src/untrusted/crash_dump/nacl.scons |
diff --git a/src/untrusted/crash_dump/nacl.scons b/src/untrusted/crash_dump/nacl.scons |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f2debb6d484eb4daf2d785727c1e0a21fa000283 |
--- /dev/null |
+++ b/src/untrusted/crash_dump/nacl.scons |
@@ -0,0 +1,13 @@ |
+# -*- python -*- |
+# Copyright (c) 2012 The Native Client Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+Import('env') |
+ |
+# TODO(bradnelson): Support x86-64 and pnacl when the frame pointer is provided |
+# to the exception handler for those platforms. |
+if not env.Bit('build_x86_32') or env.Bit('bitcode'): |
+ Return() |
+ |
+env.ComponentLibrary('untrusted_crash_dump', 'untrusted_crash_dump.c') |