This is a squash of the following:
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Sep 27 16:12:10 2020 +0200
wahoo: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
stdio.h will cause errors due to redefined macros.
Change-Id: I2f753a64f760b636be1325873e17697466fbf33d
Author: LuK1337 <priv.luk@gmail.com>
Date: Mon Sep 9 22:38:02 2019 +0200
wahoo: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
asm/byteorder.h will cause a warning due to
unused static functions.
Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
Author: Rashed Abdel-Tawab <rashed@linux.com>
Date: Sun Sep 29 15:37:38 2019 -0400
wahoo: Switch gpt-utils to generated_kernel_headers
Change-Id: Ia6e2f7e140e6ffbd3a93dd823f836aaf399d03fb
Change-Id: Ia1f608778b5b37fec770abbf185c5e313cd5ba16
In favor of using boot control HAL under recovery.
Bug: 34254109
Test: TreeHugger
This is a combination of 2 commits.
This is the 1st commit message:
Revert^2 "Build libgptutils with Android.bp.""
This reverts commit 215189f0b9ff44d28c2b4ace0abb26854b201271.
The previous landing broke checkbuild targets due to namespace issue. As
libgptutils.msm8998 was exposed to global namespace (previously guarded
via conditionals in Android.mk), but had a missing dependency on
nonexposed msm8998 kernel headers.
The relanding adds a Soong namespace of hardware/qcom/msm8998, to ensure
modules only getting built as needed.
Bug: 34254109
Test: Sideload on taimen.
Test: `m -j checkbuild` with aosp_x86-eng
Change-Id: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
Merged-In: I4a7c4cedcf58c7735172d989912e4f7afad1eaed
(cherry picked from commit e74c7611d2cbea03ec8ec1559787a7a57b2bf767)
This is the commit message #2:
Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""
This reverts commit d83c2cc22b3f037e94cd4ad7e19f5985da13a8b8.
The previous landing broke checkbuild targets due to namespace issue.
See the commit message for hardware/qcom/msm8998 change.
Bug: 34254109
Test: Build and boot taimen on device to home screen.
Test: Sideload on taimen.
Change-Id: I775026345eb5fc0ec580ba4ca0282835106a1d35
Merged-In: I775026345eb5fc0ec580ba4ca0282835106a1d35
(cherry picked from commit 4fa8e490208bef42faccf204381dc35ad1cfed46)