Remove Old Scripts That Directly or Indirectly Reference the BRANDING File

BUG=764538

Change-Id: I43b81a04dae4a137a9376916924ceebc14475859
Reviewed-on: https://chromium-review.googlesource.com/c/1416835
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Auto-Submit: Robert Liao <robliao@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#623797}
diff --git a/build/branding_value.sh b/build/branding_value.sh
deleted file mode 100755
index 9fcb550..0000000
--- a/build/branding_value.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2008 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 wrapper for fetching values from the BRANDING files.  Pass the
-# value of GYP's branding variable followed by the key you want and the right
-# file is checked.
-#
-#  branding_value.sh Chromium COPYRIGHT
-#  branding_value.sh Chromium PRODUCT_FULLNAME
-#
-
-set -e
-
-if [ $# -ne 2 ] ;  then
-  echo "error: expect two arguments, branding and key" >&2
-  exit 1
-fi
-
-BUILD_BRANDING=$1
-THE_KEY=$2
-
-pushd $(dirname "${0}") > /dev/null
-BUILD_DIR=$(pwd)
-popd > /dev/null
-
-TOP="${BUILD_DIR}/.."
-
-case ${BUILD_BRANDING} in
-  Chromium)
-    BRANDING_FILE="${TOP}/chrome/app/theme/chromium/BRANDING"
-    ;;
-  Chrome)
-    BRANDING_FILE="${TOP}/chrome/app/theme/google_chrome/BRANDING"
-    ;;
-  *)
-    echo "error: unknown branding: ${BUILD_BRANDING}" >&2
-    exit 1
-    ;;
-esac
-
-BRANDING_VALUE=$(sed -n -e "s/^${THE_KEY}=\(.*\)\$/\1/p" "${BRANDING_FILE}")
-
-if [ -z "${BRANDING_VALUE}" ] ; then
-  echo "error: failed to find key '${THE_KEY}'" >&2
-  exit 1
-fi
-
-echo "${BRANDING_VALUE}"
diff --git a/chrome/tools/build/mac/build_app_dmg b/chrome/tools/build/mac/build_app_dmg
deleted file mode 100755
index 1ccfcbd7..0000000
--- a/chrome/tools/build/mac/build_app_dmg
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2012 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.
-
-# Normally you don't want to build a dmg out of a debug build.
-if [ "${CONFIGURATION}" != "Release" ] ; then
-  echo "warning: building dmg in non-release mode" >&2
-fi
-
-# Make sure we got the branding passed to us
-if [ $# -ne 1 ]; then
-  echo "error: missing branding as an argument" >&2
-  exit 1
-fi
-
-# fail on anything from here out
-set -e
-
-TOP="${SRCROOT}/.."
-PKG_DMG="${SRCROOT}/installer/mac/pkg-dmg"
-BRAND_SCRIPT="${TOP}/build/branding_value.sh"
-
-BUILD_BRANDING=$1
-
-APP_NAME=$("${BRAND_SCRIPT}" "${BUILD_BRANDING}" PRODUCT_FULLNAME)
-DMG_NAME=$(echo "${APP_NAME}" | sed "s/ //g")
-
-SRC_APP_PATH="${BUILT_PRODUCTS_DIR}/${APP_NAME}.app"
-VOL_NAME="${APP_NAME}"
-DST_DMG_PATH="${BUILT_PRODUCTS_DIR}/${DMG_NAME}.dmg"
-
-# Call the real working
-"${PKG_DMG}" --source /var/empty \
-             --target "${DST_DMG_PATH}" \
-             --format UDBZ \
-             --verbosity 0 \
-             --volname "${VOL_NAME}" \
-             --tempdir "${TEMP_DIR}" \
-             --copy "${SRC_APP_PATH}/:/${APP_NAME}.app/"