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.
5 # TODO(bradchen): eliminate need for the warning flag removals below
8 '../../../../../build/common.gypi',
12 'target_base': 'none',
14 'target_conditions': [
15 ['target_base=="ncdis_seg_sfi"', {
32 ['target_base=="ncdis_seg_sfi_verbose"', {
49 ['target_base=="ncval_seg_sfi"', {
52 'ncvalidate_detailed.c',
69 # ----------------------------------------------------------------------
71 ['target_arch=="ia32"', {
74 'target_name': 'ncdis_seg_sfi_x86_32',
75 'type': 'static_library',
77 'target_base': 'ncdis_seg_sfi',
80 'target_name': 'ncdis_seg_sfi_verbose_x86_32',
81 'type': 'static_library',
83 'target_base': 'ncdis_seg_sfi_verbose',
86 'ncdis_seg_sfi_x86_32',
87 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:ncval_base_verbose_x86_32'
91 'target_name': 'ncval_seg_sfi_x86_32',
92 'type': 'static_library',
94 'target_base': 'ncval_seg_sfi',
97 'ncdis_seg_sfi_x86_32',
98 '<(DEPTH)/native_client/src/trusted/validator_x86/validator_x86.gyp:nccopy_x86_32',
99 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:ncval_base_x86_32'
101 'hard_dependency': 1,
102 # VS2010 does not correctly incrementally link obj files generated
103 # from asm files. This flag disables UseLibraryDependencyInputs to
104 # avoid this problem.
105 'msvs_2010_disable_uldi_when_referenced': 1,
108 ['OS=="win" and target_arch=="ia32"', {
111 'target_name': 'ncdis_seg_sfi_x86_64',
112 'type': 'static_library',
114 'target_base': 'ncdis_seg_sfi',
118 'target_name': 'ncdis_seg_sfi_verbose_x86_64',
119 'type': 'static_library',
121 'target_base': 'ncdis_seg_sfi_verbose',
125 'ncval_seg_sfi_x86_64',
126 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:ncval_base_verbose_x86_64'
128 'hard_dependency': 1,
130 'target_name': 'ncval_seg_sfi_x86_64',
131 'type': 'static_library',
133 'target_base': 'ncval_seg_sfi',
137 'ncdis_seg_sfi_x86_64',
138 '<(DEPTH)/native_client/src/trusted/validator_x86/validator_x86.gyp:nccopy_x86_64',
139 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:ncval_base_x86_64'
141 'hard_dependency': 1,
144 ['target_arch=="x64"', {
147 'target_name': 'ncdis_seg_sfi_x86_64',
148 'type': 'static_library',
150 'target_base': 'ncdis_seg_sfi',
153 'target_name': 'ncdis_seg_sfi_verbose_x86_64',
154 'type': 'static_library',
156 'target_base': 'ncdis_seg_sfi_verbose',
159 'ncval_seg_sfi_x86_64',
160 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:ncval_base_verbose_x86_64' ],
161 'hard_dependency': 1,
163 'target_name': 'ncval_seg_sfi_x86_64',
164 'type': 'static_library',
166 'target_base': 'ncval_seg_sfi',
169 'ncdis_seg_sfi_x86_64',
170 '<(DEPTH)/native_client/src/trusted/validator_x86/validator_x86.gyp:nccopy_x86_64',
171 '<(DEPTH)/native_client/src/trusted/validator/x86/validate_x86.gyp:ncval_base_x86_64' ],
172 'hard_dependency': 1,