Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(883)

Unified Diff: tests/includability/nacl.scons

Issue 788193003: Create a build_config header file. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Restore NACL_BUILD_ARCH / NACL_BUILD_SUBARCH for nacl_env Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/include/build_config.h ('K') | « src/include/nacl_asm.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/includability/nacl.scons
diff --git a/tests/includability/nacl.scons b/tests/includability/nacl.scons
index 44f5838e3e7b45bd7c0a8af330e37b1060c2d64e..fd0f8ed2ddf9f85d64feafb8d07ca4ccf5083e50 100644
--- a/tests/includability/nacl.scons
+++ b/tests/includability/nacl.scons
@@ -8,4 +8,9 @@ Import('env')
# Check that headers are #includable without native_client/ being in
# the #include search path.
env.FilterOut(CPPPATH='${SOURCE_ROOT}')
+
+# Remove the forced inclusion of build_config.h, which requires native_client/
+# to be in the search path.
+env.FilterOut(CCFLAGS=[
+ '-include', '$SOURCE_ROOT/native_client/src/include/build_config.h'])
Mark Seaborn 2015/01/07 20:52:39 Nit: Either add an empty line after this or remove
teravest 2015/01/08 17:17:13 Added an empty line after.
env.ComponentProgram('includability_test', 'use_irt.c')
« src/include/build_config.h ('K') | « src/include/nacl_asm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698