layout/forms/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/forms/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,63 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +TEST_DIRS += ['test']
    1.11 +
    1.12 +EXPORTS += [
    1.13 +    'nsIComboboxControlFrame.h',
    1.14 +    'nsIFormControlFrame.h',
    1.15 +    'nsIListControlFrame.h',
    1.16 +    'nsISelectControlFrame.h',
    1.17 +    'nsITextControlFrame.h',
    1.18 +]
    1.19 +
    1.20 +UNIFIED_SOURCES += [
    1.21 +    'nsButtonFrameRenderer.cpp',
    1.22 +    'nsColorControlFrame.cpp',
    1.23 +    'nsComboboxControlFrame.cpp',
    1.24 +    'nsFieldSetFrame.cpp',
    1.25 +    'nsFileControlFrame.cpp',
    1.26 +    'nsFormControlFrame.cpp',
    1.27 +    'nsGfxButtonControlFrame.cpp',
    1.28 +    'nsGfxCheckboxControlFrame.cpp',
    1.29 +    'nsGfxRadioControlFrame.cpp',
    1.30 +    'nsHTMLButtonControlFrame.cpp',
    1.31 +    'nsImageControlFrame.cpp',
    1.32 +    'nsLegendFrame.cpp',
    1.33 +    'nsListControlFrame.cpp',
    1.34 +    'nsMeterFrame.cpp',
    1.35 +    'nsNumberControlFrame.cpp',
    1.36 +    'nsProgressFrame.cpp',
    1.37 +    'nsRangeFrame.cpp',
    1.38 +    'nsSelectsAreaFrame.cpp',
    1.39 +    'nsTextControlFrame.cpp',
    1.40 +]
    1.41 +
    1.42 +FAIL_ON_WARNINGS = True
    1.43 +
    1.44 +MSVC_ENABLE_PGO = True
    1.45 +
    1.46 +FINAL_LIBRARY = 'gklayout'
    1.47 +
    1.48 +LOCAL_INCLUDES += [
    1.49 +    '../../content/base/src',
    1.50 +    '../../content/html/content/src',
    1.51 +    '../../editor/libeditor/base',
    1.52 +    '../../editor/libeditor/text',
    1.53 +    '../../editor/txmgr/src',
    1.54 +    '../base',
    1.55 +    '../generic',
    1.56 +    '../xul',
    1.57 +]
    1.58 +
    1.59 +if CONFIG['ENABLE_INTL_API']:
    1.60 +    # nsNumberControlFrame.cpp requires ICUUtils.h which in turn requires
    1.61 +    # i18n/unum.h
    1.62 +    LOCAL_INCLUDES += [
    1.63 +        '../../intl/icu/source/common',
    1.64 +        '../../intl/icu/source/i18n',
    1.65 +    ]
    1.66 +

mercurial