bug 880773: move SSRCS to mozbuild (file batch #1). r=mshal

This commit is contained in:
Joey Armstrong 2013-07-01 17:09:48 -04:00
parent beb458afd5
commit b1d5c9aba5
8 changed files with 34 additions and 6 deletions

View File

@ -136,14 +136,14 @@ endif
ifdef USE_ARM_SIMD_GCC
CSRCS += pixman-arm-simd.c
SSRCS += pixman-arm-simd-asm.S pixman-arm-simd-asm-scaled.S
DISABLED_SSRCS += pixman-arm-simd-asm.S pixman-arm-simd-asm-scaled.S
DEFINES += -DUSE_ARM_SIMD
endif
ifdef USE_ARM_NEON_GCC
CSRCS += pixman-arm-neon.c
SSRCS += pixman-arm-neon-asm.S
SSRCS += pixman-arm-neon-asm-bilinear.S
DISABLED_SSRCS += pixman-arm-neon-asm.S
DISABLED_SSRCS += pixman-arm-neon-asm-bilinear.S
DEFINES += -DUSE_ARM_NEON
ARM_NEON_CFLAGS = -mfpu=neon
endif

View File

@ -11,3 +11,18 @@ EXPORTS += [
'pixman.h',
]
# Apple's arm assembler doesn't support the same syntax as
# the standard GNU assembler, so use the C fallback paths for now.
# This may be fixable if clang's ARM/iOS assembler improves into a
# viable solution in the future.
if CONFIG['OS_ARCH'] != 'Darwin' and CONFIG['GNU_CC']:
if CONFIG['HAVE_ARM_NEON']:
SSRCS += [
'pixman-arm-neon-asm-bilinear.S',
'pixman-arm-neon-asm.S',
]
if CONFIG['HAVE_ARM_SIMD']:
SSRCS += [
'pixman-arm-simd-asm-scaled.S',
'pixman-arm-simd-asm.S',
]

View File

@ -83,7 +83,7 @@ DEFINES += -DSK_BUILD_SSSE3
endif
else
ifeq ($(CPU_ARCH)_$(GNU_CC),arm_1)
SSRCS += memset.arm.S
DISABLED_SSRCS += memset.arm.S
endif
endif

View File

@ -474,5 +474,10 @@ CPP_SOURCES += [
'SkXfermode.cpp',
]
if not CONFIG['INTEL_ARCHITECTURE'] and CONFIG['CPU_ARCH'] == 'arm' and CONFIG['GNU_CC']:
SSRCS += [
'memset.arm.S',
]
LIBRARY_NAME = 'skia'

View File

@ -85,7 +85,7 @@ endif
ifeq (1,$(LIBJPEG_TURBO_ARM_ASM))
DISABLED_CSRCS += simd/jsimd_arm.c
SSRCS += simd/jsimd_arm_neon.S
DISABLED_SSRCS += simd/jsimd_arm_neon.S
endif
ifeq (1,$(LIBJPEG_TURBO_X64_ASM))

View File

@ -130,6 +130,9 @@ if CONFIG['LIBJPEG_TURBO_ARM_ASM']:
CSRCS += [
'simd/jsimd_arm.c',
]
SSRCS += [
'simd/jsimd_arm_neon.S',
]
elif CONFIG['LIBJPEG_TURBO_X64_ASM']:
CSRCS += [
'simd/jsimd_x86_64.c',

View File

@ -49,7 +49,7 @@ DISABLED_CSRCS = \
ifeq ($(OS_TARGET),Android)
VPATH += $(srcdir)/android
SSRCS := breakpad_getcontext.S
DISABLED_SSRCS := breakpad_getcontext.S
TARGET_LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/crashreporter/google-breakpad/src/common/android/include/
DEFINES += -DNO_STABS_SUPPORT
endif

View File

@ -61,5 +61,10 @@ if CONFIG['OS_ARCH'] == 'Darwin':
'mac/dump_syms.mm',
]
if CONFIG['OS_TARGET'] == 'Android':
SSRCS += [
'breakpad_getcontext.S',
]
LIBRARY_NAME = 'breakpad_common_s'