Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aed2e74b authored by zhidou's avatar zhidou
Browse files

replace aconfig_storage_reader_java to aconfig_storage_stub

This change replace aconfig_storage_reader_jave to aconfig_storage_stub.
The former library is a normal java library, while the later is a stub
library. Since we only need to provide the symbols here, the stub
library is safer.

Test: presubmit
Change-Id: I1c098cf7ad4c0ec0d5f0b13089f04598b8f81fc3
parent a4a6ec4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ func (callbacks *JavaAconfigDeclarationsLibraryCallbacks) DepsMutator(module *ja
		module.AddSharedLibrary("aconfig-annotations-lib")
		// TODO(b/303773055): Remove the annotation after access issue is resolved.
		module.AddSharedLibrary("unsupportedappusage")
		module.AddSharedLibrary("aconfig_storage_reader_java")
		module.AddSharedLibrary("aconfig_storage_stub")
	}
}

+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ var globallyAllowlistedDependencies = []string{

	// TODO(b/363016634): Remove from the allowlist when the module is converted
	// to java_sdk_library and the java_aconfig_library modules depend on the stub.
	"aconfig_storage_reader_java",
	"aconfig_storage_stub",

	// framework-res provides core resources essential for building apps and system UI.
	// This module is implicitly added as a dependency for java modules even when the
+1 −1
Original line number Diff line number Diff line
@@ -428,7 +428,7 @@ func gatherRequiredDepsForTest() string {
		"stub-annotations",

		"aconfig-annotations-lib",
		"aconfig_storage_reader_java",
		"aconfig_storage_stub",
		"unsupportedappusage",
	}