build: support to generate image property dictionary.

N/A

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