summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 13:54:26 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 13:54:26 +0000
commitc1d25677c2cf840ca33733f8712b2b95fed59235 (patch)
treef49b3f9f22ed0192ec663a441027a187c25bd57b /chrome
parent604e5945ebac80362b54d7be20ae464f281c9455 (diff)
downloadchromium_src-c1d25677c2cf840ca33733f8712b2b95fed59235.zip
chromium_src-c1d25677c2cf840ca33733f8712b2b95fed59235.tar.gz
chromium_src-c1d25677c2cf840ca33733f8712b2b95fed59235.tar.bz2
Include libpeerconnection.so when dumping symbols on Mac.
BUG=261865 R=mark@chromium.org Review URL: https://codereview.chromium.org/20301002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rwxr-xr-xchrome/tools/build/mac/dump_product_syms8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/tools/build/mac/dump_product_syms b/chrome/tools/build/mac/dump_product_syms
index ca96e2a..b05e568 100755
--- a/chrome/tools/build/mac/dump_product_syms
+++ b/chrome/tools/build/mac/dump_product_syms
@@ -92,6 +92,14 @@ if [[ -e "${BUILT_PRODUCTS_DIR}/PDF.plugin" ]]; then
SRC_NAMES[${#SRC_NAMES[@]}]="PDF.plugin"
fi
+# libpeerconnection.so is optional. Currently only built when branding=Chrome
+# but will in the future also be built for Chromium, so we do a simple check.
+# TODO(tommi): Remove this check and move libpeerconnection.so into the required
+# section when libpeerconnection.so is built for all configs.
+if [[ -e "${BUILT_PRODUCTS_DIR}/libpeerconnection.so" ]]; then
+ SRC_NAMES[${#SRC_NAMES[@]}]="libpeerconnection.so"
+fi
+
for SRC_NAME in "${SRC_NAMES[@]}"; do
# SRC_STEM is the name of the file within the DWARF directory of the .dSYM
# bundle, which comes from the on-disk name of an executable or dylib within