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

Side by Side Diff: sandbox/win/sandbox_win.gypi

Issue 11788002: Make the Windows sandbox support a normal x64 build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | sandbox/win/src/sandbox.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'sandbox_windows_target': 0, 8 'sandbox_windows_target': 0,
9 'target_arch%': 'ia32',
9 }, 10 },
10 'target_conditions': [ 11 'target_conditions': [
11 ['sandbox_windows_target==1', { 12 ['sandbox_windows_target==1', {
12 # Files that are shared between the 32-bit and the 64-bit versions 13 # Files that are shared between the 32-bit and the 64-bit versions
13 # of the Windows sandbox library. 14 # of the Windows sandbox library.
14 'sources': [ 15 'sources': [
15 'src/acl.cc', 16 'src/acl.cc',
16 'src/acl.h', 17 'src/acl.h',
17 'src/app_container.cc', 18 'src/app_container.cc',
18 'src/app_container.h', 19 'src/app_container.h',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 'src/target_process.h', 127 'src/target_process.h',
127 'src/target_services.cc', 128 'src/target_services.cc',
128 'src/target_services.h', 129 'src/target_services.h',
129 'src/win_utils.cc', 130 'src/win_utils.cc',
130 'src/win_utils.h', 131 'src/win_utils.h',
131 'src/win2k_threadpool.cc', 132 'src/win2k_threadpool.cc',
132 'src/win2k_threadpool.h', 133 'src/win2k_threadpool.h',
133 'src/window.cc', 134 'src/window.cc',
134 'src/window.h', 135 'src/window.h',
135 ], 136 ],
137 'target_conditions': [
138 ['target_arch=="x64"', {
139 'sources': [
140 'src/interceptors_64.cc',
141 'src/interceptors_64.h',
142 'src/resolver_64.cc',
143 'src/service_resolver_64.cc',
144 'src/Wow64_64.cc',
145 ],
146 }],
147 ['target_arch=="ia32"', {
148 'sources': [
149 'src/resolver_32.cc',
150 'src/service_resolver_32.cc',
151 'src/sidestep_resolver.cc',
152 'src/sidestep_resolver.h',
153 'src/sidestep\ia32_modrm_map.cpp',
154 'src/sidestep\ia32_opcode_map.cpp',
155 'src/sidestep\mini_disassembler_types.h',
156 'src/sidestep\mini_disassembler.cpp',
157 'src/sidestep\mini_disassembler.h',
158 'src/sidestep\preamble_patcher_with_stub.cpp',
159 'src/sidestep\preamble_patcher.h',
160 'src/Wow64.cc',
161 'src/Wow64.h',
162 ],
163 }],
164 ],
136 }], 165 }],
137 ], 166 ],
138 }, 167 },
139 'targets': [ 168 'targets': [
140 { 169 {
141 'target_name': 'sandbox', 170 'target_name': 'sandbox',
142 'type': 'static_library', 171 'type': 'static_library',
143 'variables': { 172 'variables': {
144 'sandbox_windows_target': 1, 173 'sandbox_windows_target': 1,
145 }, 174 },
146 'dependencies': [ 175 'dependencies': [
147 '../testing/gtest.gyp:gtest', 176 '../testing/gtest.gyp:gtest',
148 '../base/base.gyp:base', 177 '../base/base.gyp:base',
149 '../base/base.gyp:base_static', 178 '../base/base.gyp:base_static',
150 ], 179 ],
151 'export_dependent_settings': [ 180 'export_dependent_settings': [
152 '../base/base.gyp:base', 181 '../base/base.gyp:base',
153 ], 182 ],
154 'sources': [
155 # Files that are used by the 32-bit version of Windows sandbox only.
156 'src/resolver_32.cc',
157 'src/service_resolver_32.cc',
158 'src/sidestep_resolver.cc',
159 'src/sidestep_resolver.h',
160 'src/sidestep\ia32_modrm_map.cpp',
161 'src/sidestep\ia32_opcode_map.cpp',
162 'src/sidestep\mini_disassembler_types.h',
163 'src/sidestep\mini_disassembler.cpp',
164 'src/sidestep\mini_disassembler.h',
165 'src/sidestep\preamble_patcher_with_stub.cpp',
166 'src/sidestep\preamble_patcher.h',
167 'src/Wow64.cc',
168 'src/Wow64.h',
169 ],
170 'include_dirs': [ 183 'include_dirs': [
171 '../..', 184 '../..',
172 ], 185 ],
173 'copies': [ 186 'copies': [
174 { 187 {
175 'destination': '<(PRODUCT_DIR)', 188 'destination': '<(PRODUCT_DIR)',
176 'files': [ 189 'files': [
177 'wow_helper/wow_helper.exe', 190 'wow_helper/wow_helper.exe',
178 'wow_helper/wow_helper.pdb', 191 'wow_helper/wow_helper.pdb',
179 ], 192 ],
180 }, 193 },
181 ], 194 ],
182 'direct_dependent_settings': { 195 'direct_dependent_settings': {
183 'include_dirs': [ 196 'include_dirs': [
184 'src', 197 'src',
185 '../..', 198 '../..',
186 ], 199 ],
187 }, 200 },
188 }, 201 },
189 { 202 {
190 'target_name': 'sandbox_win64', 203 'target_name': 'sandbox_win64',
191 'type': 'static_library', 204 'type': 'static_library',
192 'variables': { 205 'variables': {
193 'sandbox_windows_target': 1, 206 'sandbox_windows_target': 1,
207 'target_arch': 'x64',
194 }, 208 },
195 'dependencies': [ 209 'dependencies': [
196 '../testing/gtest.gyp:gtest', 210 '../testing/gtest.gyp:gtest',
197 '../base/base.gyp:base_nacl_win64', 211 '../base/base.gyp:base_nacl_win64',
198 '../base/base.gyp:base_static_win64', 212 '../base/base.gyp:base_static_win64',
199 ], 213 ],
200 'configurations': { 214 'configurations': {
201 'Common_Base': { 215 'Common_Base': {
202 'msvs_target_platform': 'x64', 216 'msvs_target_platform': 'x64',
203 }, 217 },
204 }, 218 },
205 'sources': [
206 # Files that are used by the 64-bit version of Windows sandbox only.
207 'src/interceptors_64.cc',
208 'src/interceptors_64.h',
209 'src/resolver_64.cc',
210 'src/service_resolver_64.cc',
211 'src/Wow64_64.cc',
212 ],
213 'include_dirs': [ 219 'include_dirs': [
214 '../..', 220 '../..',
215 ], 221 ],
216 'direct_dependent_settings': { 222 'direct_dependent_settings': {
217 'include_dirs': [ 223 'include_dirs': [
218 'src', 224 'src',
219 '../..', 225 '../..',
220 ], 226 ],
221 }, 227 },
222 'defines': [ 228 'defines': [
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 ], 344 ],
339 'defines': [ 345 'defines': [
340 'POCDLL_EXPORTS', 346 'POCDLL_EXPORTS',
341 ], 347 ],
342 'include_dirs': [ 348 'include_dirs': [
343 '../..', 349 '../..',
344 ], 350 ],
345 }, 351 },
346 ], 352 ],
347 } 353 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/win/src/sandbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698