modules/libmar/moz.build
author Stephen Pohl <spohl.mozilla.bugs@gmail.com>
Tue, 22 Apr 2014 20:45:59 -0400
changeset 179676 4fca4b6565d87b19402f2cece5aa7e8d380c9299
parent 177578 a502db5137ab95d9b3093aa31b0df517ce78b5f2
permissions -rw-r--r--
Bug 978597: Implement native MAR verification for OS X 10.6. r=smichaud

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

DIRS += ['src']

if CONFIG['MOZ_ENABLE_SIGNMAR']:
    DIRS += ['sign', 'verify']
    TEST_DIRS += ['tests']
elif CONFIG['OS_ARCH'] == 'WINNT':
    # On Windows we don't verify with NSS and updater needs to link to it
    DIRS += ['verify']
elif CONFIG['OS_ARCH'] == 'Darwin':
    # On OSX we don't verify with NSS and updater needs to link to it.
    DIRS += ['verify']

# If we are building ./sign and ./verify then ./tool must come after it
DIRS += ['tool']