From 7e674e69ef000543e43bed3826c66441512de0d8 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 18 Apr 2024 21:34:12 +0000 Subject: Drop use_source_config_var from prebuilt selection This CL makes this property a no-op from the perspective of prebuilt selection. The primary user of this was mainline modules, but they have now switched to RELEASE_APEX_CONTRIBUTIONS_* for prebuilt selection, both for internal `main` development and in partner drops. Test: in internal, lunch cf_x86_64_phone-next-userdebug; m nothing; and verified there was a path to the prebuilt bt apex Test: in partner workspace, lunch gsi_partner_arm-ap31-userdebug; m nothing; and verified that there was a path to the prebuilt adservices apex Bug: 308188211 Change-Id: I124a6dada5c20aca4bdebf70dcbe5bbec28cefbe --- java/sdk_library_test.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'java/sdk_library_test.go') diff --git a/java/sdk_library_test.go b/java/sdk_library_test.go index 5fac2556d..0f163e6e0 100644 --- a/java/sdk_library_test.go +++ b/java/sdk_library_test.go @@ -1085,18 +1085,6 @@ func TestJavaSdkLibraryImport_Preferred(t *testing.T) { t.Run("prefer", func(t *testing.T) { testJavaSdkLibraryImport_Preferred(t, "prefer: true,", android.NullFixturePreparer) }) - - t.Run("use_source_config_var", func(t *testing.T) { - testJavaSdkLibraryImport_Preferred(t, - "use_source_config_var: {config_namespace: \"acme\", var_name: \"use_source\"},", - android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) { - variables.VendorVars = map[string]map[string]string{ - "acme": { - "use_source": "false", - }, - } - })) - }) } // If a module is listed in `mainline_module_contributions, it should be used -- cgit v1.2.3-59-g8ed1b