summaryrefslogtreecommitdiffstats
path: root/build/mac/dump_app_syms
diff options
context:
space:
mode:
Diffstat (limited to 'build/mac/dump_app_syms')
-rwxr-xr-xbuild/mac/dump_app_syms10
1 files changed, 2 insertions, 8 deletions
diff --git a/build/mac/dump_app_syms b/build/mac/dump_app_syms
index 6b2a8a7..4ed9a5e 100755
--- a/build/mac/dump_app_syms
+++ b/build/mac/dump_app_syms
@@ -19,15 +19,9 @@ fi
TOP="${SRCROOT}/.."
BUILD_BRANDING=$1
-if [ "${BUILD_BRANDING}" == "Chromium" ]; then
- SRC_APP_NAME="Chromium"
-elif [ "${BUILD_BRANDING}" == "Chrome" ]; then
- SRC_APP_NAME="Google Chrome"
-else
- echo "error: unknown branding: ${BUILD_BRANDING}" >&2
- exit 1
-fi
+BRAND_SCRIPT="${TOP}/build/branding_value.sh"
+SRC_APP_NAME=$("${BRAND_SCRIPT}" "${BUILD_BRANDING}" PRODUCT_FULLNAME)
. "${TOP}/chrome/VERSION"
BREAKPAD_DUMP_SYMS="${BUILT_PRODUCTS_DIR}/dump_syms"