| 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 'target_arch%': 'ia32', | 9 'target_arch%': 'ia32', |
| 10 }, | 10 }, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 }, | 190 }, |
| 191 ], | 191 ], |
| 192 }], | 192 }], |
| 193 ], | 193 ], |
| 194 }, | 194 }, |
| 195 { | 195 { |
| 196 'target_name': 'sbox_integration_tests', | 196 'target_name': 'sbox_integration_tests', |
| 197 'type': 'executable', | 197 'type': 'executable', |
| 198 'dependencies': [ | 198 'dependencies': [ |
| 199 'sandbox', | 199 'sandbox', |
| 200 'sbox_integration_test_hook_dll', |
| 201 'sbox_integration_test_win_proc', |
| 200 '../base/base.gyp:test_support_base', | 202 '../base/base.gyp:test_support_base', |
| 201 '../testing/gtest.gyp:gtest', | 203 '../testing/gtest.gyp:gtest', |
| 202 ], | 204 ], |
| 203 'sources': [ | 205 'sources': [ |
| 204 'src/address_sanitizer_test.cc', | 206 'src/address_sanitizer_test.cc', |
| 205 'src/app_container_test.cc', | 207 'src/app_container_test.cc', |
| 206 'src/file_policy_test.cc', | 208 'src/file_policy_test.cc', |
| 207 'src/handle_inheritance_test.cc', | 209 'src/handle_inheritance_test.cc', |
| 208 'tests/integration_tests/integration_tests_test.cc', | 210 'tests/integration_tests/integration_tests_test.cc', |
| 209 'src/handle_closer_test.cc', | 211 'src/handle_closer_test.cc', |
| 210 'src/integrity_level_test.cc', | 212 'src/integrity_level_test.cc', |
| 211 'src/ipc_ping_test.cc', | 213 'src/ipc_ping_test.cc', |
| 212 'src/lpc_policy_test.cc', | 214 'src/lpc_policy_test.cc', |
| 213 'src/named_pipe_policy_test.cc', | 215 'src/named_pipe_policy_test.cc', |
| 214 'src/policy_target_test.cc', | 216 'src/policy_target_test.cc', |
| 215 'src/process_mitigations_test.cc', | 217 'src/process_mitigations_test.cc', |
| 216 'src/process_policy_test.cc', | 218 'src/process_policy_test.cc', |
| 217 'src/registry_policy_test.cc', | 219 'src/registry_policy_test.cc', |
| 218 'src/restricted_token_test.cc', | 220 'src/restricted_token_test.cc', |
| 219 'src/sync_policy_test.cc', | 221 'src/sync_policy_test.cc', |
| 220 'src/sync_policy_test.h', | 222 'src/sync_policy_test.h', |
| 221 'src/unload_dll_test.cc', | 223 'src/unload_dll_test.cc', |
| 222 'tests/common/controller.cc', | 224 'tests/common/controller.cc', |
| 223 'tests/common/controller.h', | 225 'tests/common/controller.h', |
| 224 'tests/common/test_utils.cc', | 226 'tests/common/test_utils.cc', |
| 225 'tests/common/test_utils.h', | 227 'tests/common/test_utils.h', |
| 226 'tests/integration_tests/integration_tests.cc', | 228 'tests/integration_tests/integration_tests.cc', |
| 229 'tests/integration_tests/integration_tests_common.h', |
| 227 ], | 230 ], |
| 228 'link_settings': { | 231 'link_settings': { |
| 229 'libraries': [ | 232 'libraries': [ |
| 230 '-ldxva2.lib', | 233 '-ldxva2.lib', |
| 231 ], | 234 ], |
| 232 }, | 235 }, |
| 233 }, | 236 }, |
| 234 { | 237 { |
| 238 'target_name': 'sbox_integration_test_hook_dll', |
| 239 'type': 'shared_library', |
| 240 'dependencies': [ |
| 241 ], |
| 242 'sources': [ |
| 243 'tests/integration_tests/hooking_dll.cc', |
| 244 'tests/integration_tests/integration_tests_common.h', |
| 245 ], |
| 246 }, |
| 247 { |
| 248 'target_name': 'sbox_integration_test_win_proc', |
| 249 'type': 'executable', |
| 250 'dependencies': [ |
| 251 ], |
| 252 'sources': [ |
| 253 'tests/integration_tests/hooking_win_proc.cc', |
| 254 'tests/integration_tests/integration_tests_common.h', |
| 255 ], |
| 256 'msvs_settings': { |
| 257 'VCLinkerTool': { |
| 258 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 259 }, |
| 260 }, |
| 261 }, |
| 262 { |
| 235 'target_name': 'sbox_validation_tests', | 263 'target_name': 'sbox_validation_tests', |
| 236 'type': 'executable', | 264 'type': 'executable', |
| 237 'dependencies': [ | 265 'dependencies': [ |
| 238 'sandbox', | 266 'sandbox', |
| 239 '../base/base.gyp:test_support_base', | 267 '../base/base.gyp:test_support_base', |
| 240 '../testing/gtest.gyp:gtest', | 268 '../testing/gtest.gyp:gtest', |
| 241 ], | 269 ], |
| 242 'sources': [ | 270 'sources': [ |
| 243 'tests/common/controller.cc', | 271 'tests/common/controller.cc', |
| 244 'tests/common/controller.h', | 272 'tests/common/controller.h', |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 '../../build/isolate.gypi', | 423 '../../build/isolate.gypi', |
| 396 ], | 424 ], |
| 397 'sources': [ | 425 'sources': [ |
| 398 '../sbox_validation_tests.isolate', | 426 '../sbox_validation_tests.isolate', |
| 399 ], | 427 ], |
| 400 }, | 428 }, |
| 401 ], | 429 ], |
| 402 }], | 430 }], |
| 403 ], | 431 ], |
| 404 } | 432 } |
| OLD | NEW |