1# Copyright 2023 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//build/config/apple/symbols.gni") 6 7# The ldflags referenced below are handled by 8# //build/toolchain/apple/linker_driver.py. 9# Remove this config if a target wishes to change the arguments passed to the 10# strip command during linking. This config by default strips all symbols 11# from a binary, but some targets may wish to specify an exports file to 12# preserve specific symbols. 13config("strip_all") { 14 if (enable_stripping) { 15 ldflags = [ "-Wcrl,strip,-x,-S" ] 16 } 17} 18