Skip to content
  • Iustin Pop's avatar
    Abstract OS name/variant functions · 870dc44c
    Iustin Pop authored
    
    
    Currently, the computation of the 'pure' name or the variant is
    hardcoded and spread around the functions that need it. This is not
    nice, and in the future we'd spread it even more with more usage of
    variants/pure os names.
    
    This patch abstracts these functions into the OS class, and then
    replaces the hardcoded uses with the new functions.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    870dc44c