msm8974-common: libinit: Convert extension into simple helper library
* This will contain functions used by the actual extensions at the device level, it will not be a full-fledged libinit extension on its own. Change-Id: I2752dbf7d0b0fb439765fa99b61c82ec10a6c3d2
This commit is contained in:
parent
5006db0ec0
commit
080bf8a0ec
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2016 The CyanogenMod Project
|
||||
# 2017 The LineageOS Project
|
||||
# 2017-2020 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@ -20,13 +20,8 @@ include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_C_INCLUDES := system/core/init
|
||||
LOCAL_CFLAGS := -Wall -DANDROID_TARGET=\"$(TARGET_BOARD_PLATFORM)\"
|
||||
LOCAL_CFLAGS := -Wall
|
||||
LOCAL_SRC_FILES := init_msm8974.cpp
|
||||
ifneq ($(TARGET_LIBINIT_MSM8974_DEFINES_FILE),)
|
||||
LOCAL_SRC_FILES += ../../../../$(TARGET_LIBINIT_MSM8974_DEFINES_FILE)
|
||||
endif
|
||||
LOCAL_MODULE := libinit_msm8974
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libbase
|
||||
LOCAL_MODULE := libinit_helpers_sam8974
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
@ -37,11 +37,6 @@
|
||||
|
||||
using android::init::property_set;
|
||||
|
||||
__attribute__ ((weak))
|
||||
void init_target_properties()
|
||||
{
|
||||
}
|
||||
|
||||
void set_rild_libpath(char const variant[])
|
||||
{
|
||||
std::string libpath("/system/vendor/lib/libsec-ril.");
|
||||
@ -98,8 +93,3 @@ void property_override_dual(char const system_prop[],
|
||||
property_override(system_prop, value);
|
||||
property_override(vendor_prop, value);
|
||||
}
|
||||
|
||||
void vendor_load_properties()
|
||||
{
|
||||
init_target_properties();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user