Revert "mkbootimg: Build mkbootimg with Soong."

This reverts commit 51360fc349.

Reason for revert: Triggered some crash in Soong.

Bug: 116698229
Change-Id: Iab4827fdadc65cbabb60aa07eeac7b33acea68a0
This commit is contained in:
Tao Bao 2018-09-26 15:19:24 +00:00
parent 51360fc349
commit 55a78bf580
4 changed files with 20 additions and 31 deletions

View file

@ -31,34 +31,3 @@ cc_library {
header_libs: ["libmkbootimg_abi_headers"],
export_header_lib_headers: ["libmkbootimg_abi_headers"],
}
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",
],
}

20
mkbootimg/Android.mk Normal file
View file

@ -0,0 +1,20 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := mkbootimg
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_IS_HOST_MODULE := true
LOCAL_MODULE := mkbootimg
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := unpack_bootimg
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_IS_HOST_MODULE := true
LOCAL_MODULE := unpack_bootimg
include $(BUILD_PREBUILT)

0
mkbootimg/mkbootimg.py → mkbootimg/mkbootimg Normal file → Executable file
View file

View file