image/build/nsImageModule.h
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 05 Jul 2018 14:58:09 +0900
changeset 425426 531b966781e6b2c086a798b18cec231a26a9d3e5
parent 298779 a03bd5fc36c0cd66762e0d41e5115900079d83fb
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
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: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */

#ifndef mozilla_image_build_nsImageModule_h
#define mozilla_image_build_nsImageModule_h

#include "nsError.h"

namespace mozilla {
namespace image {

nsresult EnsureModuleInitialized();
void ShutdownModule();

} /* namespace image */
} /* namespace mozilla */

#endif // mozilla_image_build_nsImageModule_h