| 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 ] | 307 ] |
| 308 } | 308 } |
| 309 | 309 |
| 310 shared_library("pocdll") { | 310 shared_library("pocdll") { |
| 311 sources = [ | 311 sources = [ |
| 312 "sandbox_poc/pocdll/exports.h", | 312 "sandbox_poc/pocdll/exports.h", |
| 313 "sandbox_poc/pocdll/fs.cc", | 313 "sandbox_poc/pocdll/fs.cc", |
| 314 "sandbox_poc/pocdll/handles.cc", | 314 "sandbox_poc/pocdll/handles.cc", |
| 315 "sandbox_poc/pocdll/invasive.cc", | 315 "sandbox_poc/pocdll/invasive.cc", |
| 316 "sandbox_poc/pocdll/network.cc", | 316 "sandbox_poc/pocdll/network.cc", |
| 317 "sandbox_poc/pocdll/ntundoc.h", |
| 317 "sandbox_poc/pocdll/pocdll.cc", | 318 "sandbox_poc/pocdll/pocdll.cc", |
| 318 "sandbox_poc/pocdll/processes_and_threads.cc", | 319 "sandbox_poc/pocdll/processes_and_threads.cc", |
| 319 "sandbox_poc/pocdll/registry.cc", | 320 "sandbox_poc/pocdll/registry.cc", |
| 320 "sandbox_poc/pocdll/spyware.cc", | 321 "sandbox_poc/pocdll/spyware.cc", |
| 321 "sandbox_poc/pocdll/utils.h", | 322 "sandbox_poc/pocdll/utils.h", |
| 322 ] | 323 ] |
| 323 | 324 |
| 324 defines = [ "POCDLL_EXPORTS" ] | 325 defines = [ "POCDLL_EXPORTS" ] |
| 325 | 326 |
| 326 deps = [ | 327 deps = [ |
| 327 "//build/config/sanitizers:deps", | 328 "//build/config/sanitizers:deps", |
| 328 ] | 329 ] |
| 329 } | 330 } |
| OLD | NEW |