Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / generic_container / generic_container.gyp
1 # -*- python -*-
2 #
3 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 {
8   'includes': [
9     '../../../build/common.gypi',
10   ],
11   'target_defaults': {
12     'variables':{
13       'target_base': 'none',
14     },
15     'target_conditions': [
16       ['target_base=="generic_container"', {
17         'sources': [
18           'container.h',
19           'container_list.c',
20           'container_list.h',
21           'container_hash_table.c',
22           'container_hash_table.h',
23         ],
24       },
25     ]],
26   },
27   'conditions': [
28     ['OS=="win"', {
29       'targets': [
30         {
31           'target_name': 'generic_container64',
32           'type': 'static_library',
33           'variables': {
34             'target_base': 'generic_container',
35             'win_target': 'x64',
36           },
37           'dependencies': [
38             '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64',
39           ],
40         },
41       ],
42     }],
43   ],
44   'targets': [
45     {
46       'target_name': 'generic_container',
47       'type': 'static_library',
48       'variables': {
49         'target_base': 'generic_container',
50       },
51       'dependencies': [
52         '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
53       ],
54     },
55   ],
56 }