gfx/qcms/moz.build
author J.C. Jones <jjones@mozilla.com>
Mon, 18 Sep 2017 21:43:40 -0700
changeset 381762 0902f7275334aeb271d494b6aac1ee2730add627
parent 310108 18992fa737043c54445bc6849ff20ff99966a282
child 395727 5ec58e0e3a347e2504d7544d5d0312a70e8735cd
permissions -rw-r--r--
Bug 1399334 - Add more debugging to see why certificates aren't valid. r=ttaubert There's an intermittent that is showing up now that test_register_sign.html checks state.attestationCert.verify(); to ensure hte SoftToken's certificate is valid. This patch prints the offending certificate when it's encountered, to help diagnose the root cause. MozReview-Commit-ID: 4QSobq9fBGK

# -*- Mode: python; 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/.

EXPORTS += [
    'qcms.h',
    'qcmstypes.h',
]

SOURCES += [
    'chain.c',
    'iccread.c',
    'matrix.c',
    'transform.c',
    'transform_util.c',
]

FINAL_LIBRARY = 'xul'

if CONFIG['GNU_CC']:
    CFLAGS += ['-Wno-missing-field-initializers']

use_sse1 = False
use_sse2 = False
use_altivec = False
if '86' in CONFIG['OS_TEST']:
    use_sse2 = True
    if CONFIG['_MSC_VER']:
        if CONFIG['OS_ARCH'] != 'WINNT' or CONFIG['OS_TEST'] != 'x86_64':
            use_sse1 = True
    else:
        use_sse1 = True
elif CONFIG['HAVE_ALTIVEC']:
    use_altivec = True

if use_sse1:
    SOURCES += ['transform-sse1.c']
    SOURCES['transform-sse1.c'].flags += CONFIG['SSE_FLAGS']

if use_sse2:
    SOURCES += ['transform-sse2.c']
    SOURCES['transform-sse2.c'].flags += CONFIG['SSE2_FLAGS']

if use_altivec:
    SOURCES += ['transform-altivec.c']
    SOURCES['transform-altivec.c'].flags += ['-maltivec']