| OLD | NEW |
| (Empty) |
| 1 # -*- python -*- | |
| 2 # Copyright (c) 2011 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 os | |
| 7 import sys | |
| 8 Import('env') | |
| 9 | |
| 10 # | |
| 11 # | |
| 12 # Now build x86_64 specific library. | |
| 13 # | |
| 14 # | |
| 15 if not env.Bit('target_x86_64'): Return() | |
| 16 | |
| 17 # Create environment for command-line tool usage. | |
| 18 | |
| 19 cl_env = env.Clone() | |
| 20 cl_env.Append(CPPPATH=['${TARGET_ROOT}']) | |
| 21 cl_env.Append(CCFLAGS=['-DNACL_TRUSTED_BUT_NOT_TCB']) | |
| 22 cl_env.FilterOut(CCFLAGS=['-Wextra', '-Wswitch-enum', '-Wsign-compare']) | |
| 23 | |
| 24 cl_env.ComponentLibrary('ncvalidate_x86_64', ['ncvalidate.c']) | |
| 25 | |
| 26 cl_env.ComponentLibrary('ncvalidate_verbose_x86_64', ['ncvalidate_verbose.c']) | |
| 27 | |
| OLD | NEW |