proud-dentist-2284407/22/2021, 4:08 PM
target. If there are multiple source roots that each contain a
package, for example, maybe we could do something like
. Or even, add another arg to
so that anything in that target that imports something from
would use the
as the dependency. And any files that do not depend on
would not get a hard-coded dependency on it (as with
). Basically, an extra knob to tune dependency inference without requiring hard-coded dependencies.
hundreds-father-40407/22/2021, 6:55 PM
proud-dentist-2284407/22/2021, 9:48 PM
is a target, then I would hope that it would apply to at least all of the targets in the current BUILD file. Bonus points if there's a way to apply that to sub directories as well.
is only an extra arg on
and friends, then I would expect to define it on every instance of