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

Side by Side Diff: sandbox/win/BUILD.gn

Issue 2944493002: [Windows Sandbox Tests] Process Mitigations. (Closed)
Patch Set: Code review fixes, part 2. Created 3 years, 5 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
« no previous file with comments | « no previous file | sandbox/win/src/process_mitigations_extensionpoints_unittest.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 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "src/address_sanitizer_test.cc", 175 "src/address_sanitizer_test.cc",
176 "src/app_container_test.cc", 176 "src/app_container_test.cc",
177 "src/file_policy_test.cc", 177 "src/file_policy_test.cc",
178 "src/handle_closer_test.cc", 178 "src/handle_closer_test.cc",
179 "src/handle_inheritance_test.cc", 179 "src/handle_inheritance_test.cc",
180 "src/integrity_level_test.cc", 180 "src/integrity_level_test.cc",
181 "src/ipc_ping_test.cc", 181 "src/ipc_ping_test.cc",
182 "src/lpc_policy_test.cc", 182 "src/lpc_policy_test.cc",
183 "src/named_pipe_policy_test.cc", 183 "src/named_pipe_policy_test.cc",
184 "src/policy_target_test.cc", 184 "src/policy_target_test.cc",
185 "src/process_mitigations_test.cc", 185 "src/process_mitigations_extensionpoints_unittest.cc",
186 "src/process_mitigations_imageload_unittest.cc",
187 "src/process_mitigations_unittest.cc",
188 "src/process_mitigations_win32k_unittest.cc",
186 "src/process_policy_test.cc", 189 "src/process_policy_test.cc",
187 "src/registry_policy_test.cc", 190 "src/registry_policy_test.cc",
188 "src/restricted_token_test.cc", 191 "src/restricted_token_test.cc",
189 "src/sync_policy_test.cc", 192 "src/sync_policy_test.cc",
190 "src/sync_policy_test.h", 193 "src/sync_policy_test.h",
191 "src/unload_dll_test.cc", 194 "src/unload_dll_test.cc",
192 "tests/common/controller.cc", 195 "tests/common/controller.cc",
193 "tests/common/controller.h", 196 "tests/common/controller.h",
194 "tests/common/test_utils.cc", 197 "tests/common/test_utils.cc",
195 "tests/common/test_utils.h", 198 "tests/common/test_utils.h",
(...skipping 25 matching lines...) Expand all
221 deps = [ 224 deps = [
222 "//base", 225 "//base",
223 "//build/config:exe_and_shlib_deps", 226 "//build/config:exe_and_shlib_deps",
224 "//build/win:default_exe_manifest", 227 "//build/win:default_exe_manifest",
225 ] 228 ]
226 } 229 }
227 230
228 loadable_module("sbox_integration_test_hook_dll") { 231 loadable_module("sbox_integration_test_hook_dll") {
229 sources = [ 232 sources = [
230 "tests/integration_tests/hooking_dll.cc", 233 "tests/integration_tests/hooking_dll.cc",
231 "tests/integration_tests/integration_tests_common.h", 234 "tests/integration_tests/hooking_dll.h",
232 ] 235 ]
233 } 236 }
234 237
235 executable("sbox_integration_test_win_proc") { 238 executable("sbox_integration_test_win_proc") {
236 sources = [ 239 sources = [
237 "tests/integration_tests/hooking_win_proc.cc", 240 "tests/integration_tests/hooking_win_proc.cc",
238 "tests/integration_tests/integration_tests_common.h", 241 "tests/integration_tests/hooking_win_proc.h",
239 ] 242 ]
240 243
241 configs -= [ "//build/config/win:console" ] 244 configs -= [ "//build/config/win:console" ]
242 configs += [ "//build/config/win:windowed" ] 245 configs += [ "//build/config/win:windowed" ]
243 } 246 }
244 247
245 test("sbox_validation_tests") { 248 test("sbox_validation_tests") {
246 sources = [ 249 sources = [
247 "tests/common/controller.cc", 250 "tests/common/controller.cc",
248 "tests/common/controller.h", 251 "tests/common/controller.h",
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 "sandbox_poc/pocdll/spyware.cc", 326 "sandbox_poc/pocdll/spyware.cc",
324 "sandbox_poc/pocdll/utils.h", 327 "sandbox_poc/pocdll/utils.h",
325 ] 328 ]
326 329
327 defines = [ "POCDLL_EXPORTS" ] 330 defines = [ "POCDLL_EXPORTS" ]
328 331
329 deps = [ 332 deps = [
330 "//build/config:exe_and_shlib_deps", 333 "//build/config:exe_and_shlib_deps",
331 ] 334 ]
332 } 335 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/win/src/process_mitigations_extensionpoints_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698