manifest: Drop some unused projects for Android 13

Change-Id: I3f8e8594937c2fa07938201ae9c6d767e345bdf0
diff --git a/default.xml b/default.xml
index 34494a9..614b8fb 100644
--- a/default.xml
+++ b/default.xml
@@ -1158,4 +1158,7 @@
 
   <!-- SHIFT at the end to override if needed -->
   <include name="snippets/shift.xml" />
+
+  <!-- Drop some unnecessary projects -->
+  <include name="snippets/remove.xml" />
 </manifest>
diff --git a/snippets/remove.xml b/snippets/remove.xml
new file mode 100644
index 0000000..87f8abb
--- /dev/null
+++ b/snippets/remove.xml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest>
+
+  <!-- Device projects -->
+  <remove-project path="device/generic/armv7-a-neon" name="device/generic/armv7-a-neon" groups="pdk" />
+  <remove-project path="device/generic/art" name="device/generic/art" groups="pdk" />
+  <remove-project path="device/generic/car" name="device/generic/car" groups="pdk" />
+  <remove-project path="device/generic/mini-emulator-arm64" name="device/generic/mini-emulator-arm64" groups="pdk" />
+  <remove-project path="device/generic/mini-emulator-armv7-a-neon" name="device/generic/mini-emulator-armv7-a-neon" groups="pdk" />
+  <remove-project path="device/generic/mini-emulator-x86" name="device/generic/mini-emulator-x86" groups="pdk" />
+  <remove-project path="device/generic/mini-emulator-x86_64" name="device/generic/mini-emulator-x86_64" groups="pdk" />
+  <remove-project path="device/generic/qemu" name="device/generic/qemu" groups="pdk" />
+  <remove-project path="device/generic/trusty" name="device/generic/trusty" groups="pdk" />
+  <remove-project path="device/generic/uml" name="device/generic/uml" groups="device,pdk" />
+  <remove-project path="device/generic/x86" name="device/generic/x86" groups="pdk" />
+  <remove-project path="device/generic/x86_64" name="device/generic/x86_64" groups="pdk" />
+  <remove-project path="device/google/vrservices" name="device/google/vrservices" groups="pdk" />
+
+
+  <!-- Hardware projects -->
+  <remove-project path="hardware/broadcom/wlan" name="platform/hardware/broadcom/wlan" groups="aosp,pdk,broadcom_wlan" />
+  <remove-project path="hardware/google/av" name="platform/hardware/google/av" groups="aosp,pdk" />
+  <remove-project path="hardware/google/camera" name="platform/hardware/google/camera" groups="aosp,pdk" />
+  <remove-project path="hardware/google/easel" name="platform/hardware/google/easel" groups="aosp,pdk,easel" />
+  <remove-project path="hardware/google/graphics/gs101" name="platform/hardware/google/graphics/gs101" groups="aosp,pdk-lassen,pdk-gs-arm" />
+  <remove-project path="hardware/google/graphics/gs201" name="platform/hardware/google/graphics/gs201" groups="cloudripper" />
+  <remove-project path="hardware/google/interfaces" name="platform/hardware/google/interfaces" groups="aosp,pdk" />
+  <remove-project path="hardware/knowles/athletico/sound_trigger_hal" name="platform/hardware/knowles/athletico/sound_trigger_hal" groups="aosp,coral,generic_fs" />
+  <remove-project path="hardware/st/nfc" name="platform/hardware/st/nfc" groups="aosp,pdk" />
+  <remove-project path="hardware/st/secure_element" name="platform/hardware/st/secure_element" groups="aosp,pdk" />
+  <remove-project path="hardware/st/secure_element2" name="platform/hardware/st/secure_element2" groups="aosp,pdk" />
+  <remove-project path="hardware/ti/am57x" name="platform/hardware/ti/am57x" groups="aosp,pdk" />
+
+
+  <!-- Kernel prebuilt projects -->
+  <remove-project path="kernel/prebuilts/4.19/arm64" name="kernel/prebuilts/4.19/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/5.10/x86_64" name="kernel/prebuilts/5.10/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/5.15/x86_64" name="kernel/prebuilts/5.15/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/5.4/arm64" name="kernel/prebuilts/5.4/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/5.4/x86_64" name="kernel/prebuilts/5.4/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/4.19/arm64" name="kernel/prebuilts/common-modules/virtual-device/4.19/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/4.19/x86-64" name="kernel/prebuilts/common-modules/virtual-device/4.19/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/5.10/x86-64" name="kernel/prebuilts/common-modules/virtual-device/5.10/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/5.15/x86-64" name="kernel/prebuilts/common-modules/virtual-device/5.15/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/5.4/arm64" name="kernel/prebuilts/common-modules/virtual-device/5.4/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/5.4/x86-64" name="kernel/prebuilts/common-modules/virtual-device/5.4/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/mainline/arm64" name="kernel/prebuilts/common-modules/virtual-device/mainline/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/common-modules/virtual-device/mainline/x86-64" name="kernel/prebuilts/common-modules/virtual-device/mainline/x86-64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/mainline/arm64" name="kernel/prebuilts/mainline/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="kernel/prebuilts/mainline/x86_64" name="kernel/prebuilts/mainline/x86-64" groups="aosp,pdk" clone-depth="1" />
+
+
+  <!-- Apps -->
+  <remove-project path="packages/apps/Browser2" name="platform/packages/apps/Browser2" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/Calendar" name="platform/packages/apps/Car/Calendar" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/Cluster" name="platform/packages/apps/Car/Cluster" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/DebuggingRestrictionController" name="platform/packages/apps/Car/DebuggingRestrictionController" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/DialerPrebuilt" name="platform/packages/apps/Car/DialerPrebuilt" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/Hvac" name="platform/packages/apps/Car/Hvac" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/LatinIME" name="platform/packages/apps/Car/LatinIME" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/Launcher" name="platform/packages/apps/Car/Launcher" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/LinkViewer" name="platform/packages/apps/Car/LinkViewer" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/LocalMediaPlayer" name="platform/packages/apps/Car/LocalMediaPlayer" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/MediaPrebuilt" name="platform/packages/apps/Car/MediaPrebuilt" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/MessengerPrebuilt" name="platform/packages/apps/Car/MessengerPrebuilt" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/Provision" name="platform/packages/apps/Car/Provision" groups="pdk-fs" />
+  <remove-project path="packages/apps/Car/Radio" name="platform/packages/apps/Car/Radio" groups="pdk-fs" />
+  <remove-project path="packages/apps/TV" name="platform/packages/apps/TV" groups="pdk" />
+  <remove-project path="packages/apps/UniversalMediaPlayer" name="platform/packages/apps/UniversalMediaPlayer" />
+
+
+  <!-- Prebuilts projects -->
+  <remove-project path="packages/modules/BootPrebuilt/5.4/arm64" name="platform/packages/modules/BootPrebuilt/5.4/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="packages/modules/BootPrebuilt/5.10/arm64" name="platform/packages/modules/BootPrebuilt/5.10/arm64" groups="aosp,pdk" clone-depth="1" />
+  <remove-project path="prebuilts/android-emulator" name="platform/prebuilts/android-emulator" groups="aosp,pdk-fs" clone-depth="1" />
+  <remove-project path="prebuilts/qemu-kernel" name="platform/prebuilts/qemu-kernel" groups="aosp,pdk" clone-depth="1" />
+
+
+  <!-- System projects -->
+  <remove-project path="system/chre" name="platform/system/chre"  groups="aosp,pdk" />
+
+
+  <!-- notdefault projects -->
+  <remove-project path="external/adt-infra" name="platform/external/adt-infra" groups="adt-infra,notdefault,pdk-fs" />
+  <remove-project path="tools/adt/idea" name="platform/tools/adt/idea" groups="notdefault,tools" />
+  <remove-project path="tools/base" name="platform/tools/base" groups="notdefault,tools" />
+  <remove-project path="tools/build" name="platform/tools/build" groups="notdefault,tools" />
+  <remove-project path="tools/idea" name="platform/tools/idea" groups="notdefault,tools" />
+  <remove-project path="tools/motodev" name="platform/tools/motodev" groups="notdefault,motodev" />
+  <remove-project path="tools/studio/cloud" name="platform/tools/studio/cloud" groups="notdefault,tools" />
+  <remove-project path="tools/swt" name="platform/tools/swt" groups="notdefault,tools" />
+
+
+  <!-- Ungrouped projects -->
+  <remove-project path="external/OpenCL-CTS" name="platform/external/OpenCL-CTS" />
+  <remove-project path="external/toolchain-utils" name="platform/external/toolchain-utils" />
+  <remove-project path="external/universal-tween-engine" name="platform/external/universal-tween-engine" />
+  <remove-project path="frameworks/opt/localepicker" name="platform/frameworks/opt/localepicker" />
+  <remove-project path="packages/modules/TestModule" name="platform/packages/modules/TestModule" />
+  <remove-project path="test/cts-root" name="platform/test/cts-root" />
+  <remove-project path="test/mts" name="platform/test/mts" />
+  <remove-project path="test/catbox" name="platform/test/catbox" />
+  <remove-project path="toolchain/benchmark" name="toolchain/benchmark" />
+
+</manifest>
+