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

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

Merge "Support release configs: disallow_lunch_use=true" into main

parents c24fdb1f 35298ee9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -146,6 +146,9 @@ ifneq (,$(_use_protobuf))
        # This will also set ALL_RELEASE_CONFIGS_FOR_PRODUCT and _used_files for us.
        $(eval include $(_flags_file))
        $(KATI_extra_file_deps $(OUT_DIR)/release-config $(protobuf_map_files) $(_flags_file))
        ifneq (,$(_disallow_lunch_use))
            $(error Release config ${TARGET_RELEASE} is disallowed for build.  Please use one of: $(ALL_RELEASE_CONFIGS_FOR_PRODUCT))
        endif
    else
        # This is the first pass of product config.
        $(eval include $(_flags_varmk))