| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 # This needs to be a static library rather than a sources set because small | 7 # This needs to be a static library rather than a sources set because small |
| 8 # portions of this are used in some contexts (like chrome_elf), and it | 8 # portions of this are used in some contexts (like chrome_elf), and it |
| 9 # doesnn't seem to dead-code strip very well. This saves 12K on chrome_elf.dll, | 9 # doesnn't seem to dead-code strip very well. This saves 12K on chrome_elf.dll, |
| 10 # over a source set, for example. | 10 # over a source set, for example. |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 executable("cfi_unittest_exe") { | 215 executable("cfi_unittest_exe") { |
| 216 sources = [ | 216 sources = [ |
| 217 "tests/integration_tests/cfi_unittest_exe.cc", | 217 "tests/integration_tests/cfi_unittest_exe.cc", |
| 218 ] | 218 ] |
| 219 deps = [ | 219 deps = [ |
| 220 "//base", | 220 "//base", |
| 221 "//build/config/sanitizers:deps", | 221 "//build/config/sanitizers:deps", |
| 222 "//build/win:default_exe_manifest", | 222 "//build/win:default_exe_manifest", |
| 223 ] | 223 ] |
| 224 | |
| 225 # cfi_unittest.cc tests require this exe is built with CFG enabled. | |
| 226 configs += [ "//build/config/win:win_msvc_cfg" ] | |
| 227 } | 224 } |
| 228 | 225 |
| 229 loadable_module("sbox_integration_test_hook_dll") { | 226 loadable_module("sbox_integration_test_hook_dll") { |
| 230 sources = [ | 227 sources = [ |
| 231 "tests/integration_tests/hooking_dll.cc", | 228 "tests/integration_tests/hooking_dll.cc", |
| 232 "tests/integration_tests/integration_tests_common.h", | 229 "tests/integration_tests/integration_tests_common.h", |
| 233 ] | 230 ] |
| 234 } | 231 } |
| 235 | 232 |
| 236 executable("sbox_integration_test_win_proc") { | 233 executable("sbox_integration_test_win_proc") { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 "sandbox_poc/pocdll/spyware.cc", | 320 "sandbox_poc/pocdll/spyware.cc", |
| 324 "sandbox_poc/pocdll/utils.h", | 321 "sandbox_poc/pocdll/utils.h", |
| 325 ] | 322 ] |
| 326 | 323 |
| 327 defines = [ "POCDLL_EXPORTS" ] | 324 defines = [ "POCDLL_EXPORTS" ] |
| 328 | 325 |
| 329 deps = [ | 326 deps = [ |
| 330 "//build/config/sanitizers:deps", | 327 "//build/config/sanitizers:deps", |
| 331 ] | 328 ] |
| 332 } | 329 } |
| OLD | NEW |