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 source_set("sandbox") { |
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, | |
10 # over a source set, for example. | |
11 static_library("sandbox") { | |
12 sources = [ | 8 sources = [ |
13 "src/acl.cc", | 9 "src/acl.cc", |
14 "src/acl.h", | 10 "src/acl.h", |
15 "src/app_container.cc", | 11 "src/app_container.cc", |
16 "src/app_container.h", | 12 "src/app_container.h", |
17 "src/broker_services.cc", | 13 "src/broker_services.cc", |
18 "src/broker_services.h", | 14 "src/broker_services.h", |
19 "src/crosscall_client.h", | 15 "src/crosscall_client.h", |
20 "src/crosscall_params.h", | 16 "src/crosscall_params.h", |
21 "src/crosscall_server.cc", | 17 "src/crosscall_server.cc", |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 "sandbox_poc/pocdll/spyware.cc", | 301 "sandbox_poc/pocdll/spyware.cc", |
306 "sandbox_poc/pocdll/utils.h", | 302 "sandbox_poc/pocdll/utils.h", |
307 ] | 303 ] |
308 | 304 |
309 defines = [ "POCDLL_EXPORTS" ] | 305 defines = [ "POCDLL_EXPORTS" ] |
310 | 306 |
311 deps = [ | 307 deps = [ |
312 "//build/config/sanitizers:deps", | 308 "//build/config/sanitizers:deps", |
313 ] | 309 ] |
314 } | 310 } |
OLD | NEW |