Revert "megvii: Initial stub libraries"

This reverts commit b7dadebefe.

Reason for revert: This does not work properly and causes duplicated targets for devices not using this shim.

Change-Id: Ia9b448e0b66c0a09965c21e2cb8d6b1071eff293
This commit is contained in:
Arian 2022-05-11 10:23:06 +02:00
parent b7dadebefe
commit c6a4249c37
2 changed files with 0 additions and 62 deletions

View File

@ -1,23 +0,0 @@
//
// Copyright (C) 2022 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_defaults {
name: "libMegviiFacepp_defaults",
vendor: true,
srcs: [
"megvii.c",
],
}
cc_library_shared {
name: "libMegviiFacepp-0.5.2",
defaults: ["libMegviiFacepp_defaults"],
}
cc_library_shared {
name: "libmegface",
vendor: true,
}

View File

@ -1,39 +0,0 @@
/*
* Copyright (C) 2022 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
static int stub_fail() {
return -1;
}
void *mg_facepp[] = {
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
&stub_fail,
};