Skip to content

Instantly share code, notes, and snippets.

@xingrz
Last active January 25, 2024 11:13
Show Gist options
  • Save xingrz/fe26a9f3e252d380362a8b3b48068ebc to your computer and use it in GitHub Desktop.
Save xingrz/fe26a9f3e252d380362a8b3b48068ebc to your computer and use it in GitHub Desktop.
Build minimal-manifest-twrp/platform_manifest_twrp_omni on macOS 10.14
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Re-add removed Darwin toolchain -->
<project path="prebuilts/clang/host/darwin-x86" name="platform/prebuilts/clang/host/darwin-x86" groups="pdk,darwin" clone-depth="1" />
<project path="prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9" groups="pdk,darwin,arm" clone-depth="1" />
<project path="prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9" name="platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9" groups="pdk,darwin,arm" clone-depth="1" />
<project path="prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1" name="platform/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1" groups="pdk,darwin" clone-depth="1" />
<project path="prebuilts/go/darwin-x86" name="platform/prebuilts/go/darwin-x86" groups="darwin,pdk,tradefed" clone-depth="1" />
<project path="prebuilts/python/darwin-x86/2.7.5" name="platform/prebuilts/python/darwin-x86/2.7.5" groups="darwin,pdk,pdk-cw-fs,pdk-fs" clone-depth="1" />
<!-- Remove unused Linux toolchain -->
<remove-project name="platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9" />
<remove-project name="platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9" />
<remove-project name="platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8" />
<remove-project name="platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9" />
<remove-project name="platform/prebuilts/go/linux-x86" />
<remove-project name="platform/prebuilts/python/linux-x86/2.7.5" />
<!-- Remove unused apps -->
<remove-project name="platform/packages/apps/Car/Launcher" />
<remove-project name="platform/packages/apps/SecureElement" />
<remove-project name="android_packages_apps_DocumentsUI" />
<remove-project name="android_packages_apps_OmniChromium" />
<remove-project name="android_packages_apps_OmniRecord" />
<remove-project name="android_packages_apps_SettingsIntelligence" />
<!-- Replace repos with macOS fix -->
<remove-project name="android_build" />
<project path="build/make" name="xingrz/android_build" remote="github" revision="android-9.0">
<copyfile src="core/root.mk" dest="Makefile" />
<linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
<linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
<linkfile src="core" dest="build/core" />
<linkfile src="envsetup.sh" dest="build/envsetup.sh" />
<linkfile src="target" dest="build/target" />
<linkfile src="tools" dest="build/tools" />
</project>
<remove-project name="android_build_soong" />
<project path="build/soong" name="xingrz/android_build_soong" remote="github" revision="android-9.0">
<linkfile src="root.bp" dest="Android.bp" />
<linkfile src="bootstrap.bash" dest="bootstrap.bash" />
</project>
<remove-project name="android_vendor_omni" />
<project path="vendor/omni" name="xingrz/android_vendor_omni" remote="github" revision="android-9.0" />
<remove-project name="android_system_extras" />
<project path="system/extras" name="xingrz/android_system_extras" remote="github" revision="android-9.0" />
<remove-project name="android_bootable_recovery" />
<project path="bootable/recovery" name="xingrz/android_bootable_recovery-twrp" remote="github" revision="android-9.0" />
<remove-project name="platform/external/elfutils" />
<project path="external/elfutils" name="MoKee/android_external_elfutils" remote="github" revision="mkp" />
<!-- Devices -->
<project name="android_device_qcom_common" path="device/qcom/common" remote="TeamWin" revision="android-9.0" />
<project name="android_vendor_qcom_opensource_commonsys" path="vendor/qcom/opensource/commonsys" remote="omnirom" revision="android-9.0" />
<project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8" path="prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8" remote="aosp" revision="oreo-mr1-release" />
<project name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" remote="aosp" revision="oreo-mr1-release" />
<project name="MoKee/android_kernel_smartisan_msm8974" path="kernel/smartisan/msm8974" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_sfo" path="device/smartisan/sfo" remote="github" revision="twrp/android-9.0" />
<project name="MoKee/android_kernel_smartisan_msm8939" path="kernel/smartisan/msm8939" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_nut" path="device/smartisan/nut" remote="github" revision="twrp/android-9.0" />
<project name="MoKee/android_kernel_smartisan_msm8992" path="kernel/smartisan/msm8992" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_icesky" path="device/smartisan/icesky" remote="github" revision="twrp/android-9.0" />
<project name="MoKee/android_kernel_smartisan_msm8953" path="kernel/smartisan/msm8953" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_odin" path="device/smartisan/odin" remote="github" revision="twrp/android-9.0" />
<project name="xingrz/android_device_smartisan_oscar" path="device/smartisan/oscar" remote="github" revision="twrp/android-9.0" />
<project name="MoKee/android_kernel_smartisan_msm8996" path="kernel/smartisan/msm8996" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_surabaya" path="device/smartisan/surabaya" remote="github" revision="twrp/android-9.0" />
<project name="xingrz/android_device_smartisan_colombo" path="device/smartisan/colombo" remote="github" revision="twrp/android-9.0" />
<project name="MoKee/android_kernel_smartisan_sdm660" path="kernel/smartisan/sdm660" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_osborn" path="device/smartisan/osborn" remote="github" revision="twrp/android-9.0" />
<project name="xingrz/android_device_smartisan_oxford" path="device/smartisan/oxford" remote="github" revision="twrp/android-9.0" />
<project name="MoKee/android_kernel_smartisan_sdm710" path="kernel/smartisan/sdm710" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_ocean" path="device/smartisan/ocean" remote="github" revision="twrp/android-9.0" />
<project name="MoKee/android_kernel_smartisan_sdm845" path="kernel/smartisan/sdm845" remote="github" revision="mkp" />
<project name="xingrz/android_device_smartisan_trident" path="device/smartisan/trident" remote="github" revision="twrp/android-9.0" />
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment