From b5c82a45d16138f757be54d895e60fb90dba8cbb Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Mon, 23 Sep 2024 21:45:25 +0000 Subject: Remove checkPartitionsForJavaDependency() The check adds restriction on inter-partition dependencies. This is now a no-op given that the container enforcement serves the same purpose. Also, the error guides the user to depend on java_sdk_library for inter-partition dependency, while depending on java_sdk_library directly is now restricted. Test: m nothing Bug: 308827369 Change-Id: I29f88b7b61e3d98d047e185e8757b9ffcf09582e --- android/variable.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'android/variable.go') diff --git a/android/variable.go b/android/variable.go index e0d512d3a..7041f4960 100644 --- a/android/variable.go +++ b/android/variable.go @@ -428,9 +428,6 @@ type ProductVariables struct { EnforceProductPartitionInterface *bool `json:",omitempty"` - EnforceInterPartitionJavaSdkLibrary *bool `json:",omitempty"` - InterPartitionJavaLibraryAllowList []string `json:",omitempty"` - BoardUsesRecoveryAsBoot *bool `json:",omitempty"` BoardKernelBinaries []string `json:",omitempty"` -- cgit v1.2.3-59-g8ed1b