[Analyzer] Use target_definition.empty? instead of dependencies
Use the more abstract `empty?` method. It excludes inherited dependencies which is enough for this validation. Add test where the target inherits the platform from its parent to ensure the validation passes in this case as well.
Showing
Please
register
or
sign in
to comment