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

Unified Diff: src/minsfi/trusted/build.scons

Issue 539683002: MinSFI: Add loader (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/trusted/build.scons
diff --git a/tests/hello_world/BUILD.gn b/src/minsfi/trusted/build.scons
similarity index 56%
copy from tests/hello_world/BUILD.gn
copy to src/minsfi/trusted/build.scons
index 9a3408f68fc35f4b9ab71c7cb447bd414d28041b..c6bd8eb17b3f8b95cdc46f92a5a2719ac68c7769 100644
--- a/tests/hello_world/BUILD.gn
+++ b/src/minsfi/trusted/build.scons
@@ -1,7 +1,11 @@
+# -*- 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.
-test("hello_world") {
- sources = ["hello_world.c"]
-}
+Import('env')
+
+if not env.Bit('posix'):
jvoung (off chromium) 2014/09/05 00:31:59 Did you want to restrict this to env.Bit('minsfi')
dbrazdil 2014/09/05 19:41:37 Done. Also changed the description of the flag to
+ Return()
+
+env.ComponentLibrary('minsfi_runtime', ['entry.c', 'loader.c'])

Powered by Google App Engine
This is Rietveld 408576698