| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright 2010 The Native Client Authors. All rights reserved. | 2 # Copyright 2012 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
| 4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. |
| 5 | 5 |
| 6 Import('env') | 6 Import('env') |
| 7 | 7 |
| 8 # TODO(mseaborn): Extend the ARM validator to support this. | 8 # TODO(mseaborn): Extend the ARM validator to support this. |
| 9 if not env.Bit('target_x86'): Return() | 9 if not env.Bit('target_x86'): Return() |
| 10 | 10 |
| 11 # Create environment for command-line tools and testing. | 11 # Create environment for command-line tools and testing. |
| 12 env.Append(CCFLAGS=['-DNACL_TRUSTED_BUT_NOT_TCB']) | 12 env.Append(CCFLAGS=['-DNACL_TRUSTED_BUT_NOT_TCB']) |
| 13 | 13 |
| 14 env.ComponentProgram( | 14 env.ComponentProgram( |
| 15 'ncval_stubout', | 15 'ncval_stubout', |
| 16 'ncstubout.c', | 16 'ncstubout.c', |
| 17 EXTRA_LIBS=[env.NaClTargetArchSuffix('ncvalidate_verbose')]) | 17 EXTRA_LIBS=['validators', env.NaClTargetArchSuffix('ncvalidate_verbose')]) |
| OLD | NEW |