2018-03-29 03:45:35 +02:00
|
|
|
// 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,
|
2018-07-24 22:45:09 +02:00
|
|
|
recovery_available: true,
|
2018-03-29 03:45:35 +02:00
|
|
|
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"],
|
|
|
|
}
|
2018-09-27 16:11:51 +02:00
|
|
|
|
|
|
|
python_defaults {
|
|
|
|
name: "mkbootimg_defaults",
|
|
|
|
|
|
|
|
version: {
|
|
|
|
py2: {
|
|
|
|
enabled: true,
|
|
|
|
embedded_launcher: true,
|
|
|
|
},
|
|
|
|
py3: {
|
|
|
|
enabled: false,
|
|
|
|
embedded_launcher: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
python_binary_host {
|
|
|
|
name: "mkbootimg",
|
|
|
|
defaults: ["mkbootimg_defaults"],
|
|
|
|
srcs: [
|
|
|
|
"mkbootimg.py",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
python_binary_host {
|
|
|
|
name: "unpack_bootimg",
|
|
|
|
defaults: ["mkbootimg_defaults"],
|
|
|
|
srcs: [
|
|
|
|
"unpack_bootimg.py",
|
|
|
|
],
|
|
|
|
}
|