gecko-dev/layout/build/moz.build

43 lines
909 B
Python

# -*- 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/.
MODULE = 'layout'
EXPORTS += [
'nsContentDLF.h',
'nsLayoutCID.h',
'nsLayoutStatics.h',
]
UNIFIED_SOURCES += [
'nsContentDLF.cpp',
'nsLayoutModule.cpp',
'nsLayoutStatics.cpp',
]
if CONFIG['MOZ_NFC']:
SHARED_LIBRARY_LIBS += [
'%s/dom/nfc/%sdom_nfc_s.%s' % (TOPOBJDIR, CONFIG['LIB_PREFIX'], CONFIG['LIB_SUFFIX'])
]
if CONFIG['MOZ_NFC']:
LOCAL_INCLUDES += [
'/dom/nfc'
]
FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True
LIBRARY_NAME = 'gklayout'
EXPORT_LIBRARY = True
include('/ipc/chromium/chromium-config.mozbuild')