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

Unified Diff: src/minsfi/untrusted/nacl.scons

Issue 546883003: MinSFI: Passing arguments to the entry function (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 6 years, 3 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/minsfi/untrusted/nacl.scons
diff --git a/tests/hello_world/BUILD.gn b/src/minsfi/untrusted/nacl.scons
similarity index 56%
copy from tests/hello_world/BUILD.gn
copy to src/minsfi/untrusted/nacl.scons
index 9a3408f68fc35f4b9ab71c7cb447bd414d28041b..083922d96b1c944704f71e33216f0ac3cd5acd82 100644
--- a/tests/hello_world/BUILD.gn
+++ b/src/minsfi/untrusted/nacl.scons
@@ -2,6 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-test("hello_world") {
- sources = ["hello_world.c"]
-}
+Import('env')
+
+if not env.Bit('bitcode') or not env.Bit('minsfi'):
+ Return()
+
+env.ComponentLibrary('minsfi_support', ['start.c'])

Powered by Google App Engine
This is Rietveld 408576698