content/xml/content/src/moz.build
author Ehsan Akhgari <ehsan@mozilla.com>
Thu, 27 Mar 2014 16:38:20 -0400
changeset 175812 be95c2506ad8e0a0d142729abcd5af2aa4f3fdbe
parent 168079 8bc655300999524e35a2adaa6852f0c39a698ba0
child 178343 0e7892f55d6ff873d86105e1d4bcd6aa9861805f
permissions -rw-r--r--
Bug 798158 - Part 0: Do not treat format warnings as errors in a few directories; r=mshal

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

EXPORTS.mozilla.dom += [
    'CDATASection.h',
    'nsXMLElement.h',
    'ProcessingInstruction.h',
    'XMLStylesheetProcessingInstruction.h',
]

UNIFIED_SOURCES += [
    'CDATASection.cpp',
    'nsXMLElement.cpp',
    'ProcessingInstruction.cpp',
    'XMLStylesheetProcessingInstruction.cpp',
]

FAIL_ON_WARNINGS = True

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
    '/content/base/src',
]

RESOURCE_FILES.dtd += [
    'htmlmathml-f.ent',
]

if CONFIG['GNU_CC'] and CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    # Work around bug 986928
    CXXFLAGS += ['-Wno-error=format']