diff --git a/Android.mk b/Android.mk deleted file mode 100644 index 492292a..0000000 --- a/Android.mk +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (C) 2021 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. -# - -# WARNING: Everything listed here will be built on ALL platforms, -# including x86, the universal, and the SDK. Modules must be uniquely -# named (liblights.panda), and must build everywhere, or limit themselves -# to only building on ARM if they include assembly. Individual makefiles -# are responsible for having their own logic, for fine-grained control. - -LOCAL_PATH := $(call my-dir) - -# if some modules are built directly from this directory (not subdirectories), -# their rules should be written here. - -ifneq (,$(filter $(TARGET_DEVICE),tangorpro)) -HBM_LIBS := libhbmsvmanager_jni.so -HBM_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT)/priv-app/HbmSVManager/lib/arm64/,$(notdir $(HBM_LIBS))) -$(HBM_SYMLINKS): $(LOCAL_INSTALLED_MODULE) - @echo "HBM lib link: $@" - @mkdir -p $(dir $@) - @rm -rf $@ - $(hide) ln -sf /system_ext/lib64/$(notdir $@) $@ - -ALL_DEFAULT_INSTALLED_MODULES += $(HBM_SYMLINKS) -endif diff --git a/proprietary-files.txt b/proprietary-files.txt index a86c228..b1f4f8c 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -87,7 +87,7 @@ system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so system_ext/lib64/libedgetpu_dba.google.so # HBM -system_ext/lib64/libhbmsvmanager_jni.so +system_ext/lib64/libhbmsvmanager_jni.so;SYMLINK=system_ext/priv-app/HbmSVManager/lib/arm64/libhbmsvmanager_jni.so system_ext/priv-app/HbmSVManager/HbmSVManager.apk # Hotword