diff options
author | bradnelson@google.com <bradnelson@google.com@78cadc50-ecff-11dd-a971-7dbc132099af> | 2009-10-20 00:22:52 +0000 |
---|---|---|
committer | bradnelson@google.com <bradnelson@google.com@78cadc50-ecff-11dd-a971-7dbc132099af> | 2009-10-20 00:22:52 +0000 |
commit | f6affe1df80f8e59a0e17f2077182ba6c337004f (patch) | |
tree | 849b8420b8f29b87afa2e15971efc87e99567fbb /test/toolsets/toolsets.gyp | |
parent | 631d527848120f9f3ba8ebc1e216d1f9cd6f38e1 (diff) | |
download | gyp-f6affe1df80f8e59a0e17f2077182ba6c337004f.tar.gz |
Adding in missing tests from 297006 (incorrectly cloned from 271019).
Oops, forgot to add new files.
BUG=None
TEST=None
TBR=piman
Review URL: http://codereview.chromium.org/304010
git-svn-id: http://gyp.googlecode.com/svn/trunk@711 78cadc50-ecff-11dd-a971-7dbc132099af
Diffstat (limited to 'test/toolsets/toolsets.gyp')
-rw-r--r-- | test/toolsets/toolsets.gyp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/toolsets/toolsets.gyp b/test/toolsets/toolsets.gyp new file mode 100644 index 00000000..c709fb10 --- /dev/null +++ b/test/toolsets/toolsets.gyp @@ -0,0 +1,34 @@ +{ + 'target_defaults': { + 'target_conditions': [ + ['_toolset=="target"', {'defines': ['TARGET']}] + ] + }, + 'targets': [ + { + 'target_name': 'toolsets', + 'type': 'static_library', + 'toolsets': ['target', 'host'], + 'sources': [ + 'toolsets.cc', + ], + }, + { + 'target_name': 'host-main', + 'type': 'executable', + 'toolsets': ['host'], + 'dependencies': ['toolsets'], + 'sources': [ + 'main.cc', + ], + }, + { + 'target_name': 'target-main', + 'type': 'executable', + 'dependencies': ['toolsets'], + 'sources': [ + 'main.cc', + ], + }, + ], +} |