[Android] Refactor the python script to prepare xwalk core library

Use list of files/directories to avoid duplicated code for copying.