xpcom/reflect/xptcall/src/md/win32/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/reflect/xptcall/src/md/win32/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,47 @@
     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 +if CONFIG['TARGET_CPU'] == 'x86_64':
    1.11 +    if CONFIG['GNU_CXX']:
    1.12 +        SOURCES += [
    1.13 +            'xptcinvoke_x86_64.cpp',
    1.14 +            'xptcstubs_x86_64_gnu.cpp',
    1.15 +        ]
    1.16 +        SOURCES += [
    1.17 +            'xptcinvoke_asm_x86_64_gnu.s'
    1.18 +        ]
    1.19 +    else:
    1.20 +        SOURCES += [
    1.21 +            'xptcinvoke_x86_64.cpp',
    1.22 +            'xptcstubs_x86_64.cpp'
    1.23 +        ]
    1.24 +        SOURCES += [
    1.25 +            'xptcinvoke_asm_x86_64.asm',
    1.26 +            'xptcstubs_asm_x86_64.asm'
    1.27 +        ]
    1.28 +else:
    1.29 +    if CONFIG['GNU_CXX']:
    1.30 +        SOURCES += [
    1.31 +            'xptcinvoke_x86_gnu.cpp',
    1.32 +            'xptcstubs.cpp',
    1.33 +        ]
    1.34 +    else:
    1.35 +        SOURCES += [
    1.36 +            'xptcinvoke.cpp',
    1.37 +            'xptcstubs.cpp',
    1.38 +        ]
    1.39 +
    1.40 +FINAL_LIBRARY = 'xpcom_core'
    1.41 +
    1.42 +LOCAL_INCLUDES += [
    1.43 +    '../..',
    1.44 +    '../../../../xptinfo/src',
    1.45 +]
    1.46 +
    1.47 +if CONFIG['TARGET_CPU'] != 'x86_64':
    1.48 +    if not CONFIG['GNU_CXX']:
    1.49 +        # FIXME: bug 413019
    1.50 +        NO_PGO = True

mercurial