diff options
author | 2024-09-23 21:45:25 +0000 | |
---|---|---|
committer | 2024-09-25 20:46:39 +0000 | |
commit | b5c82a45d16138f757be54d895e60fb90dba8cbb (patch) | |
tree | 5d498ebb2ca292d93d86d151b45f4299102ebe71 /android/config.go | |
parent | 1c4625a5ec6f6726ca44962947e6e353077c05de (diff) |
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
Diffstat (limited to 'android/config.go')
-rw-r--r-- | android/config.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/android/config.go b/android/config.go index 00fc823a8..3ef1470cc 100644 --- a/android/config.go +++ b/android/config.go @@ -1691,14 +1691,6 @@ func (c *config) EnforceProductPartitionInterface() bool { return Bool(c.productVariables.EnforceProductPartitionInterface) } -func (c *config) EnforceInterPartitionJavaSdkLibrary() bool { - return Bool(c.productVariables.EnforceInterPartitionJavaSdkLibrary) -} - -func (c *config) InterPartitionJavaLibraryAllowList() []string { - return c.productVariables.InterPartitionJavaLibraryAllowList -} - func (c *config) ProductHiddenAPIStubs() []string { return c.productVariables.ProductHiddenAPIStubs } |