Commit Graph

4 Commits

Author SHA1 Message Date
Tim Schumacher
5f0d7bbbe8
megvii: Return a char pointer for some stubs instead
`mg_facepp[3]` and `mg_facepp[4]` seem to return version strings, which
occasionally get logged if the return value is non-zero.

Return a dummy string for those functions to avoid crashing in strlen.

Change-Id: Icc5d2ab2f72c480f03e652e3849aceaf4cfb498b
2022-06-21 18:33:32 +02:00
Sebastiano Barezzi
ec5d5b0a98
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
2022-06-21 18:33:13 +02:00
Arian
c6a4249c37 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
2022-05-11 10:23:06 +02:00
Sebastiano Barezzi
b7dadebefe
megvii: Initial stub libraries
* Our camera HALs just needs mg_facepp, which is a struct containing some functions

Change-Id: Id931f767e327cf69b5c7264a8ad0bd335488ec12
2022-05-09 23:23:32 +02:00