RM6785: Include hardware/mediatek

Change-Id: Ibef677feafa3ad304e011af83b6cc323d17b639d
diff --git a/BoardConfig.mk b/BoardConfig.mk
index a3961ef..a5ee146 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -8,6 +8,7 @@
 
 # Platform
 TARGET_BOARD_PLATFORM := mt6785
+BOARD_HAS_MTK_HARDWARE := true
 
 # Architecture
 TARGET_ARCH := arm64
diff --git a/device.mk b/device.mk
index f9426ea..340b054 100644
--- a/device.mk
+++ b/device.mk
@@ -272,6 +272,7 @@
 PRODUCT_SOONG_NAMESPACES += \
     hardware/google/interfaces \
     hardware/google/pixel \
+    hardware/mediatek \
     $(LOCAL_PATH)
 
 # Soundtrigger
diff --git a/libmtkperf_client/Android.bp b/libmtkperf_client/Android.bp
deleted file mode 100644
index 86bfcb5..0000000
--- a/libmtkperf_client/Android.bp
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-// Copyright (C) 2022 The LineageOS Project
-//
-// SPDX-License-Identifier: Apache-2.0
-//
-
-cc_defaults {
-    name: "libmtkperf_client_defaults",
-    srcs: ["client.c"],
-    shared_libs: ["liblog"],
-}
-
-cc_library_shared {
-    name: "libmtkperf_client_vendor",
-    vendor: true,
-    defaults: ["libmtkperf_client_defaults"],
-}
-
-cc_library_shared {
-    name: "libmtkperf_client",
-    defaults: ["libmtkperf_client_defaults"],
-}
diff --git a/libmtkperf_client/client.c b/libmtkperf_client/client.c
deleted file mode 100644
index 8bf820a..0000000
--- a/libmtkperf_client/client.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) 2022 The LineageOS Project
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-#define LOG_TAG "libmtkperf_client"
-
-#include <log/log.h>
-
-int perf_lock_acq(int hdl, int dur, long num, unsigned int tid) {
-    ALOGI("[%s] hdl: %d, dur: %d, num: %ld, tid: %u",
-            __func__, hdl, dur, num, tid);
-    if (hdl > 0)
-        return hdl;
-
-    return 233;
-}
-
-int perf_lock_rel(int hdl) {
-    ALOGI("[%s] hdl: %d", __func__, hdl);
-    return 0;
-}
-
-int perf_cus_lock_hint(int hint, int dur) {
-    ALOGI("[%s], hint: %d, dur: %d", __func__, hint, dur);
-    return 233;
-}