am 81631c6b: Merge "Little fix for headers comparison tool"
* commit '81631c6b3c5ce8c25c216b65014d74b79e0d643e': Little fix for headers comparison tool
This commit is contained in:
@@ -152,7 +152,8 @@ class BionicSysincludes:
|
||||
path_bionic = os.path.join(self.bionic_root, arch_root, 'include', root)
|
||||
## for every header that both in Bionic and sysroot ##
|
||||
for include in pack[1]:
|
||||
if include in self.sysincludes[arch][root]:
|
||||
if (root in self.sysincludes[arch]) and \
|
||||
(include in self.sysincludes[arch][root]):
|
||||
## completing paths ##
|
||||
platform = self.sysincludes[arch][root][include][0]
|
||||
file_origin = os.path.join(path_bionic, include)
|
||||
|
||||
Reference in New Issue
Block a user