Skip to content

Commit

Permalink
Add sepolicy_freeze_test and check-vintf-all to flashfiles target
Browse files Browse the repository at this point in the history
sepolicy_freeze_test compares the plat sepolicy with the prebuilt
sepolicy, build will fail if there are diffs.
check-vintf-all is used to check the compatibility between framework
and vendor.

Test done: sepolicy freeze test and vintf check will be executed
during make flashfiles.

Tracked-On: OAM-121993
Signed-off-by: jizhenlo <[email protected]>
  • Loading branch information
ceiba1985 authored and sysopenci committed Jul 5, 2024
1 parent 3566e0f commit d762616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/flashfiles.mk
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ LOCAL_TOOL:= \

.PHONY: flashfiles
ifeq ($(RELEASE_BUILD),true)
flashfiles: $(INTEL_FACTORY_FLASHFILES_TARGET) $(BUILT_RELEASE_FLASH_FILES_PACKAGE) $(gpt_name) publish_mkdir_dest publish_vertical host-pkg
flashfiles: $(INTEL_FACTORY_FLASHFILES_TARGET) $(BUILT_RELEASE_FLASH_FILES_PACKAGE) $(gpt_name) publish_mkdir_dest publish_vertical host-pkg sepolicy_freeze_test check-vintf-all
@$(ACP) $(BUILT_RELEASE_FLASH_FILES_PACKAGE) $(publish_dest)
ifeq (,$(filter base_aaos aaos_iasw,$(TARGET_PRODUCT)))
@echo "Publishing Release files started ..."
Expand Down Expand Up @@ -366,7 +366,7 @@ else
$(hide)rm -rf $(TOP)/pub/$(TARGET_PRODUCT)/$(TARGET_BUILD_VARIANT)/Release
endif
else
flashfiles: $(INTEL_FACTORY_FLASHFILES_TARGET) publish_gptimage_var publish_mkdir_dest publish_vertical host-pkg
flashfiles: $(INTEL_FACTORY_FLASHFILES_TARGET) publish_gptimage_var publish_mkdir_dest publish_vertical host-pkg sepolicy_freeze_test check-vintf-all
ifeq (,$(filter base_aaos aaos_iasw,$(TARGET_PRODUCT)))
@echo "Publishing Release files started"
$(hide) mkdir -p $(TOP)/pub/$(TARGET_PRODUCT)/$(TARGET_BUILD_VARIANT)/Release_Files
Expand Down

0 comments on commit d762616

Please sign in to comment.