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 source_set("sandbox") { | 7 source_set("sandbox") { |
8 sources = [ | 8 sources = [ |
9 "src/acl.cc", | 9 "src/acl.cc", |
10 "src/acl.h", | 10 "src/acl.h", |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 "sandbox_poc/sandbox.ico", | 273 "sandbox_poc/sandbox.ico", |
274 "sandbox_poc/sandbox.rc", | 274 "sandbox_poc/sandbox.rc", |
275 ] | 275 ] |
276 | 276 |
277 configs -= [ "//build/config/win:console" ] | 277 configs -= [ "//build/config/win:console" ] |
278 configs += [ "//build/config/win:windowed" ] | 278 configs += [ "//build/config/win:windowed" ] |
279 | 279 |
280 libs = [ "comctl32.lib" ] | 280 libs = [ "comctl32.lib" ] |
281 | 281 |
282 deps = [ | 282 deps = [ |
| 283 ":pocdll", |
283 ":sandbox", | 284 ":sandbox", |
284 ":pocdll", | |
285 ] | 285 ] |
286 } | 286 } |
287 | 287 |
288 shared_library("pocdll") { | 288 shared_library("pocdll") { |
289 sources = [ | 289 sources = [ |
290 "sandbox_poc/pocdll/exports.h", | 290 "sandbox_poc/pocdll/exports.h", |
291 "sandbox_poc/pocdll/fs.cc", | 291 "sandbox_poc/pocdll/fs.cc", |
292 "sandbox_poc/pocdll/handles.cc", | 292 "sandbox_poc/pocdll/handles.cc", |
293 "sandbox_poc/pocdll/invasive.cc", | 293 "sandbox_poc/pocdll/invasive.cc", |
294 "sandbox_poc/pocdll/network.cc", | 294 "sandbox_poc/pocdll/network.cc", |
295 "sandbox_poc/pocdll/pocdll.cc", | 295 "sandbox_poc/pocdll/pocdll.cc", |
296 "sandbox_poc/pocdll/processes_and_threads.cc", | 296 "sandbox_poc/pocdll/processes_and_threads.cc", |
297 "sandbox_poc/pocdll/registry.cc", | 297 "sandbox_poc/pocdll/registry.cc", |
298 "sandbox_poc/pocdll/spyware.cc", | 298 "sandbox_poc/pocdll/spyware.cc", |
299 "sandbox_poc/pocdll/utils.h", | 299 "sandbox_poc/pocdll/utils.h", |
300 ] | 300 ] |
301 | 301 |
302 defines = [ "POCDLL_EXPORTS" ] | 302 defines = [ "POCDLL_EXPORTS" ] |
303 | 303 |
304 deps = [ | 304 deps = [ |
305 "//build/config/sanitizers:deps", | 305 "//build/config/sanitizers:deps", |
306 ] | 306 ] |
307 } | 307 } |
OLD | NEW |