Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00732c79 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Avoid re-running kati unnecessarily." into main

parents 9d21525b 3f0eba2b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -120,7 +120,8 @@ ifneq (,$(_use_protobuf))
        # Disable the build flag in release-config.
        _args += --guard=false
    endif
    $(KATI_shell_no_rerun $(OUT_DIR)/release-config $(_args) >$(OUT_DIR)/release-config.out && touch -t 200001010000 $(OUT_DIR)/release-config.out)
    _flags_file:=$(OUT_DIR)/soong/release-config/release_config-$(TARGET_PRODUCT)-$(TARGET_RELEASE).mk
    $(KATI_shell_no_rerun $(OUT_DIR)/release-config $(_args) >$(OUT_DIR)/release-config.out 2>&1 && touch -t 200001010000 $(OUT_DIR)/release-config.out $(_flags_file))
    $(if $(filter-out 0,$(.SHELLSTATUS)),$(error release-config failed to run))
    # This will also set _all_release_configs for us.
    $(eval include $(OUT_DIR)/soong/release-config/release_config-$(TARGET_PRODUCT)-$(TARGET_RELEASE).mk)