Mark generated renderscript header files as implicit outputs
If a generated renderscript header is referenced by a cpp file clang will insert a depsfile dependency on the header. If the generator rule does not include the header as an output, ninja will not consider the cpp file dirty after the generator runs, and not rebuild it. On the next build, it will see that the timestamp of the generated header is new and consider the cpp file dirty. Mark the header files as implicit outputs of the generator. Bug: 75982985 Test: m libstagefright_mediafilter touch frameworks/av/media/libstagefright/filters/saturationARGB.rs m libstagefright_mediafilter m libstagefright_mediafilter Change-Id: I3ac899322fe9cae2a6e4171092740339ef844494
Loading
Please register or sign in to comment