toolkit/mozapps/installer/make-eme.mk
author Ryan VanderMeulen <ryanvm@gmail.com>
Sat, 19 Mar 2016 15:16:30 -0400
changeset 351260 351882d470a769b8e185deeda24a4ddffb19c105
parent 284944 7d6edef7f2424f51be3b1539925c8caaea3effd7
child 346576 8f159c5d671e045cecf67b95b1e75b9362937f08
permissions -rw-r--r--
Bug 1252707. r=terrence a=lizzard MozReview-Commit-ID: EIjq93wa1nD

# 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/.

include $(MOZILLA_DIR)/toolkit/mozapps/installer/signing.mk

ifdef MOZ_SIGN_CMD
  ifeq ($(OS_ARCH),WINNT)
    # The argument to this macro is the directory where plugin-container.exe
    # exists, and where voucher.bin will be generated.
    MAKE_SIGN_EME_VOUCHER = $(PYTHON) $(MOZILLA_DIR)/python/eme/gen-eme-voucher.py -input $(1)/plugin-container.exe -output $(1)/voucher.bin && \
      $(MOZ_SIGN_CMD) -f emevoucher "$(1)/voucher.bin"
  endif
endif