| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 Import('env') | 6 Import('env') |
| 7 | 7 |
| 8 # Check that headers are #includable without native_client/ being in | 8 # Check that headers are #includable without native_client/ being in |
| 9 # the #include search path. | 9 # the #include search path. |
| 10 env.FilterOut(CPPPATH='${SOURCE_ROOT}') | 10 env.FilterOut(CPPPATH='${SOURCE_ROOT}') |
| 11 |
| 12 # Remove the forced inclusion of build_config.h, which requires native_client/ |
| 13 # to be in the search path. |
| 14 env.FilterOut(CCFLAGS=[ |
| 15 '-include', '$SOURCE_ROOT/native_client/src/include/build_config.h']) |
| 16 |
| 11 env.ComponentProgram('includability_test', 'use_irt.c') | 17 env.ComponentProgram('includability_test', 'use_irt.c') |
| OLD | NEW |