OLD | NEW |
(Empty) | |
| 1 # -*- python -*- |
| 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 Import('env') |
| 7 |
| 8 # We could build nonsfi_loader on Mac OS X, but for now we are only testing |
| 9 # this on Linux. |
| 10 if not env.Bit('linux'): |
| 11 Return() |
| 12 |
| 13 # Since we are only targeting Unix, not Windows/MSVC, we can use C99 |
| 14 # language features. |
| 15 env.FilterOut(CFLAGS='-Wdeclaration-after-statement') |
| 16 |
| 17 env.ComponentProgram('nonsfi_loader', |
| 18 ['elf_loader.c'], |
| 19 EXTRA_LIBS=['irt_nonsfi', 'platform']) |
OLD | NEW |