Split manifest.xml in two parts, the projects we add, and the projects we replace from AOSP

This commit is contained in:
Pierre-Hugues Husson 2018-03-04 17:35:46 +01:00
parent b2f4844169
commit 14d2ba4bce
2 changed files with 34 additions and 29 deletions

View File

@ -2,35 +2,6 @@
<manifest> <manifest>
<remote name="phh" fetch="https://github.com/phhusson/" /> <remote name="phh" fetch="https://github.com/phhusson/" />
<remove-project name="platform/build" />
<project path="build/make" name="platform_build" remote="phh" revision="android-8.1.0_r14-phh">
<copyfile dest="Makefile" src="core/root.mk" />
<linkfile dest="build/CleanSpec.mk" src="CleanSpec.mk" />
<linkfile dest="build/buildspec.mk.default" src="buildspec.mk.default" />
<linkfile dest="build/core" src="core" />
<linkfile dest="build/envsetup.sh" src="envsetup.sh" />
<linkfile dest="build/target" src="target" />
<linkfile dest="build/tools" src="tools" />
</project>
<remove-project name="platform/system/core" />
<project path="system/core" name="platform_system_core" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/system/sepolicy" />
<project path="system/sepolicy" name="platform_system_sepolicy" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/frameworks/native" />
<project path="frameworks/native" name="platform_frameworks_native" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/system/vold" />
<project path="system/vold" name="platform_system_vold" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/system/bt" />
<project path="system/bt" name="platform_system_bt" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/external/selinux" />
<project path="external/selinux" name="platform_external_selinux" remote="phh" revision="android-8.1.0_r14-phh" />
<project path="vendor/hardware_overlay" name="vendor_hardware_overlay" remote="phh" revision="master" /> <project path="vendor/hardware_overlay" name="vendor_hardware_overlay" remote="phh" revision="master" />
<project path="device/phh/treble" name="device_phh_treble" remote="phh" revision="android-8.1" /> <project path="device/phh/treble" name="device_phh_treble" remote="phh" revision="android-8.1" />
<project path="vendor/vndk" name="vendor_vndk" remote="phh" revision="master" /> <project path="vendor/vndk" name="vendor_vndk" remote="phh" revision="master" />

34
replace.xml Normal file
View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="phh" fetch="https://github.com/phhusson/" />
<remove-project name="platform/build" />
<project path="build/make" name="platform_build" remote="phh" revision="android-8.1.0_r14-phh">
<copyfile dest="Makefile" src="core/root.mk" />
<linkfile dest="build/CleanSpec.mk" src="CleanSpec.mk" />
<linkfile dest="build/buildspec.mk.default" src="buildspec.mk.default" />
<linkfile dest="build/core" src="core" />
<linkfile dest="build/envsetup.sh" src="envsetup.sh" />
<linkfile dest="build/target" src="target" />
<linkfile dest="build/tools" src="tools" />
</project>
<remove-project name="platform/system/core" />
<project path="system/core" name="platform_system_core" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/system/sepolicy" />
<project path="system/sepolicy" name="platform_system_sepolicy" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/frameworks/native" />
<project path="frameworks/native" name="platform_frameworks_native" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/system/vold" />
<project path="system/vold" name="platform_system_vold" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/system/bt" />
<project path="system/bt" name="platform_system_bt" remote="phh" revision="android-8.1.0_r14-phh" />
<remove-project name="platform/external/selinux" />
<project path="external/selinux" name="platform_external_selinux" remote="phh" revision="android-8.1.0_r14-phh" />
</manifest>