add libraries for dependency injection to external

Change-Id: I852bbd745ba4cf66d7f4d6eabb6157865791299a