summaryrefslogtreecommitdiff
path: root/test/toolsets/toolsets.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'test/toolsets/toolsets.gyp')
-rw-r--r--test/toolsets/toolsets.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/toolsets/toolsets.gyp b/test/toolsets/toolsets.gyp
index e41b928d..286edf2f 100644
--- a/test/toolsets/toolsets.gyp
+++ b/test/toolsets/toolsets.gyp
@@ -34,5 +34,15 @@
'main.cc',
],
},
+ # This tests that build systems can handle a shared library being build for
+ # both host and target.
+ {
+ 'target_name': 'janus',
+ 'type': 'shared_library',
+ 'toolsets': ['target', 'host'],
+ 'sources': [
+ 'toolsets.cc',
+ ],
+ },
],
}