initial import
[vuplus_webkit] / Source / ThirdParty / gyp / test / toolsets / toolsets.gyp
1 # Copyright (c) 2009 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'target_defaults': {
7     'target_conditions': [
8       ['_toolset=="target"', {'defines': ['TARGET']}]
9     ]
10   },
11   'targets': [
12     {
13       'target_name': 'toolsets',
14       'type': 'static_library',
15       'toolsets': ['target', 'host'],
16       'sources': [
17         'toolsets.cc',
18       ],
19     },
20     {
21       'target_name': 'host-main',
22       'type': 'executable',
23       'toolsets': ['host'],
24       'dependencies': ['toolsets'],
25       'sources': [
26         'main.cc',
27       ],
28     },
29     {
30       'target_name': 'target-main',
31       'type': 'executable',
32       'dependencies': ['toolsets'],
33       'sources': [
34         'main.cc',
35       ],
36     },
37   ],
38 }