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

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: fixes for mseaborn 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
« no previous file with comments | « 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..3c1fa77c26a84c8b95655a28607c2cbd7304222f 100644
--- a/tests/includability/nacl.scons
+++ b/tests/includability/nacl.scons
@@ -8,4 +8,10 @@ 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'])
+
env.ComponentProgram('includability_test', 'use_irt.c')
« no previous file with comments | « src/include/nacl_asm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698