michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: if CONFIG['TARGET_CPU'] == 'x86_64': michael@0: if CONFIG['GNU_CXX']: michael@0: SOURCES += [ michael@0: 'xptcinvoke_x86_64.cpp', michael@0: 'xptcstubs_x86_64_gnu.cpp', michael@0: ] michael@0: SOURCES += [ michael@0: 'xptcinvoke_asm_x86_64_gnu.s' michael@0: ] michael@0: else: michael@0: SOURCES += [ michael@0: 'xptcinvoke_x86_64.cpp', michael@0: 'xptcstubs_x86_64.cpp' michael@0: ] michael@0: SOURCES += [ michael@0: 'xptcinvoke_asm_x86_64.asm', michael@0: 'xptcstubs_asm_x86_64.asm' michael@0: ] michael@0: else: michael@0: if CONFIG['GNU_CXX']: michael@0: SOURCES += [ michael@0: 'xptcinvoke_x86_gnu.cpp', michael@0: 'xptcstubs.cpp', michael@0: ] michael@0: else: michael@0: SOURCES += [ michael@0: 'xptcinvoke.cpp', michael@0: 'xptcstubs.cpp', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'xpcom_core' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../..', michael@0: '../../../../xptinfo/src', michael@0: ] michael@0: michael@0: if CONFIG['TARGET_CPU'] != 'x86_64': michael@0: if not CONFIG['GNU_CXX']: michael@0: # FIXME: bug 413019 michael@0: NO_PGO = True