build/binary-location.mk
author Andrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 19 Feb 2016 16:19:03 -0500
changeset 322616 651ae113dc0d9eef77b0f253c7ee122cf952ddce
parent 233231 fe77f9461b9fe0a90b5a02e9dedfcb7dee9b1a30
permissions -rw-r--r--
Bug 1249733 - Sign talos harness and test extensions, r=jmaher The various harness addons and test related addons used by talos all need to be signed before we can enforce addon signing. For now, signing will be a manual process. See the following guide for more details: https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions MozReview-Commit-ID: CKeOyuN4JJG

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# finds the location of the browser and puts it in the variable $(browser_path)

ifneq (,$(filter WINNT,$(OS_ARCH)))
program = $(MOZ_APP_NAME)$(BIN_SUFFIX)
else
program = $(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
endif

TARGET_DIST = $(TARGET_DEPTH)/dist

ifeq ($(OS_ARCH),Darwin)
browser_path = $(TARGET_DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS/$(program)
else
browser_path = $(TARGET_DIST)/bin/$(program)
endif