diff --git a/camera/Android.bp b/camera/Android.bp deleted file mode 100644 index 61d5bbe..0000000 --- a/camera/Android.bp +++ /dev/null @@ -1,21 +0,0 @@ -// -// Copyright (C) 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. -// 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_shared { - name: "libshim_megvii", - - proprietary: true, - srcs: ["megvii_shim.cpp"], -} diff --git a/camera/megvii_shim.cpp b/camera/megvii_shim.cpp deleted file mode 100644 index 02e05dc..0000000 --- a/camera/megvii_shim.cpp +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (C) 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. - * 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. - */ - -namespace android { - extern "C" void mg_facepp() {} -} diff --git a/common.mk b/common.mk index 870fa53..0c7deb2 100644 --- a/common.mk +++ b/common.mk @@ -112,10 +112,6 @@ PRODUCT_PACKAGES += \ libgui_vendor \ Snap -PRODUCT_PACKAGES += \ - libshim_megvii - -# Camera PRODUCT_PACKAGES += \ android.hardware.camera.provider@2.4-impl \ android.hardware.camera.provider@2.4-service_64 diff --git a/extract-files.sh b/extract-files.sh index d4ce05a..7b787d5 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -49,16 +49,6 @@ if [ -z "${SRC}" ]; then SRC="adb" fi -function blob_fixup() { - case "${1}" in - vendor/lib64/hw/camera.qcom.so) - $PATCHELF --remove-needed "libMegviiFacepp-0.5.2.so" "${2}" - $PATCHELF --remove-needed "libmegface.so" "${2}" - $PATCHELF --add-needed "libshim_megvii.so" "${2}" - ;; - esac -} - # Initialize the helper for common device setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}"