with pch level 2 (base), a module still shouldn't pch its own headers
Change-Id: I9c7f7d2f266950fac683bf5148dec741d7652585 Reviewed-on: https://gerrit.libreoffice.org/72194 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
+7
-2
@@ -486,10 +486,15 @@ def sort_by_category(list, root, module, filter_local):
|
||||
sys.append(i)
|
||||
elif '<boost/' in i:
|
||||
boo.append(i)
|
||||
elif '<osl/' in i or '<rtl/' in i or '<sal/' in i or '<vcl/' in i:
|
||||
cor.append(i)
|
||||
elif prefix in i or not '/' in i:
|
||||
mod.append(i)
|
||||
elif '<sal/' in i or '<vcl/' in i:
|
||||
cor.append(i)
|
||||
elif '<osl/' in i or '<rtl/' in i:
|
||||
if module == "sal": # osl and rtl are also part of sal
|
||||
mod.append(i)
|
||||
else:
|
||||
cor.append(i)
|
||||
# Headers from another module that is closely tied to the module.
|
||||
elif module == 'sc' and '<formula' in i:
|
||||
mod.append(i)
|
||||
|
||||
Reference in New Issue
Block a user