RM6785: Switch to SPDX license identifiers

SamarV-121:
grep -rnl 'Licensed under the Apache' | while read -r file; do
    comm=$(grep 'Licensed' "$file" | awk '{print $1}')
    [ "$comm" = '*' ] && comm=' *'
    grep -q '     Licensed' "$file" && comm='    '
    sed -i "/Licensed/,/limitations under the License/c\\""$comm"" SPDX-License-Identifier: Apache-2.0" "$file"
done

Change-Id: Ib95789a0286785ba3b0b6df265291e87a13d2ef8
57 files changed