Skip to content
  • Nirbheek Chauhan's avatar
    cerbero: Refactor variant handling in platform config files · 98dae501
    Nirbheek Chauhan authored
    While parsing config files such as the platform config files, we were
    exposing variants as an unresolved `list` of "operations" that will
    enable or disable the variant once they've all been resolved
    
    This is buggy because it means that platform config files have no way
    to know whether a variant has actually been disabled or enabled by the
    user.
    
    Now we always parse variants into the `Variants` object before parsing
    all configuration files.
    
    Part-of: <!480>
    98dae501