Reland "megvii: Initial stub libraries"
* We can't provide the original libs anymore, thus making the duplicated targets not an issue anymore
This reverts commit c6a4249c37
.
Change-Id: Id987607b73ca0d8e9fd944518442f8cdffd0ce2a
This commit is contained in:
parent
9976b3f15b
commit
ec5d5b0a98
23
megvii/Android.bp
Normal file
23
megvii/Android.bp
Normal file
@ -0,0 +1,23 @@
|
||||
//
|
||||
// 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,
|
||||
}
|
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