logo
5
0
WeChat Login
更新README中的构建变体列表,添加更多选项并优化分类

项目说明

本项目是一个用于编译Android操作系统的持续集成环境,提供了在线编译和开发的功能。目前支持 Android 11 至 Android 16 的编译,支持的分支和变体请参考下方分支选择和常用编译变体。

编译流程

  1. 点击 执行 按钮
  2. 选择 打包android镜像 选项
  3. 填写参数,如CPU核数Android 分支编译变体
  4. 点击按钮执行,即可触发编译流程,编译成功后产出物会上传到 release

开发环境

为了方便开发本项目搭建了2种开发环境,即vscode(Web IDE)和VNC(桌面环境含Android Studio for Platform,Android Studio,IDEA等常用工具),选择对应的配置开启开发环境即可。 编译和开发的代码同步检出的时间大概是 9~20分钟,编译时长 30~50分钟(以上基于64核/h的配置 全量编译 预估),实际视选择的分支和环境配置高低而定

  1. 选择 执行 按钮
  2. 选中开发环境类型 vscode/VNC
  3. 点击按钮启动

分支选择 manifest

常用编译变体

android 16

  • sdk_car_x86_64-bp2a-eng
  • sdk_car_x86_64-bp2a-user
  • sdk_car_x86_64-bp2a-userdebug
  • sdk_tablet_x86_64-bp2a-userdebug
  • aosp_cf_x86_64_phone-bp2a-userdebug
  • aosp_cf_x86_64_tv-bp2a-userdebug

android 14~15

  • sdk_car_x86_64-trunk_staging-userdebug
  • sdk_tablet_x86_64-trunk_staging-userdebug
  • aosp_cf_x86_64_phone-trunk_staging-userdebug
  • aosp_cf_x86_64_tv-trunk_staging-userdebug
更多选项
1. aosp_akita-trunk_staging-userdebug
2. aosp_arm-trunk_staging-eng
3. aosp_arm64-trunk_staging-eng
4. aosp_barbet-trunk_staging-userdebug
5. aosp_bluejay-trunk_staging-userdebug
6. aosp_bluejay_car-trunk_staging-userdebug
7. aosp_bramble-trunk_staging-userdebug
8. aosp_bramble_car-trunk_staging-userdebug
9. aosp_cf_arm64_auto-trunk_staging-userdebug
10. aosp_cf_arm64_phone-trunk_staging-userdebug
11. aosp_cf_riscv64_phone-trunk_staging-userdebug
12. aosp_cf_x86_64_auto-trunk_staging-userdebug
13. aosp_cf_x86_64_auto_mdnd-trunk_staging-userdebug
14. aosp_cf_x86_64_foldable-trunk_staging-userdebug
15. aosp_cf_x86_64_only_phone_hsum-trunk_staging-userdebug
16. aosp_cf_x86_64_pc-trunk_staging-userdebug
17. aosp_cf_x86_64_phone-trunk_staging-userdebug
18. aosp_cf_x86_64_tv-trunk_staging-userdebug
19. aosp_cf_x86_phone-trunk_staging-userdebug
20. aosp_cf_x86_tv-trunk_staging-userdebug
21. aosp_cheetah-trunk_staging-userdebug
22. aosp_cheetah_car-trunk_staging-userdebug
23. aosp_cheetah_hwasan-trunk_staging-userdebug
24. aosp_cloudripper-trunk_staging-userdebug
25. aosp_coral-trunk_staging-userdebug
26. aosp_felix-trunk_staging-userdebug
27. aosp_flame-trunk_staging-userdebug
28. aosp_husky-trunk_staging-userdebug
29. aosp_lynx-trunk_staging-userdebug
30. aosp_oriole-trunk_staging-userdebug
31. aosp_oriole_car-trunk_staging-userdebug
32. aosp_panther-trunk_staging-userdebug
33. aosp_panther_car-trunk_staging-userdebug
34. aosp_panther_hwasan-trunk_staging-userdebug
35. aosp_raven-trunk_staging-userdebug
36. aosp_raven_car-trunk_staging-userdebug
37. aosp_ravenclaw-trunk_staging-userdebug
38. aosp_redfin-trunk_staging-userdebug
39. aosp_redfin_car-trunk_staging-userdebug
40. aosp_redfin_vf-trunk_staging-userdebug
41. aosp_ripcurrent-trunk_staging-userdebug
42. aosp_shiba-trunk_staging-userdebug
43. aosp_slider-trunk_staging-userdebug
44. aosp_sunfish-trunk_staging-userdebug
45. aosp_sunfish_car-trunk_staging-userdebug
46. aosp_tangorpro-trunk_staging-userdebug
47. aosp_tangorpro_car-trunk_staging-userdebug
48. aosp_trout_arm64-trunk_staging-userdebug
49. aosp_trout_x86_64-trunk_staging-userdebug
50. aosp_whitefin-trunk_staging-userdebug
51. aosp_x86-trunk_staging-eng
52. aosp_x86_64-trunk_staging-eng
53. arm_krait-trunk_staging-eng
54. arm_v7_v8-trunk_staging-eng
55. armv8-trunk_staging-eng
56. armv8_cortex_a55-trunk_staging-eng
57. armv8_kryo385-trunk_staging-eng
58. db845c-trunk_staging-userdebug
59. gsi_car_arm64-trunk_staging-userdebug
60. gsi_car_x86_64-trunk_staging-userdebug
61. hikey-trunk_staging-userdebug
62. hikey64_only-trunk_staging-userdebug
63. hikey960-trunk_staging-userdebug
64. hikey960_tv-trunk_staging-userdebug
65. hikey_tv-trunk_staging-userdebug
66. poplar-trunk_staging-eng
67. poplar-trunk_staging-user
68. poplar-trunk_staging-userdebug
69. qemu_trusty_arm64-trunk_staging-userdebug
70. rb5-trunk_staging-userdebug
71. riscv64-trunk_staging-eng
72. sdk_car_arm64-trunk_staging-userdebug
73. sdk_car_md_x86_64-trunk_staging-userdebug
74. sdk_car_portrait_x86_64-trunk_staging-userdebug
75. sdk_car_x86_64-trunk_staging-userdebug
76. silvermont-trunk_staging-eng
77. uml-trunk_staging-userdebug
78. yukawa-trunk_staging-userdebug
79. yukawa_sei510-trunk_staging-userdebug

android 12~13

  • sdk_car_x86_64-userdebug
  • aosp_cf_x86_64_phone-userdebug
  • aosp_cf_x86_tv-userdebug
更多选项
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_barbet-userdebug
4. aosp_bluejay-userdebug
5. aosp_bluejay_car-userdebug
6. aosp_bramble-userdebug
7. aosp_bramble_car-userdebug
8. aosp_car_arm-userdebug
9. aosp_car_arm64-userdebug
10. aosp_car_x86-userdebug
11. aosp_car_x86_64-userdebug
12. aosp_cf_arm64_auto-userdebug
13. aosp_cf_arm64_phone-userdebug
14. aosp_cf_x86_64_foldable-userdebug
15. aosp_cf_x86_64_only_phone_hsum-userdebug
16. aosp_cf_x86_64_pc-userdebug
17. aosp_cf_x86_64_phone-userdebug
18. aosp_cf_x86_64_tv-userdebug
19. aosp_cf_x86_auto-userdebug
20. aosp_cf_x86_phone-userdebug
21. aosp_cf_x86_tv-userdebug
22. aosp_cheetah-userdebug
23. aosp_cloudripper-userdebug
24. aosp_coral-userdebug
25. aosp_coral_car-userdebug
26. aosp_felix-userdebug
27. aosp_flame-userdebug
28. aosp_flame_car-userdebug
29. aosp_lynx-userdebug
30. aosp_oriole-userdebug
31. aosp_oriole_car-userdebug
32. aosp_panther-userdebug
33. aosp_raven-userdebug
34. aosp_raven_car-userdebug
35. aosp_ravenclaw-userdebug
36. aosp_redfin-userdebug
37. aosp_redfin_car-userdebug
38. aosp_redfin_vf-userdebug
39. aosp_slider-userdebug
40. aosp_sunfish-userdebug
41. aosp_sunfish_car-userdebug
42. aosp_tangorpro-userdebug
43. aosp_trout_arm64-userdebug
44. aosp_trout_x86_64-userdebug
45. aosp_whitefin-userdebug
46. aosp_x86-eng
47. aosp_x86_64-eng
48. arm_krait-eng
49. arm_v7_v8-eng
50. armv8-eng
51. armv8_cortex_a55-eng
52. armv8_kryo385-eng
53. beagle_x15-userdebug
54. beagle_x15_auto-userdebug
55. car_ui_portrait-userdebug
56. car_x86_64-userdebug
57. db845c-userdebug
58. gsi_car_arm64-userdebug
59. gsi_car_x86_64-userdebug
60. hikey-userdebug
61. hikey64_only-userdebug
62. hikey960-userdebug
63. hikey960_tv-userdebug
64. hikey_tv-userdebug
65. poplar-eng
66. poplar-user
67. poplar-userdebug
68. qemu_trusty_arm64-userdebug
69. rb5-userdebug
70. sdk_car_arm-userdebug
71. sdk_car_arm64-userdebug
72. sdk_car_portrait_x86_64-userdebug
73. sdk_car_x86-userdebug
74. sdk_car_x86_64-userdebug
75. sdk_pc_x86_64-userdebug
76. silvermont-eng
77. uml-userdebug
78. yukawa-userdebug
79. yukawa_sei510-userdebug

android 11

  • sdk_car_x86_64-userdebug
  • aosp_cf_x86_phone-userdebug
  • aosp_cf_x86_tv-userdebug
更多选项
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_barbet-userdebug
4. aosp_bluejay-userdebug
5. aosp_bluejay_car-userdebug
6. aosp_bramble-userdebug
7. aosp_bramble_car-userdebug
8. aosp_car_arm-userdebug
9. aosp_car_arm64-userdebug
10. aosp_car_x86-userdebug
11. aosp_car_x86_64-userdebug
12. aosp_cf_arm64_auto-userdebug
13. aosp_cf_arm64_phone-userdebug
14. aosp_cf_x86_64_foldable-userdebug
15. aosp_cf_x86_64_only_phone_hsum-userdebug
16. aosp_cf_x86_64_pc-userdebug
17. aosp_cf_x86_64_phone-userdebug
18. aosp_cf_x86_64_tv-userdebug
19. aosp_cf_x86_auto-userdebug
20. aosp_cf_x86_phone-userdebug
21. aosp_cf_x86_tv-userdebug
22. aosp_cheetah-userdebug
23. aosp_cloudripper-userdebug
24. aosp_coral-userdebug
25. aosp_coral_car-userdebug
26. aosp_felix-userdebug
27. aosp_flame-userdebug
28. aosp_flame_car-userdebug
29. aosp_lynx-userdebug
30. aosp_oriole-userdebug
31. aosp_oriole_car-userdebug
32. aosp_panther-userdebug
33. aosp_raven-userdebug
34. aosp_raven_car-userdebug
35. aosp_ravenclaw-userdebug
36. aosp_redfin-userdebug
37. aosp_redfin_car-userdebug
38. aosp_redfin_vf-userdebug
39. aosp_slider-userdebug
40. aosp_sunfish-userdebug
41. aosp_sunfish_car-userdebug
42. aosp_tangorpro-userdebug
43. aosp_trout_arm64-userdebug
44. aosp_trout_x86_64-userdebug
45. aosp_whitefin-userdebug
46. aosp_x86-eng
47. aosp_x86_64-eng
48. arm_krait-eng
49. arm_v7_v8-eng
50. armv8-eng
51. armv8_cortex_a55-eng
52. armv8_kryo385-eng
53. beagle_x15-userdebug
54. beagle_x15_auto-userdebug
55. car_ui_portrait-userdebug
56. car_x86_64-userdebug
57. db845c-userdebug
58. gsi_car_arm64-userdebug
59. gsi_car_x86_64-userdebug
60. hikey-userdebug
61. hikey64_only-userdebug
62. hikey960-userdebug
63. hikey960_tv-userdebug
64. hikey_tv-userdebug
65. poplar-eng
66. poplar-user
67. poplar-userdebug
68. qemu_trusty_arm64-userdebug
69. rb5-userdebug
70. sdk_car_arm-userdebug
71. sdk_car_arm64-userdebug
72. sdk_car_portrait_x86_64-userdebug
73. sdk_car_x86-userdebug
74. sdk_car_x86_64-userdebug
75. sdk_pc_x86_64-userdebug
76. silvermont-eng
77. uml-userdebug
78. yukawa-userdebug
79. yukawa_sei510-userdebug

其他事项

  • 与 AOSP 原仓库的差异,部分仓库在导入时做了对应的调整。如修改仓库名称,修改仓库路径等,存在LFS或超限制的文件,提交记录已被重写(与上游官方源无法直接合入修改)

  • 开发时可根据需要拉分支添加自定义的仓库、配置、脚本等

  • 桌面环境因为虚拟化限制,运行模拟器镜像依赖 KVM,所以暂时无法直接运行编译的模拟器镜像,可以编译后下载到本地运行。

  • 部分仓库可能存在同步过慢问题,主要是因为部分较大仓库的SDK编译工具拉取时 repo 指定 depth 服务端准备数据包时间较长。可以根据自身需求调整下载顺序,或添加缓存配置加速,当前项目为了运行的一致性和稳定性,未启用缓存功能(注意:缓存不一定时时有效,可能冲突和丢失)。