Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: src/trusted/validator/x86/decoder/ncval_x86_decoder.gyp

Issue 636933004: stop building/testing old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2011 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 decoding x86 instructions.
6 # Used to define a "full" decoder (used by ncdis). Currently used to decode
7 # instructions for the x86-64 validator. Future plans is to encorporate the
8 # decoder into the x86-32 validator.
9 {
10 'includes': [
11 '../../../../../build/common.gypi',
12 ],
13 'target_defaults': {
14 'variables': {
15 'target_base': 'none',
16 },
17 'target_conditions': [
18 ['target_base=="nc_opcode_modeling"', {
19 'sources': ['ncopcode_desc.c'],
20 'cflags!': [
21 '-Wextra',
22 '-Wswitch-enum',
23 '-Wsign-compare'
24 ],
25 'xcode_settings': {
26 'WARNING_CFLAGS!': [
27 '-Wextra',
28 '-Wswitch-enum',
29 '-Wsign-compare'
30 ],
31 },
32 }],
33 ['target_base=="nc_opcode_modeling_verbose"', {
34 'sources': ['ncopcode_desc_verbose.c'],
35 'cflags!': [
36 '-Wextra',
37 '-Wswitch-enum',
38 '-Wsign-compare'
39 ],
40 'xcode_settings': {
41 'WARNING_CFLAGS!': [
42 '-Wextra',
43 '-Wswitch-enum',
44 '-Wsign-compare'
45 ]
46 },
47 }],
48 ['target_base=="nc_decoder"', {
49 'sources': [
50 'nc_inst_iter.c',
51 'nc_inst_state.c',
52 'nc_inst_trans.c',
53 'ncop_exps.c',
54 ],
55 'cflags!': [
56 '-Wextra',
57 '-Wswitch-enum',
58 '-Wsign-compare'
59 ],
60 'xcode_settings': {
61 'WARNING_CFLAGS!': [
62 '-Wextra',
63 '-Wswitch-enum',
64 '-Wsign-compare'
65 ],
66 },
67 }],
68 ],
69 },
70 # ----------------------------------------------------------------------
71 'conditions': [
72 ['target_arch=="ia32"', {
73 'targets': [
74 {
75 'target_name': 'nc_opcode_modeling_x86_32',
76 'type': 'static_library',
77 'hard_dependency': 1,
78 'variables': {
79 'target_base': 'nc_opcode_modeling',
80 },
81 'dependencies': [
82 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:n cval_base_x86_32',
83 ],
84 }, {
85 'target_name': 'nc_opcode_modeling_verbose_x86_32',
86 'type': 'static_library',
87 'hard_dependency': 1,
88 'variables': {
89 'target_base': 'nc_opcode_modeling_verbose',
90 },
91 'dependencies': [
92 'nc_opcode_modeling_x86_32',
93 ],
94 }, {
95 'target_name': 'nc_decoder_x86_32',
96 'type': 'static_library',
97 'variables': {
98 'target_base': 'nc_decoder',
99 },
100 'dependencies': [
101 'nc_opcode_modeling_x86_32',
102 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:n cval_base_x86_32',
103 ],
104 }],
105 }],
106 ['OS=="win" and target_arch=="ia32"', {
107 'targets': [
108 {
109 'target_name': 'nc_opcode_modeling_x86_64',
110 'type': 'static_library',
111 'hard_dependency': 1,
112 'variables': {
113 'target_base': 'nc_opcode_modeling',
114 'win_target': 'x64',
115 },
116 'dependencies': [
117 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:n cval_base_x86_64',
118 ],
119 }, {
120 'target_name': 'nc_opcode_modeling_verbose_x86_64',
121 'type': 'static_library',
122 'hard_dependency': 1,
123 'variables': {
124 'target_base': 'nc_opcode_modeling_verbose',
125 'win_target': 'x64',
126 },
127 'dependencies': [
128 'nc_opcode_modeling_x86_64',
129 ],
130 }, {
131 'target_name': 'nc_decoder_x86_64',
132 'type': 'static_library',
133 'variables': {
134 'target_base': 'nc_decoder',
135 'win_target': 'x64',
136 },
137 'dependencies': [
138 'nc_opcode_modeling_x86_64',
139 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:n cval_base_x86_64',
140 ],
141 }],
142 }],
143 ['target_arch=="x64"', {
144 'targets': [
145 {
146 'target_name': 'nc_opcode_modeling_x86_64',
147 'type': 'static_library',
148 'hard_dependency': 1,
149 'variables': {
150 'target_base': 'nc_opcode_modeling',
151 },
152 'dependencies': [
153 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:n cval_base_x86_64',
154 ],
155 }, {
156 'target_name': 'nc_opcode_modeling_verbose_x86_64',
157 'type': 'static_library',
158 'hard_dependency': 1,
159 'variables': {
160 'target_base': 'nc_opcode_modeling_verbose',
161 },
162 'dependencies': [
163 'nc_opcode_modeling_x86_64',
164 ],
165 }, {
166 'target_name': 'nc_decoder_x86_64',
167 'type': 'static_library',
168 'variables': {
169 'target_base': 'nc_decoder',
170 },
171 'dependencies': [
172 'nc_opcode_modeling_x86_64',
173 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:n cval_base_x86_64',
174 ],
175 }],
176 }],
177 ],
178 }
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/decoder/generator/build.scons ('k') | src/trusted/validator/x86/ncval_reg_sfi/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698