Native java implementation to package a chrome extension