一个简单的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"], }