soong: init_rc doesn't copy to target when used in cc_prebuilt_binary

142 views
Skip to first unread message

Michael Lekman

unread,
Sep 18, 2017, 10:25:12 AM9/18/17
to Android Building
Hello.

init_rc tag for cc_prebuilt_binary doesn't copy the file to /system/etc/init/.

Ex:
cc_prebuilt_binary {
    name: "foobin",
    srcs: ["prebuilts/system/bin/foobin"],
    init_rc: ["init/foobin.rc"],
    shared_libs: [
        "liblog",
    ],
}

BR
/Michael

Michael Lekman

unread,
Sep 19, 2017, 12:18:19 PM9/19/17
to Android Building
forgot the tags: ["debug"] in the example below. 
Previously in Android.mk it was enough to have LOCAL_MODULE_TAGS := debug but now it also required to  add the name foobin in PRODUCT_PACKAGES_DEBUG.
Reply all
Reply to author
Forward
0 new messages