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']) |