Chromium Code Reviews| 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']) |