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

Unified Diff: src/nonsfi/loader/build.scons

Issue 269703002: Non-SFI Mode: Add nonsfi_loader and plumbing to test it (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Cleanups Created 6 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
Index: src/nonsfi/loader/build.scons
diff --git a/src/nonsfi/loader/build.scons b/src/nonsfi/loader/build.scons
new file mode 100644
index 0000000000000000000000000000000000000000..235063c36492cd0069eb6673c4e6fca31633dc5c
--- /dev/null
+++ b/src/nonsfi/loader/build.scons
@@ -0,0 +1,19 @@
+# -*- python -*-
+# Copyright (c) 2014 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')
+
+# We could build nonsfi_loader on Mac OS X, but for now we are only testing
+# this on Linux.
+if not env.Bit('linux'):
+ Return()
+
+# Since we are only targeting Unix, not Windows/MSVC, we can use C99
+# language features.
+env.FilterOut(CFLAGS='-Wdeclaration-after-statement')
+
+env.ComponentProgram('nonsfi_loader',
+ ['elf_loader.c'],
+ EXTRA_LIBS=['irt_nonsfi', 'platform'])

Powered by Google App Engine
This is Rietveld 408576698