Implement Legacy and base configuration
am: ff9cbf7c6c

Change-Id: I283a5381acc2002c2a5226006236a33265a99f39