android C native测试程序example Android.bp

一个简单的android测试程序的Android.bp example如下,在android根目录下make slub_debug_test.bin即可:

cc_binary {
    srcs: ["slub_debug_test.c"],
    name" "slub_debug_test.bin",
      proprietary: true,
      owner: "self",
    shared_libs: ["libc"],
}
原文地址:https://www.cnblogs.com/aspirs/p/15230357.html