diff options
author | brettw <brettw@chromium.org> | 2015-12-17 17:07:39 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 01:08:37 +0000 |
commit | 89c7be623e3cc5052aaf8c3be3996432a9d4bceb (patch) | |
tree | 5d623a131fe355674d6187ff138abc4b42835c01 /sandbox/win | |
parent | 5c5fa5660fb0ebfb3534a4396520c44dc246a6d1 (diff) | |
download | chromium_src-89c7be623e3cc5052aaf8c3be3996432a9d4bceb.zip chromium_src-89c7be623e3cc5052aaf8c3be3996432a9d4bceb.tar.gz chromium_src-89c7be623e3cc5052aaf8c3be3996432a9d4bceb.tar.bz2 |
Make base a static ibrary
This saves a nontrivial amount of space for some of the smaller targets in release builds. See the comment added to the base target for more.
Remove libmojo_sdk. This is a complete static library that depended on base. Since base is now a static library, this dependency is not allowed. The mojo team says this target is no longer needed, so it was deleted.
Review URL: https://codereview.chromium.org/1528233002
Cr-Commit-Position: refs/heads/master@{#365955}
Diffstat (limited to 'sandbox/win')
-rw-r--r-- | sandbox/win/BUILD.gn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn index 4d1dd58..327396b 100644 --- a/sandbox/win/BUILD.gn +++ b/sandbox/win/BUILD.gn @@ -4,7 +4,11 @@ import("//testing/test.gni") -source_set("sandbox") { +# This needs to be a static library rather than a sources set because small +# portions of this are used in some contexts (like chrome_elf), and it +# doesnn't seem to dead-code strip very well. This saves 12K on chrome_elf.dll, +# over a source set, for example. +static_library("sandbox") { sources = [ "src/acl.cc", "src/acl.h", |