OLD | NEW |
---|---|
1 # -*- gyp -*- | 1 # -*- gyp -*- |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 '../../../build/common.gypi', | 8 '../../../build/common.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'validators', | 12 'target_name': 'validators', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'sources' : [ | 14 'sources' : [ |
15 'validator_init.c', | 15 'validator_init.c', |
16 ], | 16 ], |
17 'conditions': [ | 17 'conditions': [ |
18 ['nacl_validator_ragel!=0', { | 18 ['nacl_validator_ragel!=0', { |
19 'defines': [ | 19 'defines': [ |
20 'NACL_VALIDATOR_RAGEL=1', | 20 'NACL_VALIDATOR_RAGEL=1', |
21 ], | 21 ], |
22 }], | 22 }], |
23 ], | 23 ], |
24 }, | 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 }, | |
25 ], | 35 ], |
26 'conditions': [ | 36 'conditions': [ |
27 ['OS=="win"', { | 37 ['OS=="win"', { |
28 'targets': [ | 38 'targets': [ |
29 { | 39 { |
30 'target_name': 'validators64', | 40 'target_name': 'validators64', |
31 'type': 'static_library', | 41 'type': 'static_library', |
32 'sources' : [ | 42 'sources' : [ |
33 'validator_init.c', | 43 'validator_init.c', |
34 ], | 44 ], |
35 'variables': { | 45 'variables': { |
36 'win_target': 'x64', | 46 'win_target': 'x64', |
37 }, | 47 }, |
38 'conditions': [ | 48 'conditions': [ |
39 ['nacl_validator_ragel!=0', { | 49 ['nacl_validator_ragel!=0', { |
40 'defines': [ | 50 'defines': [ |
41 'NACL_VALIDATOR_RAGEL=1', | 51 'NACL_VALIDATOR_RAGEL=1', |
42 ], | 52 ], |
43 }], | 53 }], |
44 ], | 54 ], |
45 }, | 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 }, | |
Sam Clegg
2013/04/03 16:27:06
I think this change breaks the chrome win64 build:
| |
46 ], | 69 ], |
47 }], | 70 }], |
48 ], | 71 ], |
49 } | 72 } |
OLD | NEW |