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

Unified Diff: src/nonsfi/irt/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: Review 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/irt/build.scons
diff --git a/src/nonsfi/irt/build.scons b/src/nonsfi/irt/build.scons
new file mode 100644
index 0000000000000000000000000000000000000000..f10882ca75a4cccda2d3be0080a0196007fc9a4d
--- /dev/null
+++ b/src/nonsfi/irt/build.scons
@@ -0,0 +1,21 @@
+# -*- 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')
+
+# This component implements NaCl IRT interfaces in terms of POSIX APIs.
+if not env.Bit('posix'):
+ Return()
+
+# Since we are only targeting Unix, not Windows/MSVC, we can use C99
+# language features.
+env.FilterOut(CFLAGS='-Wdeclaration-after-statement')
+# Complaints about unused function arguments are too noisy.
+env.Append(CCFLAGS='-Wno-unused-parameter')
+# TODO(mseaborn): We can enforce -Wstrict-prototypes after the uses of
+# DEFINE_STUB/USE_STUB are gone.
+env.FilterOut(CFLAGS='-Wstrict-prototypes')
+
+env.ComponentLibrary('irt_nonsfi', ['irt_interfaces.c'])

Powered by Google App Engine
This is Rietveld 408576698