blob: 87b51d7dc5b7fcf622373a166b2aab7a7f7cf062 [file] [log] [blame]
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This is a list of symbols to export from liblzma_decompress.dylib. It is not
# a complete list of symbols ordinarily exported by liblzma for decompression.
# It's limited to the set of symbols actually needed by targets that depend
# on liblzma_decompress in Chromium. Currently, this only includes xzdec and
# goobspatch.
#
# Trimming the set of exported symbols reduces the number of "roots" used for
# dead-code stripping. With fewer roots considered "live," more code may wind
# up "dead," which can reduce the size of the library.
#
# This approach reduces the size of liblzma_decompress by 16kB.
_lzma_code
_lzma_end
_lzma_physmem
_lzma_stream_decoder
_lzma_version_string