Make inherit-product loop over all files passed to it
Currently inherit-product and the rest of the product configuration infrastructure does not handle wildcards. However, they still get passed through unchanged, until they reach the raw Make include statement, which expands them. This essentially makes a meta-product that is the result of combining all the makefiles that were matched. In Starlark, the behavior is to actually treat each file as it's own product. This causes a discrepency when using `m product-graph`, where make shows one node for all those files and Stalark has a node for each. This is probably unintentional behavior, so change Make to also import each file as separate products. On the product I was investigating, the only difference this made in the ninja file was in the product graph. Bug: 221312856 Test: Presubmits Change-Id: I9ca7aff0b0790aeb6e42861ce2745feed8a1a7c4
Loading
Please register or sign in to comment