Dear supporter
when we set HAVE_FSL_IMX_CODEC := true in the file external/fsl_vpu_omx/codec_env.mk ,
there is a build error. Please ref the attach log for more info.
- Platform info -
Import includes file: out/et1D_em101/target/product/partner/obj/SHARED_LIBRARIES/libaudiopolicymanagerdefault_intermediates/import_includes
Import includes file: out/et1D_em101/target/product/partner/obj/SHARED_LIBRARIES/libcameraservice_intermediates/import_includes
make: *** No rule to make target `out/et1D_em101/target/product/partner/obj/SHARED_LIBRARIES/lib_id3_parser_arm11_elinux_intermediates/export_includes', needed by `out/et1D_em101/target/product/partner/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: out/et1D_em101/target/product/partner/obj/SHARED_LIBRARIES/libmedialogservice_intermediates/import_includes
#### make failed to build some targets (07:19 (mm:ss)) ####
Original Attachment has been moved to: build_android_2016-01-07_1726.log.zip
已解决! 转到解答。
update:
After patch the omx player, those bugs is fixed.
- android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz
To apply android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz patches, carry out the following commands:
$ cp android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz ~/myandroid
$ cd ~/myandroid
$ tar xzvf android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz
After unpacking this package, the current build mode is “full”, which means omxplayer feature will be built into the Android
platform.
Use switch_build_to.sh to switch between “core” mode and “full” mode.
$ ./switch_build_to.sh (display current mode)
$ ./switch_build_to.sh mode (mode shall be "core" or "full")
$ ./clean_obj_before_building.sh (clean related binary in the out directory of previous
Android build)
Dear supporter
Those configs conflict with each other.
1. frameworks/av/media/libmediaplayerservice/Android.mk
46 ifeq ($(HAVE_FSL_IMX_CODEC),true)
47 LOCAL_SHARED_LIBRARIES += \
48 lib_omx_player_arm11_elinux \
49 lib_omx_osal_v2_arm11_elinux \
50 lib_omx_client_arm11_elinux \
51 lib_omx_utils_v2_arm11_elinux \
52 lib_omx_core_mgr_v2_arm11_elinux \
53 lib_omx_res_mgr_v2_arm11_elinux \
54 lib_id3_parser_arm11_elinux
55 endif
2. external/fsl_vpu_omx/utils/id3_parser/Android.mk
1 ifeq ($(HAVE_FSL_IMX_CODEC),false)
2
3
4 LOCAL_PATH:= $(call my-dir)
5 include $(CLEAR_VARS)
6
7 LOCAL_SRC_FILES := \
8 ID3.cpp
9
10 LOCAL_CFLAGS += $(FSL_OMX_CFLAGS)
11 LOCAL_LDFLAGS += $(FSL_OMX_LDFLAGS)
12 LOCAL_C_INCLUDES += $(FSL_OMX_PATH)/../../external/icu/icu4c/source/common \
13 +-- 5 lines: $(FSL_OMX_PATH)/../../external/icu/icu4c/source/i18n \---------------------------------------------------------
18
19 LOCAL_SHARED_LIBRARIES := libstagefright libstagefright_foundation libutils libc liblog libmedia lib_omx_osal_v2_arm11_elinux
20
21 LOCAL_PRELINK_MODULE := false
22 LOCAL_MODULE_TAGS := eng
23 LOCAL_MODULE:= lib_id3_parser_arm11_elinux
24
25 include $(BUILD_SHARED_LIBRARY)
26
27 endif
update:
After patch the omx player, those bugs is fixed.
- android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz
To apply android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz patches, carry out the following commands:
$ cp android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz ~/myandroid
$ cd ~/myandroid
$ tar xzvf android_L5.0.0_1.0.0-ga_omxplayer_source.tar.gz
After unpacking this package, the current build mode is “full”, which means omxplayer feature will be built into the Android
platform.
Use switch_build_to.sh to switch between “core” mode and “full” mode.
$ ./switch_build_to.sh (display current mode)
$ ./switch_build_to.sh mode (mode shall be "core" or "full")
$ ./clean_obj_before_building.sh (clean related binary in the out directory of previous
Android build)