Change global variables from extern to non static.  Make script local global vars static.
Change global variables from extern to non static.  Make script local global vars static.

Change-Id: I73656978e0f0ceeb927afef292fc4ed9755b7214

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base