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