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

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

Issue 1856993003: Implement sandbox hooks to forward OPM related GDI system calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add Windows 10 specific hooks 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 "tests/common/test_utils.h", 215 "tests/common/test_utils.h",
216 "tests/integration_tests/integration_tests.cc", 216 "tests/integration_tests/integration_tests.cc",
217 "tests/integration_tests/integration_tests_test.cc", 217 "tests/integration_tests/integration_tests_test.cc",
218 ] 218 ]
219 219
220 deps = [ 220 deps = [
221 ":sandbox", 221 ":sandbox",
222 "//base/test:test_support", 222 "//base/test:test_support",
223 "//testing/gtest", 223 "//testing/gtest",
224 ] 224 ]
225
226 libs = [ "dxva2.lib" ]
225 } 227 }
226 228
227 test("sbox_validation_tests") { 229 test("sbox_validation_tests") {
228 sources = [ 230 sources = [
229 "tests/common/controller.cc", 231 "tests/common/controller.cc",
230 "tests/common/controller.h", 232 "tests/common/controller.h",
231 "tests/validation_tests/commands.cc", 233 "tests/validation_tests/commands.cc",
232 "tests/validation_tests/commands.h", 234 "tests/validation_tests/commands.h",
233 "tests/validation_tests/suite.cc", 235 "tests/validation_tests/suite.cc",
234 "tests/validation_tests/unit_tests.cc", 236 "tests/validation_tests/unit_tests.cc",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 "sandbox_poc/pocdll/spyware.cc", 307 "sandbox_poc/pocdll/spyware.cc",
306 "sandbox_poc/pocdll/utils.h", 308 "sandbox_poc/pocdll/utils.h",
307 ] 309 ]
308 310
309 defines = [ "POCDLL_EXPORTS" ] 311 defines = [ "POCDLL_EXPORTS" ]
310 312
311 deps = [ 313 deps = [
312 "//build/config/sanitizers:deps", 314 "//build/config/sanitizers:deps",
313 ] 315 ]
314 } 316 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698