Reland "Make glob output include product name"
glob pattern could vary, depending on device configuration, but it uses the same glob output path for now. It makes unnecessary soong reevaluation due to the previous result is always overwritten whenever the target is changed. So make it product specific to avoid this. And also let bootstrap.ninja use 'new' ninja file for globbing Bug: 294378814 Bug: 294058160 Test: lunch a && m nothing && lunch b && m nothing && lunch a && m nothing and then check if there is no glob work. (a and b has different glob pattern due to RRO configuration or something) Test: check if bootstreap.ninja include 'new' ninja file for globbing Test: declare `cc_library { ... srcs: ["*.c"] }` && \ touch a.c && m nothing && touch b.c && m nothing && \ rm b.c && m nothing && mv a.c c.c && m nothing and then check if m includes 'regenerate glob..' log. Change-Id: I9337ae3b33cc2c0689f9731bbae5caae67612e3e
Loading
Please register or sign in to comment