diff options
Diffstat (limited to 'current/Android.bp')
-rw-r--r-- | current/Android.bp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/current/Android.bp b/current/Android.bp index b70e8fe..8583316 100644 --- a/current/Android.bp +++ b/current/Android.bp @@ -207,6 +207,43 @@ license { } cc_prebuilt_library_shared { + name: "libcom.android.tethering.dns_helper", + // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. + use_source_config_var: { + config_namespace: "ANDROID", + var_name: "module_build_from_source", + }, + visibility: ["//visibility:public"], + apex_available: ["com.android.tethering"], + licenses: ["tethering-module-sdk_Android-Apache-2.0"], + compile_multilib: "both", + export_include_dirs: ["include/packages/modules/Connectivity/DnsResolver/include"], + sanitize: { + cfi: true, + }, + stubs: { + versions: [ + "1", + "current", + ], + }, + arch: { + arm64: { + srcs: ["arm64/lib/libcom.android.tethering.dns_helper.so"], + }, + x86_64: { + srcs: ["x86_64/lib/libcom.android.tethering.dns_helper.so"], + }, + arm: { + srcs: ["arm/lib/libcom.android.tethering.dns_helper.so"], + }, + x86: { + srcs: ["x86/lib/libcom.android.tethering.dns_helper.so"], + }, + }, +} + +cc_prebuilt_library_shared { name: "libnetd_updatable", // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. use_source_config_var: { |