gbuild-to-ide Problem with multiple targets.

2 statement changed indention and caused problems

Change-Id: I67c1d51fcb9efa447085f8839c450c9741905f08
This commit is contained in:
jan Iversen 2017-01-05 09:39:11 +01:00
parent c919e31944
commit 1b4746f58c

View File

@ -136,12 +136,12 @@ class GbuildParser:
for target in self.files:
if target.location not in self.target_by_location:
self.target_by_location[target.location] = set()
self.target_by_location[target.location] |= set([target])
self.target_by_location[target.location] |= set([target])
for cxx in target.cxxobjects:
path = '/'.join(cxx.split('/')[:-1])
if path not in self.target_by_path:
self.target_by_path[path] = set()
self.target_by_path[path] |= set([target])
self.target_by_path[path] |= set([target])
for path in self.target_by_path:
x = self.target_by_path[path]
if path != '' and len(set(self.target_by_path[path])) > 1: