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

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

Issue 1835003003: [Windows Sandbox] MITIGATION_EXTENSION_POINT_DISABLE support for children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review fixes part 2. Created 4 years, 8 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
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 "src/registry_policy_test.cc", 205 "src/registry_policy_test.cc",
206 "src/restricted_token_test.cc", 206 "src/restricted_token_test.cc",
207 "src/sync_policy_test.cc", 207 "src/sync_policy_test.cc",
208 "src/sync_policy_test.h", 208 "src/sync_policy_test.h",
209 "src/unload_dll_test.cc", 209 "src/unload_dll_test.cc",
210 "tests/common/controller.cc", 210 "tests/common/controller.cc",
211 "tests/common/controller.h", 211 "tests/common/controller.h",
212 "tests/common/test_utils.cc", 212 "tests/common/test_utils.cc",
213 "tests/common/test_utils.h", 213 "tests/common/test_utils.h",
214 "tests/integration_tests/integration_tests.cc", 214 "tests/integration_tests/integration_tests.cc",
215 "tests/integration_tests/integration_tests_common.h",
215 "tests/integration_tests/integration_tests_test.cc", 216 "tests/integration_tests/integration_tests_test.cc",
216 ] 217 ]
217 218
218 deps = [ 219 deps = [
219 ":sandbox", 220 ":sandbox",
221 ":sbox_integration_test_hook_dll",
222 ":sbox_integration_test_win_proc",
220 "//base/test:test_support", 223 "//base/test:test_support",
221 "//testing/gtest", 224 "//testing/gtest",
222 ] 225 ]
223 } 226 }
224 227
228 loadable_module("sbox_integration_test_hook_dll") {
229 sources = [
230 "tests/integration_tests/hooking_dll.cc",
231 "tests/integration_tests/integration_tests_common.h",
232 ]
233 }
234
235 executable("sbox_integration_test_win_proc") {
236 sources = [
237 "tests/integration_tests/hooking_win_proc.cc",
238 "tests/integration_tests/integration_tests_common.h",
239 ]
240
241 configs -= [ "//build/config/win:console" ]
242 configs += [ "//build/config/win:windowed" ]
243 }
244
225 test("sbox_validation_tests") { 245 test("sbox_validation_tests") {
226 sources = [ 246 sources = [
227 "tests/common/controller.cc", 247 "tests/common/controller.cc",
228 "tests/common/controller.h", 248 "tests/common/controller.h",
229 "tests/validation_tests/commands.cc", 249 "tests/validation_tests/commands.cc",
230 "tests/validation_tests/commands.h", 250 "tests/validation_tests/commands.h",
231 "tests/validation_tests/suite.cc", 251 "tests/validation_tests/suite.cc",
232 "tests/validation_tests/unit_tests.cc", 252 "tests/validation_tests/unit_tests.cc",
233 ] 253 ]
234 254
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 "sandbox_poc/pocdll/spyware.cc", 322 "sandbox_poc/pocdll/spyware.cc",
303 "sandbox_poc/pocdll/utils.h", 323 "sandbox_poc/pocdll/utils.h",
304 ] 324 ]
305 325
306 defines = [ "POCDLL_EXPORTS" ] 326 defines = [ "POCDLL_EXPORTS" ]
307 327
308 deps = [ 328 deps = [
309 "//build/config/sanitizers:deps", 329 "//build/config/sanitizers:deps",
310 ] 330 ]
311 } 331 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/win/sandbox_win.gypi » ('j') | sandbox/win/src/process_mitigations_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698