OLD | NEW |
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 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 'src/sidestep\ia32_opcode_map.cpp', | 159 'src/sidestep\ia32_opcode_map.cpp', |
160 'src/sidestep\mini_disassembler_types.h', | 160 'src/sidestep\mini_disassembler_types.h', |
161 'src/sidestep\mini_disassembler.cpp', | 161 'src/sidestep\mini_disassembler.cpp', |
162 'src/sidestep\mini_disassembler.h', | 162 'src/sidestep\mini_disassembler.h', |
163 'src/sidestep\preamble_patcher_with_stub.cpp', | 163 'src/sidestep\preamble_patcher_with_stub.cpp', |
164 'src/sidestep\preamble_patcher.h', | 164 'src/sidestep\preamble_patcher.h', |
165 'src/Wow64.cc', | 165 'src/Wow64.cc', |
166 'src/Wow64.h', | 166 'src/Wow64.h', |
167 ], | 167 ], |
168 'include_dirs': [ | 168 'include_dirs': [ |
169 '..', | 169 '../..', |
170 ], | 170 ], |
171 'copies': [ | 171 'copies': [ |
172 { | 172 { |
173 'destination': '<(PRODUCT_DIR)', | 173 'destination': '<(PRODUCT_DIR)', |
174 'files': [ | 174 'files': [ |
175 'wow_helper/wow_helper.exe', | 175 #FIXME just for trybot |
176 'wow_helper/wow_helper.pdb', | 176 #'wow_helper/wow_helper.exe', |
| 177 #'wow_helper/wow_helper.pdb', |
177 ], | 178 ], |
178 }, | 179 }, |
179 ], | 180 ], |
180 'direct_dependent_settings': { | 181 'direct_dependent_settings': { |
181 'include_dirs': [ | 182 'include_dirs': [ |
182 'src', | 183 'src', |
183 '..', | 184 '../..', |
184 ], | 185 ], |
185 }, | 186 }, |
186 }, | 187 }, |
187 { | 188 { |
188 'target_name': 'sandbox_win64', | 189 'target_name': 'sandbox_win64', |
189 'type': 'static_library', | 190 'type': 'static_library', |
190 'variables': { | 191 'variables': { |
191 'sandbox_windows_target': 1, | 192 'sandbox_windows_target': 1, |
192 }, | 193 }, |
193 'dependencies': [ | 194 'dependencies': [ |
194 '../testing/gtest.gyp:gtest', | 195 '../testing/gtest.gyp:gtest', |
195 '../base/base.gyp:base_nacl_win64', | 196 '../base/base.gyp:base_nacl_win64', |
196 '../base/base.gyp:base_static_win64', | 197 '../base/base.gyp:base_static_win64', |
197 ], | 198 ], |
198 'configurations': { | 199 'configurations': { |
199 'Common_Base': { | 200 'Common_Base': { |
200 'msvs_target_platform': 'x64', | 201 'msvs_target_platform': 'x64', |
201 }, | 202 }, |
202 }, | 203 }, |
203 'sources': [ | 204 'sources': [ |
204 # Files that are used by the 64-bit version of Windows sandbox only. | 205 # Files that are used by the 64-bit version of Windows sandbox only. |
205 'src/interceptors_64.cc', | 206 'src/interceptors_64.cc', |
206 'src/interceptors_64.h', | 207 'src/interceptors_64.h', |
207 'src/resolver_64.cc', | 208 'src/resolver_64.cc', |
208 'src/service_resolver_64.cc', | 209 'src/service_resolver_64.cc', |
209 'src/Wow64_64.cc', | 210 'src/Wow64_64.cc', |
210 ], | 211 ], |
211 'include_dirs': [ | 212 'include_dirs': [ |
212 '..', | 213 '../..', |
213 ], | 214 ], |
214 'direct_dependent_settings': { | 215 'direct_dependent_settings': { |
215 'include_dirs': [ | 216 'include_dirs': [ |
216 'src', | 217 'src', |
217 '..', | 218 '../..', |
218 ], | 219 ], |
219 }, | 220 }, |
220 'defines': [ | 221 'defines': [ |
221 '<@(nacl_win64_defines)', | 222 '<@(nacl_win64_defines)', |
222 ] | 223 ] |
223 }, | 224 }, |
224 { | 225 { |
225 'target_name': 'sbox_integration_tests', | 226 'target_name': 'sbox_integration_tests', |
226 'type': 'executable', | 227 'type': 'executable', |
227 'dependencies': [ | 228 'dependencies': [ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 'dependencies': [ | 296 'dependencies': [ |
296 'sandbox', | 297 'sandbox', |
297 'pocdll', | 298 'pocdll', |
298 ], | 299 ], |
299 'sources': [ | 300 'sources': [ |
300 'sandbox_poc/main_ui_window.cc', | 301 'sandbox_poc/main_ui_window.cc', |
301 'sandbox_poc/main_ui_window.h', | 302 'sandbox_poc/main_ui_window.h', |
302 'sandbox_poc/resource.h', | 303 'sandbox_poc/resource.h', |
303 'sandbox_poc/sandbox.cc', | 304 'sandbox_poc/sandbox.cc', |
304 'sandbox_poc/sandbox.h', | 305 'sandbox_poc/sandbox.h', |
305 'sandbox_poc/sandbox.ico', | 306 #FIXME - just for trybot |
| 307 #'sandbox_poc/sandbox.ico', |
306 'sandbox_poc/sandbox.rc', | 308 'sandbox_poc/sandbox.rc', |
307 ], | 309 ], |
308 'link_settings': { | 310 'link_settings': { |
309 'libraries': [ | 311 'libraries': [ |
310 '-lcomctl32.lib', | 312 '-lcomctl32.lib', |
311 ], | 313 ], |
312 }, | 314 }, |
313 'msvs_settings': { | 315 'msvs_settings': { |
314 'VCLinkerTool': { | 316 'VCLinkerTool': { |
315 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 317 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
(...skipping 12 matching lines...) Expand all Loading... |
328 'sandbox_poc/pocdll/pocdll.cc', | 330 'sandbox_poc/pocdll/pocdll.cc', |
329 'sandbox_poc/pocdll/processes_and_threads.cc', | 331 'sandbox_poc/pocdll/processes_and_threads.cc', |
330 'sandbox_poc/pocdll/registry.cc', | 332 'sandbox_poc/pocdll/registry.cc', |
331 'sandbox_poc/pocdll/spyware.cc', | 333 'sandbox_poc/pocdll/spyware.cc', |
332 'sandbox_poc/pocdll/utils.h', | 334 'sandbox_poc/pocdll/utils.h', |
333 ], | 335 ], |
334 'defines': [ | 336 'defines': [ |
335 'POCDLL_EXPORTS', | 337 'POCDLL_EXPORTS', |
336 ], | 338 ], |
337 'include_dirs': [ | 339 'include_dirs': [ |
338 '..', | 340 '../..', |
339 ], | 341 ], |
340 }, | 342 }, |
341 ], | 343 ], |
342 } | 344 } |
OLD | NEW |