Add a script to extract last commands executed by soong

This script will extract them into a shell script file under /tmp/,
which can be executed to reproduce the last execution.

Flag: EXEMPT host test change only
Bug: 292141694
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/extract-last-soong-commands.py
    and check the content.
Change-Id: If29f62f14a1fd092263577a7a579a1b637982c99
1 file changed