forked from openkylin/platform_build
Parallelize system*.img and target-files-package
We don't actually need to build the system image before target-files-package, we just need to make sure everything is present in $(PRODUCT_OUT)/system. So switch the dependencies around. This can't be done as easily for the vendor image, since it may be a prebuilt, or we may need to install some kernel modules into $(PRODUCT_OUT)/vendor when building vendor.img. It tends to be smaller anyway, so the time savings isn't as big. Test: Make sure the build server outputs the same files Test: Ensure target-files-package is identical before/after. Change-Id: I84e4f878491ab2b71582f4f49418dbfbba75590f
This commit is contained in:
parent
653bea928a
commit
aadd499bc3
|
@ -1941,11 +1941,11 @@ $(BUILT_TARGET_FILES_PACKAGE): \
|
|||
$(INSTALLED_BOOTIMAGE_TARGET) \
|
||||
$(INSTALLED_RADIOIMAGE_TARGET) \
|
||||
$(INSTALLED_RECOVERYIMAGE_TARGET) \
|
||||
$(INSTALLED_SYSTEMIMAGE) \
|
||||
$(FULL_SYSTEMIMAGE_DEPS) \
|
||||
$(INSTALLED_USERDATAIMAGE_TARGET) \
|
||||
$(INSTALLED_CACHEIMAGE_TARGET) \
|
||||
$(INSTALLED_VENDORIMAGE_TARGET) \
|
||||
$(INSTALLED_SYSTEMOTHERIMAGE_TARGET) \
|
||||
$(INTERNAL_SYSTEMOTHERIMAGE_FILES) \
|
||||
$(INSTALLED_ANDROID_INFO_TXT_TARGET) \
|
||||
$(INSTALLED_KERNEL_TARGET) \
|
||||
$(INSTALLED_2NDBOOTLOADER_TARGET) \
|
||||
|
@ -1955,7 +1955,7 @@ $(BUILT_TARGET_FILES_PACKAGE): \
|
|||
$(APKCERTS_FILE) \
|
||||
$(SOONG_ZIP) \
|
||||
$(HOST_OUT_EXECUTABLES)/fs_config \
|
||||
build/tools/releasetools/add_img_to_target_files \
|
||||
$(BUILD_IMAGE_SRCS) \
|
||||
| $(ACP)
|
||||
@echo "Package target files: $@"
|
||||
$(hide) rm -rf $@ $@.list $(zip_root)
|
||||
|
|
Loading…
Reference in New Issue