summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2014-07-20 05:57:33 +0000
committerthakis@chromium.org <thakis@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2014-07-20 05:57:33 +0000
commitb886dac6179e7d4d7b1b71c94cb6ca84f65d2eff (patch)
treea47f4101835f08c53fece3b72d90e86466951c14
parent80e01de623edbdfc23bc7c860cccefb4e50e8a7d (diff)
downloadgyp-b886dac6179e7d4d7b1b71c94cb6ca84f65d2eff.tar.gz
Add test files for https://codereview.chromium.org/406523005/
Maybe the try failures are due to the try server not adding the new files correctly, since the test passes for me locally. Add the test files in a separate commit (not used by anything yet) to test this theory. git-svn-id: http://gyp.googlecode.com/svn/trunk@1952 78cadc50-ecff-11dd-a971-7dbc132099af
-rw-r--r--test/win/system-include/bar/header.h0
-rw-r--r--test/win/system-include/common/commonheader.h0
-rw-r--r--test/win/system-include/foo/header.h0
-rw-r--r--test/win/system-include/main.cc4
-rw-r--r--test/win/system-include/test.gyp26
5 files changed, 30 insertions, 0 deletions
diff --git a/test/win/system-include/bar/header.h b/test/win/system-include/bar/header.h
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/win/system-include/bar/header.h
diff --git a/test/win/system-include/common/commonheader.h b/test/win/system-include/common/commonheader.h
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/win/system-include/common/commonheader.h
diff --git a/test/win/system-include/foo/header.h b/test/win/system-include/foo/header.h
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/win/system-include/foo/header.h
diff --git a/test/win/system-include/main.cc b/test/win/system-include/main.cc
new file mode 100644
index 00000000..b04ea8a5
--- /dev/null
+++ b/test/win/system-include/main.cc
@@ -0,0 +1,4 @@
+#include <commonheader.h>
+#include <header.h>
+
+int main() {}
diff --git a/test/win/system-include/test.gyp b/test/win/system-include/test.gyp
new file mode 100644
index 00000000..07f26365
--- /dev/null
+++ b/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', ],
+ },
+ ],
+}