def-tool: Support product and product_services partition

This commit adds initial support to `product` and `product_services`
partitions.

Test: ./tests/run.sh
Change-Id: I15cc1568c880cc783eed6d22fec288246305b66c
3 files changed