Apache OpenOffice (AOO) Bugzilla – Issue 93211
Dependency missing for resource .src file on .hrc file
Last modified: 2013-08-07 15:34:52 UTC
sc/${OUTPATH}/misc/core.dpr and sc/${OUTPATH}/misc/src.core.dprr lack a dependency from compiler.src on the included compiler.hrc and its includes. Furthermore, sc/${OUTPATH}/misc/*core.dpr* also list the apparently correct dependencies for ..\..\..\common\srs\ui.srs Other .src files in other misc/*.dpr* also appear to have their dependencies.
tools/bootstrp/cppdep.cxx CppDep::IsIncludeStatement can't cope with comments (c and c++ at first glance) on the include line. the result is a missing dependency. the other issue is mixing dependencies from different directories. this is a result of an unlucky naming scheme for *.dprr files (hint for the fix: replace $(PWD:f) with $(TARGET)) moving the comments to their own code line is a workaround for the missing dependencies. the second one won't hurt you but should be fixed anyway.
Created attachment 56089 [details] solenv changes
Created attachment 56090 [details] rscdep changes (tools)
committed
please verify
Applied the patches to my CWS, now dependencies include .hrc files and no duplicated other directory's dependency list appears, fine.
Present in master, closing.