image/build/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 05 Jul 2018 14:58:09 +0900
changeset 425426 531b966781e6b2c086a798b18cec231a26a9d3e5
parent 306187 3ec6380fca8207fa199693206a3ca24975bf9833
child 458963 df95a56dae044a9d8c6a5b449b2c6db4365806b7
permissions -rw-r--r--
Bug 1469091 - Build the clang plugin as a host shared library. r=ted This adds just enough host shared library support for this one use case, but also takes shortcuts, because fully supporting host shared library is a deep rabbit hole I'm not ready to take just to fix --enable-lto --enable-clang-plugin on mac builds. One downside is that one my machine the plugin now takes > 80s to build, instead of 15s before, thanks to the lack of unified sources.

# -*- 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 += [
    'nsImageModule.h',
]

SOURCES += [
    'nsImageModule.cpp',
]

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '/image',
    '/image/encoders/bmp',
    '/image/encoders/ico',
    '/image/encoders/jpeg',
    '/image/encoders/png',
]