commit | ea6666fba98c8d49789059ba32feae29621deb3a | [log] [tgz] |
---|---|---|
author | Liz Kammer <eakammer@google.com> | Wed Feb 17 10:17:28 2021 -0500 |
committer | Liz Kammer <eakammer@google.com> | Tue Feb 23 10:58:57 2021 -0500 |
tree | 55299e5cdb653659ea26212dd3eae9417f3c0cfd | |
parent | ece454400d4f40beb75e8d1773f3d9d684ff6608 [diff] [blame] |
Move bazel.Properties to a BazelModuleBase This allows more direct access to the bazel label and whether the module is bp2build available. Test: go test * Change-Id: I23375835d20fa53d7d94127b2dc2d5bb20487bfb
diff --git a/cc/library_headers.go b/cc/library_headers.go index e5a5557..5b61832 100644 --- a/cc/library_headers.go +++ b/cc/library_headers.go
@@ -86,7 +86,7 @@ return } - if !module.Properties.Bazel_module.Bp2build_available { + if !module.ConvertWithBp2build() { return }