Hi I found there are no shared library in ota packages. I expect there are some modules and shared libraries. but only existing were modules like lpunpack. I hope there are shared libraries such as libbase.so. but It's not working.
I think get-all-shared-libs-deps is related with copying shared libraries into ota_package. but It's not working please check it for me thanks !!!!!!!!!! /build/make/core/Makefile !!!!!!!!! ----------------------------------- INTERNAL_OTATOOLS_MODULES := \ aapt2 \ add_img_to_target_files \ append2simg \ avbtool \ blk_alloc_to_base_fs \ boot_signer \ brillo_update_payload \ brotli \ bsdiff \ build_image \ build_super_image \ build_verity_metadata \ build_verity_tree \ care_map_generator \ check_ota_package_signature \ check_target_files_signatures \ check_target_files_vintf \ checkvintf \ delta_generator \ e2fsck \ e2fsdroid \ fc_sort \ fec \ fs_config \ generate_verity_key \ img2simg \ img_from_target_files \ imgdiff \ libconscrypt_openjdk_jni \ lpmake \ lpunpack \ make_f2fs \ merge_target_files \ minigzip \ mk_combined_img \ mkbootfs \ mkbootimg \ mke2fs \ mke2fs.conf \ mkf2fsuserimg.sh \ mksquashfs \ mksquashfsimage.sh \ mkuserimg_mke2fs \ ota_from_target_files \ sefcontext_compile \ sgdisk \ shflags \ sign_apex \ sign_target_files_apks \ signapk \ simg2img \ sload_f2fs \ tune2fs \ unpack_bootimg \ update_host_simulator \ validate_target_files \ verity_signer \ verity_verifier \ zipalign \ # Additional tools to unpack and repack the apex file. INTERNAL_OTATOOLS_MODULES += \ apexer \ deapexer \ debugfs_static \ merge_zips \ resize2fs \ soong_zip \ ifeq (true,$(PRODUCT_SUPPORTS_VBOOT)) INTERNAL_OTATOOLS_MODULES += \ futility \ vboot_signer endif INTERNAL_OTATOOLS_FILES := \ $(filter $(HOST_OUT)/%,$(call module-installed-files,$(INTERNAL_OTATOOLS_MODULES))) .PHONY: otatools otatools: $(INTERNAL_OTATOOLS_FILES) # For each module, recursively resolve its host shared library dependencies. Then we have a full # list of modules whose installed files need to be packed. INTERNAL_OTATOOLS_MODULES_WITH_DEPS := \ $(sort $(INTERNAL_OTATOOLS_MODULES) \ $(foreach m,$(INTERNAL_OTATOOLS_MODULES),$(call get-all-shared-libs-deps,$(m)))) INTERNAL_OTATOOLS_PACKAGE_FILES := \ $(filter $(HOST_OUT)/%,$(call module-installed-files,$(INTERNAL_OTATOOLS_MODULES_WITH_DEPS))) INTERNAL_OTATOOLS_PACKAGE_FILES += \ $(sort $(shell find build/make/target/product/security -type f -name "*.x509.pem" -o \ -name "*.pk8" -o -name verity_key)) ifneq (,$(wildcard device)) INTERNAL_OTATOOLS_PACKAGE_FILES += \ $(sort $(shell find device $(wildcard vendor) -type f -name "*.pk8" -o -name "verifiedboot*" -o \ -name "*.pem" -o -name "oem*.prop" -o -name "*.avbpubkey")) endif ifneq (,$(wildcard external/avb)) INTERNAL_OTATOOLS_PACKAGE_FILES += \ $(sort $(shell find external/avb/test/data -type f -name "testkey_*.pem" -o \ -name "atx_metadata.bin")) endif ifeq (true,$(PRODUCT_SUPPORTS_VBOOT)) INTERNAL_OTATOOLS_PACKAGE_FILES += \ $(sort $(shell find external/vboot_reference/tests/devkeys -type f)) endif INTERNAL_OTATOOLS_RELEASETOOLS := \ $(sort $(shell find build/make/tools/releasetools -name "*.pyc" -prune -o \ \( -type f -o -type l \) -print)) BUILT_OTATOOLS_PACKAGE := $(PRODUCT_OUT)/otatools.zip $(BUILT_OTATOOLS_PACKAGE): PRIVATE_ZIP_ROOT := $(call intermediates-dir-for,PACKAGING,otatools)/otatools $(BUILT_OTATOOLS_PACKAGE): PRIVATE_OTATOOLS_PACKAGE_FILES := $(INTERNAL_OTATOOLS_PACKAGE_FILES) $(BUILT_OTATOOLS_PACKAGE): PRIVATE_OTATOOLS_RELEASETOOLS := $(INTERNAL_OTATOOLS_RELEASETOOLS) $(BUILT_OTATOOLS_PACKAGE): $(INTERNAL_OTATOOLS_PACKAGE_FILES) $(INTERNAL_OTATOOLS_RELEASETOOLS) $(BUILT_OTATOOLS_PACKAGE): $(SOONG_ZIP) $(ZIP2ZIP) @echo "Package OTA tools: $@" rm -rf $@ $(PRIVATE_ZIP_ROOT) mkdir -p $(dir $@) $(call copy-files-with-structure,$(PRIVATE_OTATOOLS_PACKAGE_FILES),$(HOST_OUT)/,$(PRIVATE_ZIP_ROOT)) $(call copy-files-with-structure,$(PRIVATE_OTATOOLS_RELEASETOOLS),build/make/tools/,$(PRIVATE_ZIP_ROOT)) cp $(SOONG_ZIP) $(ZIP2ZIP) $(MERGE_ZIPS) $(PRIVATE_ZIP_ROOT)/bin/ $(SOONG_ZIP) -o $@ -C $(PRIVATE_ZIP_ROOT) -D $(PRIVATE_ZIP_ROOT) .PHONY: otatools-package otatools-package: $(BUILT_OTATOOLS_PACKAGE) ----------------------------------- -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/bbec4cba-a5ca-4cc4-9dd4-37d0bc4c83b9%40googlegroups.com.