Test repository to showcase the compilation avoidance when using bazel private_deps and swift access level imports
There are 3 swift libraries depending on each other:
- Sources -> Bindings -> Library
The goal was to validate that changing Library
does not induce recompilation of Sources
when using internal import
and the legacy @_implementationOnly import
.
To check so, lets run the following twice:
bazel build :app
bazel build :app --config=internal_import
bazel build :app --config=implementation_only_import
Changing Library.swift
in between builds of the same config.
Checking build.log
for executed actions.