diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/win/system-include')
5 files changed, 30 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/win/system-include/bar/header.h b/media/webrtc/trunk/tools/gyp/test/win/system-include/bar/header.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/system-include/bar/header.h diff --git a/media/webrtc/trunk/tools/gyp/test/win/system-include/common/commonheader.h b/media/webrtc/trunk/tools/gyp/test/win/system-include/common/commonheader.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/system-include/common/commonheader.h diff --git a/media/webrtc/trunk/tools/gyp/test/win/system-include/foo/header.h b/media/webrtc/trunk/tools/gyp/test/win/system-include/foo/header.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/system-include/foo/header.h diff --git a/media/webrtc/trunk/tools/gyp/test/win/system-include/main.cc b/media/webrtc/trunk/tools/gyp/test/win/system-include/main.cc new file mode 100644 index 000000000..b04ea8a53 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/system-include/main.cc @@ -0,0 +1,4 @@ +#include <commonheader.h> +#include <header.h> + +int main() {} diff --git a/media/webrtc/trunk/tools/gyp/test/win/system-include/test.gyp b/media/webrtc/trunk/tools/gyp/test/win/system-include/test.gyp new file mode 100644 index 000000000..07f263654 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/system-include/test.gyp @@ -0,0 +1,26 @@ +{ + 'target_defaults': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'WarningLevel': '4', + 'WarnAsError': 'true', + }, + }, + 'msvs_system_include_dirs': [ + '$(ProjectName)', # Different for each target + 'common', # Same for all targets + ], + }, + 'targets': [ + { + 'target_name': 'foo', + 'type': 'executable', + 'sources': [ 'main.cc', ], + }, + { + 'target_name': 'bar', + 'type': 'executable', + 'sources': [ 'main.cc', ], + }, + ], +} |