diff options
author | 2017-10-26 18:03:24 +0200 | |
---|---|---|
committer | 2017-10-27 16:29:26 +0200 | |
commit | fba45f5695370fda1d8868a079223d4212b5484a (patch) | |
tree | 51ac33e73b6b1e19159795288ef02a4c8c9b6fcd /src/main/java/com/google/devtools/build/lib/ssd | |
parent | d1c9becbdefd4c138c70c9d160c54cca30efa023 (diff) |
Allow/require callers of AbstractPackageLoader to set Skylark semantics explicitly
Previously the default semantics were used unconditionally. Allowing non-default semantics is a feature. Requiring semantics to be specified explicitly helps to avoid unintentional divergence from the caller's intended semantics. We recently did the same thing for Skylark's Environment.Builder (https://github.com/bazelbuild/bazel/commit/b368b39f8ba1e8e8a67af50e5ade9127b2b149d7).
Also pass Skylark semantics through Package.Builder.Helper, so that the extra verification done for shell tests uses the same semantics as the build.
RELNOTES: None
PiperOrigin-RevId: 173544885
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/ssd')
0 files changed, 0 insertions, 0 deletions