minigbm: Cleanup Android.bp

Goals:
1. Cleanup
2. Allow the declaration and configuration of targets outside the tree

Out-of-tree Android.bp example:
'''
cc_binary {
    name: "android.hardware.graphics.allocator@4.0-service.minigbm_vc4",
    init_rc: ["allocator.minigbm_vc4.rc"],
    defaults: ["minigbm_gralloc4_allocator_defaults"],
    cflags: ["-DDRV_VC4"],
}

cc_library_shared {
    name: "android.hardware.graphics.mapper@4.0-impl.minigbm_vc4",
    defaults: ["minigbm_gralloc4_common_defaults"],
    cflags: ["-DDRV_VC4"],

    srcs: [":minigbm_gralloc4_mapper_files"],
}
'''

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Change-Id: Ia535814c361d3625aa7f31c79674ff1ad965e1c0
3 files changed