mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 18:19:03 +00:00
Revert^2 "Deprecate PRODUCT_STATIC_BOOT_CONTROL_HAL.""
This reverts commit d83c2cc22b.
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
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/pixel",
|
||||
"hardware/qcom/bootctrl",
|
||||
"hardware/qcom/msm8998",
|
||||
],
|
||||
}
|
||||
|
||||
@@ -201,3 +201,6 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/android.hardware.grap
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so)
|
||||
# Rename power HAL
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.power@1.2-service.wahoo-libperfmgr.rc)
|
||||
|
||||
# Remove obsolete android.hardware.boot@1.0-impl-wrapper.recovery.so
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/system/lib64/hw/android.hardware.boot@1.0-impl-wrapper.recovery.so)
|
||||
|
||||
21
bootctrl/Android.bp
Normal file
21
bootctrl/Android.bp
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// Copyright (C) 2019 The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
cc_library {
|
||||
name: "bootctrl.msm8998",
|
||||
defaults: ["bootctrl_hal_defaults"],
|
||||
static_libs: ["libgptutils.msm8998"],
|
||||
}
|
||||
15
device.mk
15
device.mk
@@ -38,7 +38,8 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
device/google/wahoo \
|
||||
vendor/google/camera \
|
||||
hardware/google/pixel
|
||||
hardware/google/pixel \
|
||||
hardware/qcom/msm8998
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/wahoo/default-permissions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default-permissions/default-permissions.xml \
|
||||
@@ -130,7 +131,8 @@ PRODUCT_PACKAGES += \
|
||||
update_verifier
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
bootctrl.msm8998
|
||||
bootctrl.msm8998 \
|
||||
bootctrl.msm8998.recovery
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.cp_system_other_odex=1
|
||||
@@ -141,14 +143,6 @@ AB_OTA_POSTINSTALL_CONFIG += \
|
||||
FILESYSTEM_TYPE_system=ext4 \
|
||||
POSTINSTALL_OPTIONAL_system=true
|
||||
|
||||
# Enable update engine sideloading by including the static version of the
|
||||
# boot_control HAL and its dependencies.
|
||||
PRODUCT_STATIC_BOOT_CONTROL_HAL := \
|
||||
bootctrl.msm8998 \
|
||||
libgptutils \
|
||||
libz \
|
||||
libcutils
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
update_engine_sideload
|
||||
|
||||
@@ -447,6 +441,7 @@ PRODUCT_PACKAGES += \
|
||||
# Boot control HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.boot@1.0-impl:64 \
|
||||
android.hardware.boot@1.0-impl.recovery:64 \
|
||||
android.hardware.boot@1.0-service \
|
||||
|
||||
# Vibrator HAL
|
||||
|
||||
Reference in New Issue
Block a user