From cd209035aa937e4642b52f944689e5c3de5478bf Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Tue, 19 Sep 2023 01:12:48 +0000 Subject: Refactor bp2build tests for allowlist v2 Allowlist v2 will change bp2build by automatically disabling rdeps of unconvertible modules. Many bp2build tests create bp2build stub modules without an implementation, This CL changes setup of such tests to also contain a BUILD file with "stub implementations" of equivalent targets, to keep these test targets convertible. To verify this change in-place, this CL removes `bp2build_available: false` from these dependencies. This is a test-only change for bp2build tests. Bug: 285631638 Test: m bp2build Change-Id: I489480cbc4158a416b7abf57c35a6e2bc2ad6173 --- java/java.go | 1 - 1 file changed, 1 deletion(-) (limited to 'java/java.go') diff --git a/java/java.go b/java/java.go index fdb635e3f..4f31af685 100644 --- a/java/java.go +++ b/java/java.go @@ -3391,7 +3391,6 @@ func (i *Import) ConvertWithBp2build(ctx android.TopDownMutatorContext) { javaLibraryBazelTargetModuleProperties(), android.CommonAttributes{Name: name + "-neverlink"}, neverlinkAttrs) - } var _ android.MixedBuildBuildable = (*Import)(nil) -- cgit v1.2.3-59-g8ed1b