Commit Graph

4 Commits

Author SHA1 Message Date
Xi Ge
bd782be654 Front-end: add a new module loader that loads explicitly built Swift modules
To support -disable-implicit-swift-modules, the explicitly built modules
are passed down as compiler arguments. We need this new module loader to
handle these modules.

This patch also stops ModuleInterfaceLoader from building module from interface
when -disable-implicit-swift-modules is set.
2020-06-03 18:59:18 -07:00
Xi Ge
1ae70a5b26 DependenciesScanner: avoid reporting output file path because build system should specify it 2020-06-02 16:51:45 -07:00
Xi Ge
220239843b [test] DependenciesScanner: running shell commands via a python script instead from Swift
Running shell commands using Swift in simulator tests is hard. We change the mechanism so that
BuildModulesFromGraph.swift prints command line arguments and a simple python script
picks these arguments and actually runs the command.
2020-05-22 12:29:54 -07:00
Xi Ge
cb3f278120 Test: add a script for building modules by using command line arguments emitted from dependency JSON 2020-05-22 07:50:08 -07:00