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

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 3 (robertshield). 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 "src/registry_policy_test.cc", 198 "src/registry_policy_test.cc",
199 "src/restricted_token_test.cc", 199 "src/restricted_token_test.cc",
200 "src/sync_policy_test.cc", 200 "src/sync_policy_test.cc",
201 "src/sync_policy_test.h", 201 "src/sync_policy_test.h",
202 "src/unload_dll_test.cc", 202 "src/unload_dll_test.cc",
203 "tests/common/controller.cc", 203 "tests/common/controller.cc",
204 "tests/common/controller.h", 204 "tests/common/controller.h",
205 "tests/common/test_utils.cc", 205 "tests/common/test_utils.cc",
206 "tests/common/test_utils.h", 206 "tests/common/test_utils.h",
207 "tests/integration_tests/integration_tests.cc", 207 "tests/integration_tests/integration_tests.cc",
208 "tests/integration_tests/integration_tests_common.h",
208 "tests/integration_tests/integration_tests_test.cc", 209 "tests/integration_tests/integration_tests_test.cc",
209 ] 210 ]
210 211
211 deps = [ 212 deps = [
212 ":sandbox", 213 ":sandbox",
214 ":sbox_integration_test_hook_dll",
215 ":sbox_integration_test_win_proc",
213 "//base/test:test_support", 216 "//base/test:test_support",
214 "//testing/gtest", 217 "//testing/gtest",
215 ] 218 ]
216 } 219 }
217 220
221 loadable_module("sbox_integration_test_hook_dll") {
222 sources = [
223 "tests/integration_tests/hooking_dll.cc",
224 "tests/integration_tests/integration_tests_common.h",
225 ]
226 }
227
228 executable("sbox_integration_test_win_proc") {
229 sources = [
230 "tests/integration_tests/hooking_win_proc.cc",
231 "tests/integration_tests/integration_tests_common.h",
232 ]
233
234 configs -= [ "//build/config/win:console" ]
235 configs += [ "//build/config/win:windowed" ]
236 }
237
218 test("sbox_validation_tests") { 238 test("sbox_validation_tests") {
219 sources = [ 239 sources = [
220 "tests/common/controller.cc", 240 "tests/common/controller.cc",
221 "tests/common/controller.h", 241 "tests/common/controller.h",
222 "tests/validation_tests/commands.cc", 242 "tests/validation_tests/commands.cc",
223 "tests/validation_tests/commands.h", 243 "tests/validation_tests/commands.h",
224 "tests/validation_tests/suite.cc", 244 "tests/validation_tests/suite.cc",
225 "tests/validation_tests/unit_tests.cc", 245 "tests/validation_tests/unit_tests.cc",
226 ] 246 ]
227 247
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 "sandbox_poc/pocdll/spyware.cc", 315 "sandbox_poc/pocdll/spyware.cc",
296 "sandbox_poc/pocdll/utils.h", 316 "sandbox_poc/pocdll/utils.h",
297 ] 317 ]
298 318
299 defines = [ "POCDLL_EXPORTS" ] 319 defines = [ "POCDLL_EXPORTS" ]
300 320
301 deps = [ 321 deps = [
302 "//build/config/sanitizers:deps", 322 "//build/config/sanitizers:deps",
303 ] 323 ]
304 } 324 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/win/sandbox_win.gypi » ('j') | sandbox/win/tests/integration_tests/hooking_win_proc.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698