apollon: libinit: Adapt to latest changes

Change-Id: I9a2cacdef922f19b788316537ef15394e5068edb
This commit is contained in:
Sebastiano Barezzi
2021-08-24 16:36:22 +02:00
parent d3b8d96114
commit 047556d56a
3 changed files with 11 additions and 10 deletions

View File

@@ -15,8 +15,8 @@ BUILD_BROKEN_DUP_RULES := true
TARGET_SCREEN_DENSITY := 440
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):libinit_apollon
TARGET_RECOVERY_DEVICE_MODULES := libinit_apollon
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_apollon
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_apollon
# Kernel
TARGET_KERNEL_CONFIG := vendor/apollo_defconfig

View File

@@ -5,8 +5,9 @@
//
cc_library_static {
name: "libinit_apollon",
defaults: ["//device/xiaomi/sm8250-common:libinit_kona_defaults"],
srcs: ["init_apollon.cpp"],
whole_static_libs: ["//device/xiaomi/sm8250-common:libinit_kona"],
name: "init_xiaomi_apollon",
srcs: ["init_xiaomi_apollon.cpp"],
whole_static_libs: ["//device/xiaomi/sm8250-common:libinit_xiaomi_kona"],
include_dirs: ["system/core/init"],
recovery_available: true,
}

View File

@@ -4,7 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <libinit_kona.h>
#include <libinit_dalvik_heap.h>
#include <libinit_variant.h>
#include "vendor_init.h"
static const variant_info_t apollocn_info = {
.hwc_value = "CN",
@@ -14,7 +17,6 @@ static const variant_info_t apollocn_info = {
.device = "apollo",
.marketname = "K30S Ultra",
.model = "M2007J3SC",
.build_description = "apollo-user 11 RKQ1.200826.002 V12.5.1.0.RJDCNXM release-keys",
.build_fingerprint = "Redmi/apollo/apollo:11/RKQ1.200826.002/V12.5.1.0.RJDCNXM:user/release-keys",
.nfc = true,
@@ -28,7 +30,6 @@ static const variant_info_t apollo_info = {
.device = "apollo",
.marketname = "Mi 10T",
.model = "M2007J3SY",
.build_description = "apollo-user 11 RKQ1.200826.002 V12.5.1.0.RJDMIXM release-keys",
.build_fingerprint = "Xiaomi/apollo_global/apollo:11/RKQ1.200826.002/V12.5.1.0.RJDMIXM:user/release-keys",
.nfc = true,
@@ -42,7 +43,6 @@ static const variant_info_t apollopro_info = {
.device = "apollo",
.marketname = "Mi 10T Pro",
.model = "M2007J3SG",
.build_description = "apollopro-user 11 RKQ1.200826.002 V12.5.1.0.RJDMIXM release-keys",
.build_fingerprint = "Xiaomi/apollopro_global/apollopro:11/RKQ1.200826.002/V12.5.1.0.RJDMIXM:user/release-keys",
.nfc = true,