build: Add LOCAL_C_INCLUDE and legacy module.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>