Allowlist jni libs of FrameworksNetsTests

This includes
- libandroid_net_connectivity_com_android_net_module_util_jni
- libservice-connectivity
- netd_aidl_interface-V5-cpp

Bug: 297405814
Test: b build $(bmod libandroid_net_connectivity_com_android_net_module_util_jni) --config=android
Test: b build $(bmod libservice-connectivity) --config=android
Test: b build //packages/modules/Connectivity/staticlibs/netd:netd_aidl_interface-V5-cpp --config=android

Change-Id: I519bfba93cc0b8895b21a4287abd85299fea9afc
This commit is contained in:
Spandan Das 2023-10-05 22:28:59 +00:00
parent 046c8b4f19
commit ef3fbfeef2

View file

@ -324,34 +324,35 @@ var (
"libnativehelper": Bp2BuildDefaultTrueRecursively, "libnativehelper": Bp2BuildDefaultTrueRecursively,
"packages/apps/DevCamera": Bp2BuildDefaultTrue, "packages/apps/DevCamera": Bp2BuildDefaultTrue,
"packages/apps/HTMLViewer": Bp2BuildDefaultTrue, "packages/apps/HTMLViewer": Bp2BuildDefaultTrue,
"packages/apps/Protips": Bp2BuildDefaultTrue, "packages/apps/Protips": Bp2BuildDefaultTrue,
"packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue, "packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue,
"packages/apps/WallpaperPicker": Bp2BuildDefaultTrue, "packages/apps/WallpaperPicker": Bp2BuildDefaultTrue,
"packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively, "packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively,
"packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively, "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively,
"packages/modules/adb": Bp2BuildDefaultTrue, "packages/modules/adb": Bp2BuildDefaultTrue,
"packages/modules/adb/apex": Bp2BuildDefaultTrue, "packages/modules/adb/apex": Bp2BuildDefaultTrue,
"packages/modules/adb/fastdeploy": Bp2BuildDefaultTrue, "packages/modules/adb/fastdeploy": Bp2BuildDefaultTrue,
"packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively, "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively,
"packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively, "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively,
"packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively, "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively,
"packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively, "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively,
"packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively, "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively,
"packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively, "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively,
"packages/modules/Connectivity/bpf_progs": Bp2BuildDefaultTrueRecursively, "packages/modules/Connectivity/bpf_progs": Bp2BuildDefaultTrueRecursively,
"packages/modules/Connectivity/service-t": Bp2BuildDefaultTrueRecursively, "packages/modules/Connectivity/service-t": Bp2BuildDefaultTrueRecursively,
"packages/modules/Connectivity/staticlibs/native": Bp2BuildDefaultTrueRecursively, "packages/modules/Connectivity/service/native": Bp2BuildDefaultTrueRecursively,
"packages/modules/Connectivity/staticlibs/netd/libnetdutils": Bp2BuildDefaultTrueRecursively, "packages/modules/Connectivity/staticlibs/native": Bp2BuildDefaultTrueRecursively,
"packages/modules/Connectivity/tests/unit/jni": Bp2BuildDefaultTrueRecursively, "packages/modules/Connectivity/staticlibs/netd": Bp2BuildDefaultTrueRecursively,
"packages/modules/Gki/libkver": Bp2BuildDefaultTrue, "packages/modules/Connectivity/tests/unit/jni": Bp2BuildDefaultTrueRecursively,
"packages/modules/NetworkStack/common/captiveportal": Bp2BuildDefaultTrue, "packages/modules/Gki/libkver": Bp2BuildDefaultTrue,
"packages/modules/NeuralNetworks/apex": Bp2BuildDefaultTrue, "packages/modules/NetworkStack/common/captiveportal": Bp2BuildDefaultTrue,
"packages/modules/NeuralNetworks/apex/testing": Bp2BuildDefaultTrue, "packages/modules/NeuralNetworks/apex": Bp2BuildDefaultTrue,
"packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374) "packages/modules/NeuralNetworks/apex/testing": Bp2BuildDefaultTrue,
"packages/screensavers/Basic": Bp2BuildDefaultTrue, "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374)
"packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321) "packages/screensavers/Basic": Bp2BuildDefaultTrue,
"packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321)
"platform_testing/libraries/annotations": Bp2BuildDefaultTrueRecursively, "platform_testing/libraries/annotations": Bp2BuildDefaultTrueRecursively,
"platform_testing/libraries/flag-helpers/libflagtest": Bp2BuildDefaultTrueRecursively, "platform_testing/libraries/flag-helpers/libflagtest": Bp2BuildDefaultTrueRecursively,
@ -997,6 +998,9 @@ var (
"tradefed-device-build-interfaces", "tradefed-device-build-interfaces",
"tradefed-invocation-interfaces", "tradefed-invocation-interfaces",
"tradefed-lib-core", "tradefed-lib-core",
"libandroid_net_connectivity_com_android_net_module_util_jni",
"libservice-connectivity",
} }
Bp2buildModuleTypeAlwaysConvertList = []string{ Bp2buildModuleTypeAlwaysConvertList = []string{