platform_system_core/mkbootimg/Android.bp
Jayant Chowdhary 478c7c1eaf Add dummy vndk library libmkbootimg to enable abi checks on boot_img_hdr.
Bug: 74763691

Test: m -j libmkbootimg creates libmkbootimg.so.lsdump.

Test: make -j64

Change-Id: I8d716c560467aaf090f4f7ee9cfbc53a9405f05d
(cherry picked from commit 4cc755dce5)
2018-03-31 07:13:33 -07:00

32 lines
689 B
Text

// Copyright 2012 The Android Open Source Project
cc_library_headers {
name: "libmkbootimg_abi_headers",
vendor_available: true,
export_include_dirs: ["include"],
}
cc_library_headers {
name: "bootimg_headers",
vendor_available: true,
export_include_dirs: ["include/bootimg"],
host_supported: true,
target: {
windows: {
enabled: true,
},
},
}
cc_library {
name: "libmkbootimg_abi_check",
vendor_available: true,
vndk: {
enabled: true,
},
srcs: [
"mkbootimg_dummy.cpp",
],
header_libs: ["libmkbootimg_abi_headers"],
export_header_lib_headers: ["libmkbootimg_abi_headers"],
}