[DEBUG] build and start on Android

This commit is contained in:
Edouard DUPIN 2017-04-25 22:22:05 +02:00
parent 616e5ef284
commit 676d19a471
3 changed files with 10 additions and 0 deletions

View File

@ -66,6 +66,9 @@ def add_common_property(target, my_module):
"-Dstrtod=avpriv_strtod",
"-ftree-ter",
])
my_module.add_src_file([
'ffmpeg/compat/strtod.c'
])
if target.get_arm_mode() == "thumb":
my_module.add_flag('c', [
"-DCONFIG_THUMB=1",
@ -85,6 +88,9 @@ def add_common_property(target, my_module):
"-Dstrtod=avpriv_strtod",
"-ftree-ter",
])
my_module.add_src_file([
'ffmpeg/compat/strtod.c'
])
my_module.add_flag('c', [
"-DCONFIG_THUMB=0",
])

View File

@ -932,6 +932,7 @@ def configure(target, my_module):
'ffmpeg/libavcodec/arm/vp8dsp_init_armv6.c',
'ffmpeg/libavcodec/arm/vp8dsp_init_neon.c',
'ffmpeg/libavcodec/arm/vp8dsp_neon.S',
'ffmpeg/libavcodec/neon/mpegvideo.c',
])
elif target.get_arch() == "arm" \
and target.get_bus_size() == "64":
@ -964,6 +965,7 @@ def configure(target, my_module):
'ffmpeg/libavcodec/aarch64/videodsp_init.c',
'ffmpeg/libavcodec/aarch64/vorbisdsp_init.c',
'ffmpeg/libavcodec/aarch64/vorbisdsp_neon.S',
'ffmpeg/libavcodec/neon/mpegvideo.c',
])
else:
debug.warning("unknow architecture ...");

View File

@ -111,6 +111,7 @@ def configure(target, my_module):
'ffmpeg/libavutil/arm/float_dsp_init_vfp.c',
'ffmpeg/libavutil/arm/float_dsp_neon.S',
'ffmpeg/libavutil/arm/float_dsp_vfp.S',
'ffmpeg/libavutil/arm/cpu.c',
])
my_module.add_header_file([
'ffmpeg/libavutil/arm/asm.S',
@ -122,6 +123,7 @@ def configure(target, my_module):
'ffmpeg/libavutil/aarch64/cpu.c',
'ffmpeg/libavutil/aarch64/float_dsp_init.c',
'ffmpeg/libavutil/aarch64/float_dsp_neon.S',
'ffmpeg/libavutil/arm/cpu.c',
])
my_module.add_header_file([
'ffmpeg/libavutil/aarch64/asm.S',