Handle the results of running LoadTargetBuildFile in another process.
(self, result)
| 584 | self.error = False |
| 585 | |
| 586 | def LoadTargetBuildFileCallback(self, result): |
| 587 | """Handle the results of running LoadTargetBuildFile in another process.""" |
| 588 | self.condition.acquire() |
| 589 | if not result: |
| 590 | self.error = True |
| 591 | self.condition.notify() |
| 592 | self.condition.release() |
| 593 | return |
| 594 | (build_file_path0, build_file_data0, dependencies0) = result |
| 595 | self.data[build_file_path0] = build_file_data0 |
| 596 | self.data["target_build_files"].add(build_file_path0) |
| 597 | for new_dependency in dependencies0: |
| 598 | if new_dependency not in self.scheduled: |
| 599 | self.scheduled.add(new_dependency) |
| 600 | self.dependencies.append(new_dependency) |
| 601 | self.pending -= 1 |
| 602 | self.condition.notify() |
| 603 | self.condition.release() |
| 604 | |
| 605 | |
| 606 | def LoadTargetBuildFilesParallel( |