moz.build (1026B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 include("sources.mozbuild") 8 9 # This should contain all of the _PUBLIC_HEADERS from files.mk 10 EXPORTS.graphite2 += [ 11 '../geckoextra/include/GraphiteExtra.h', 12 '../geckoextra/include/GraphiteStructsForRLBox.h', 13 '../include/graphite2/Font.h', 14 '../include/graphite2/Log.h', 15 '../include/graphite2/Segment.h', 16 '../include/graphite2/Types.h', 17 ] 18 19 if CONFIG['CC_TYPE'] in ('clang', 'gcc'): 20 UNIFIED_SOURCES += [ 21 'direct_machine.cpp' 22 ] 23 else: 24 UNIFIED_SOURCES += [ 25 'call_machine.cpp' 26 ] 27 UNIFIED_SOURCES += graphite_sources 28 29 for k, v in graphite_defines: 30 DEFINES[k] = v 31 32 # We allow warnings for third-party code that can be updated from upstream. 33 AllowCompilerWarnings() 34 35 FINAL_LIBRARY = 'xul'