OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 The Native Client Authors. 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 # Build the specific library dependencies for validating on x86-64 | |
6 { | |
7 'includes': [ | |
8 '../../../../../build/common.gypi', | |
9 ], | |
10 'target_defaults': { | |
11 'variables': { | |
12 'target_base': 'none', | |
13 }, | |
14 'target_conditions': [ | |
15 ['target_base=="ncvalidate_x86_64"', { | |
16 'sources': [ | |
17 'ncvalidate.c', | |
18 ], | |
19 'cflags!': [ | |
20 '-Wextra', | |
21 '-Wswitch-enum', | |
22 '-Wsign-compare' | |
23 ], | |
24 'defines': [ 'NACL_TRUSTED_BUT_NOT_TCB' ], | |
25 'xcode_settings': { | |
26 'WARNING_CFLAGS!': [ | |
27 '-Wextra', | |
28 '-Wswitch-enum', | |
29 '-Wsign-compare' | |
30 ], | |
31 }, | |
32 }], | |
33 ['target_base=="ncvalidate_verbose_x86_64"', { | |
34 'sources': [ | |
35 'ncvalidate_verbose.c', | |
36 ], | |
37 'cflags!': [ | |
38 '-Wextra', | |
39 '-Wswitch-enum', | |
40 '-Wsign-compare' | |
41 ], | |
42 'defines': [ 'NACL_TRUSTED_BUT_NOT_TCB' ], | |
43 'xcode_settings': { | |
44 'WARNING_CFLAGS!': [ | |
45 '-Wextra', | |
46 '-Wswitch-enum', | |
47 '-Wsign-compare' | |
48 ], | |
49 }, | |
50 }], | |
51 ], | |
52 'conditions': [ | |
53 ['OS=="win" and target_arch=="ia32"', { | |
54 'variables': { | |
55 'win_target': 'x64', | |
56 }, | |
57 }], | |
58 ], | |
59 }, | |
60 'conditions': [ | |
61 ['OS=="win" or target_arch=="x64"', { | |
62 'targets': [ | |
63 # ---------------------------------------------------------------------- | |
64 { | |
65 'target_name': 'ncvalidate_x86_64', | |
66 'type': 'static_library', | |
67 'variables': { | |
68 'target_base': 'ncvalidate_x86_64', | |
69 }, | |
70 'dependencies': [ | |
71 '<(DEPTH)/native_client/src/trusted/validator/x86/ncval_reg_sfi/ncva
l_reg_sfi.gyp:ncval_reg_sfi_x86_64' | |
72 ], | |
73 'hard_dependency': 1, | |
74 }, | |
75 { | |
76 'target_name': 'ncvalidate_verbose_x86_64', | |
77 'type': 'static_library', | |
78 'variables': { | |
79 'target_base': 'ncvalidate_verbose_x86_64', | |
80 }, | |
81 'dependencies': [ | |
82 'ncvalidate_x86_64', | |
83 '<(DEPTH)/native_client/src/trusted/validator/x86/ncval_reg_sfi/ncva
l_reg_sfi.gyp:ncval_reg_sfi_verbose_x86_64' | |
84 ], | |
85 'hard_dependency': 1, | |
86 }, | |
87 ], | |
88 }], | |
89 ], | |
90 } | |
91 | |
OLD | NEW |