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:
parent
b7dadebefe
commit
c6a4249c37
@ -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,
|
|
||||||
}
|
|
@ -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,
|
|
||||||
};
|
|
Loading…
Reference in New Issue
Block a user