Import extension SDK JAR files

Copy the extension SDK jars from prebuilts/module_sdk to this project;
for example, copy

  prebuilts/module_sdk/Permission/1/sdk_library/public/framework-permission-s-stubs.jar

to

  prebuilts/sdk/extensions/1/public/framework-permission-s-stubs.jar

For future referece, the command to copy the files is

  FILTER_OUT="-e framework-ondevicepersonalization -e framework-uwb -e framework-wifi"

  if [ ! -e build/make/core/Makefile ]; then
    echo "$0 must be run from the top of the tree"
    exit 1
  fi

  while IFS= read -r src; do
    dest="prebuilts/sdk/extensions/$(echo "$src" | sed -E 's+.*([0-9]\+)/sdk_library+\1+')"
    mkdir -p "$(dirname "$dest")"
    cp "$src" "$dest"
  done < <(find prebuilts/module_sdk -type f -regex '.*/\([0-9]+\)/sdk_library/.*\.jar' | grep -v $FILTER_OUT)

Bug: 222050148
Bug: 235577258
Test: N/A
Change-Id: I6d805df0d4a358cf16f956a5495fca1ff5bc1e1d
107 files changed