[native_toolchain_c] Tool variants #20
Labels
P3
A lower priority bug or feature request
package:native_toolchain_c
type-code-health
Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
type-enhancement
A request for a change that isn't a bug
Currently, our
Tool
s are considered equal if they represent the same conceptual tool. E.g.clang
is the same conceptual tool whether it's the one for the host OS and the one for Android.ToolInstance
s are only equal if they point to the actual identical uri and identical version.Some middle ground could be something like a
ToolVariant
.Currently the only variants I have encountered have to do with the
Target
architecture and operating system:We might need to address this to do a better job in the Tool Recognizers when Dart/Flutter passes us just a Uri of an executable and we don't know which tool variant this is.
The text was updated successfully, but these errors were encountered: