modules/libpref/moz.build
author Anurag Chaudhury (anuragchaudhury@gmail.com)
Mon, 05 Jan 2015 09:38:57 -0800
changeset 247911 010c93a343d2f1ad0b18ce0906e867c867b0275b
parent 244619 b14b9b335d4e1cf2a6e6ee0af1739b49506906ac
child 256265 6a20024567e3a2c93599f34d7481305c606cc9e0
permissions -rw-r--r--
Bug 1097150 - Added getAllUsedFontFaces to styles.js retrieve fonts from all windows;r=pbrosset

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

TEST_DIRS += ['test']

XPIDL_SOURCES += [
    'nsIPrefBranch.idl',
    'nsIPrefBranch2.idl',
    'nsIPrefBranchInternal.idl',
    'nsIPrefLocalizedString.idl',
    'nsIPrefService.idl',
    'nsIRelativeFilePref.idl',
]

XPIDL_MODULE = 'pref'

EXPORTS.mozilla += [
    'Preferences.h',
]

UNIFIED_SOURCES += [
    'nsPrefBranch.cpp',
    'nsPrefsFactory.cpp',
    'Preferences.cpp',
    'prefread.cpp',
]

# prefapi.cpp cannot be built in unified mode because it uses plarena.h
SOURCES += [
    'prefapi.cpp',
]

MSVC_ENABLE_PGO = True

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

DEFINES['OS_ARCH'] = CONFIG['OS_ARCH']
DEFINES['MOZ_WIDGET_TOOLKIT'] = CONFIG['MOZ_WIDGET_TOOLKIT']

FAIL_ON_WARNINGS = True