sm7250-common: megvii: Initial stub libraries
This is not available on hardware/xiaomi 19.1 branch
This reverts commit a1c6683f96
.
Change-Id: I8de43c460f46018bdd809d3fa402f52ddb95d8e3
This commit is contained in:
parent
a1c6683f96
commit
127e843873
16
megvii/Android.bp
Normal file
16
megvii/Android.bp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
cc_library_shared {
|
||||||
|
name: "libMegviiFacepp-0.5.2",
|
||||||
|
vendor: true,
|
||||||
|
srcs: ["megvii.c"],
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_library_shared {
|
||||||
|
name: "libmegface",
|
||||||
|
vendor: true,
|
||||||
|
}
|
39
megvii/megvii.c
Normal file
39
megvii/megvii.c
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* 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