- add third_party src.
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator / validator.gyp
1 # -*- gyp -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 {
7   'includes': [
8     '../../../build/common.gypi',
9   ],
10   'targets': [
11     {
12       'target_name': 'validators',
13       'type': 'static_library',
14       'sources' : [
15         'validator_init.c',
16       ],
17       'conditions': [
18         ['nacl_validator_ragel!=0', {
19           'defines': [
20             'NACL_VALIDATOR_RAGEL=1',
21           ],
22         }],
23       ],
24     },
25     {
26       'target_name': 'validation_cache',
27       'type': 'static_library',
28       'sources' : [
29         'validation_cache.c',
30       ],
31       'dependencies': [
32         '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
33       ],
34     },
35   ],
36   'conditions': [
37     ['OS=="win" and target_arch=="ia32"', {
38       'targets': [
39         {
40           'target_name': 'validators64',
41           'type': 'static_library',
42           'sources' : [
43             'validator_init.c',
44           ],
45           'variables': {
46             'win_target': 'x64',
47           },
48           'conditions': [
49             ['nacl_validator_ragel!=0', {
50               'defines': [
51                 'NACL_VALIDATOR_RAGEL=1',
52               ],
53             }],
54           ],
55         },
56         {
57           'target_name': 'validation_cache64',
58           'type': 'static_library',
59           'sources' : [
60             'validation_cache.c',
61           ],
62           'variables': {
63             'win_target': 'x64',
64           },
65           'dependencies': [
66             '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64',
67           ],
68         },
69       ],
70     }],
71   ],
72 }