How to build the .s (asm) file in Android.mk file -
i integrating custom codec libstagefright in android source code. completed whatever explained custom wrapper codec integration android found problem have .s file in custom codec.
i following local_cflags := -doscl_export_ref= -doscl_import_ref= not taking .s files build.
i have found several solutions not answer links
please me issue
thanks in advance.
please try approach include .s files. important have fallback c implementation , assume have one. in codecs' android.mk file,
ifeq ($(target_arch),arm) local_src_files += \ src/asm/file1.s \ src/asm/file2.s \ src/asm/file3.s \ src/asm/file4.s else local_src_files += \ src/file1.cpp \ src/file2.cpp \ src/file3.cpp \ src/file4.cpp endif for example, can refer way mp3 decoder build in android.mk file.
Comments
Post a Comment