aboutsummaryrefslogtreecommitdiff
path: root/libshims
diff options
context:
space:
mode:
Diffstat (limited to 'libshims')
-rw-r--r--libshims/Android.mk10
-rw-r--r--libshims/get_process_name.c21
2 files changed, 0 insertions, 31 deletions
diff --git a/libshims/Android.mk b/libshims/Android.mk
index 5eba3ec..6d76d02 100644
--- a/libshims/Android.mk
+++ b/libshims/Android.mk
@@ -14,16 +14,6 @@
LOCAL_PATH := $(call my-dir)
-# get_process_name shim
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := get_process_name.c
-
-LOCAL_MODULE := libshims_get_process_name
-LOCAL_MODULE_TAGS := optional
-
-include $(BUILD_SHARED_LIBRARY)
-
# camera shim
include $(CLEAR_VARS)
diff --git a/libshims/get_process_name.c b/libshims/get_process_name.c
deleted file mode 100644
index a25985c..0000000
--- a/libshims/get_process_name.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (C) 2017 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.
- */
-
-static const char* process_name = "unknown";
-
-const char* get_process_name(void) {
- return process_name;
-}