Search code examples
androidbuild.gradleandroid-sourcemdnsavahi

I need mma coomand to build avahi module want to include it into make command AOSP


I am using AOSP Nougat source code. I want to build avahi module for my custom hardware to support mdns. I can build it using mma command.

I want to include this module in build when I use make command.

Can anyone suggest the way to do it.


Solution

  • Your avahi module have an Android.mk get the LOCAL_MODULE value and put it in the PRODUCT_PACKAGES variable of your device.

    Like this PRODUCT_PACKAGES += your_avahi_name .

    More info on PRODUCT_PACKAGES on this page (search for PRODUCT_PACKAGES).