sdm845-common: Build bootctrl.sdm845 using Soong
This is required to build the recovery variant of the same to be used by fastbootd. Bug: 78793464 Test: make Change-Id: I16eddcb853bda1a9969810f258884ebdbbfc1f5c
This commit is contained in:
parent
8937c5d867
commit
29e2cde762
3 changed files with 26 additions and 6 deletions
|
@ -1,2 +1,3 @@
|
||||||
soong_namespace {
|
soong_namespace {
|
||||||
|
imports: ["hardware/qcom/bootctrl"],
|
||||||
}
|
}
|
||||||
|
|
21
bootctrl/Android.bp
Normal file
21
bootctrl/Android.bp
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2018 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.sdm845",
|
||||||
|
defaults: ["bootctrl_hal_defaults"],
|
||||||
|
static_libs: ["libgptutils.oneplus_sdm845"],
|
||||||
|
}
|
10
common.mk
10
common.mk
|
@ -56,6 +56,10 @@ PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml
|
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml
|
||||||
|
|
||||||
# Boot control
|
# Boot control
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.boot@1.0-impl.recovery \
|
||||||
|
bootctrl.sdm845.recovery
|
||||||
|
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
bootctl
|
bootctl
|
||||||
|
|
||||||
|
@ -145,12 +149,6 @@ PRODUCT_PACKAGES += \
|
||||||
update_engine_sideload \
|
update_engine_sideload \
|
||||||
update_verifier
|
update_verifier
|
||||||
|
|
||||||
PRODUCT_STATIC_BOOT_CONTROL_HAL := \
|
|
||||||
bootctrl.sdm845 \
|
|
||||||
libcutils \
|
|
||||||
libgptutils.oneplus_sdm845.recovery \
|
|
||||||
libz \
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
update_engine_client
|
update_engine_client
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue