blob: 593ba1497fef21b912b4a137e6f27284b6ea14d3 [file] [log] [blame]
markchiene59f5e32022-04-02 00:45:53 +08001# Match the tethering jarjar rules for utils backed by
2# libcom_android_networkstack_tethering_util_jni, so that this JNI library can be used as-is in the
3# test. The alternative would be to build a test-specific JNI library
4# (libcom_android_connectivity_tests_coverage_jni ?) that registers classes following whatever
5# jarjar rules the test is using, but this is a bit less realistic (using a different JNI library),
6# and complicates the test build. It would be necessary if TetheringUtils had a different package
7# name in test code though, as the JNI library name is deducted from the TetheringUtils package.
8rule com.android.net.module.util.BpfMap* com.android.networkstack.tethering.util.BpfMap@1
9rule com.android.net.module.util.BpfUtils* com.android.networkstack.tethering.util.BpfUtils@1
10rule com.android.net.module.util.TcUtils* com.android.networkstack.tethering.util.TcUtils@1