File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2929 nettools # Needed for "hostname" in build/soong/ui/build/sandbox_linux.go
3030 procps # Needed for "ps" in build/envsetup.sh
3131 ]
32- ( mkIf ( config . androidVersion >= 10 ) [
32+ ( mkIf ( config . androidVersion >= 12 ) [
33+ freetype # Needed by jdk9 prebuilt
34+ fontconfig
35+
36+ # Goldfish doesn't need py2 anymore in Android 12+!
37+ # c.f. https://android.googlesource.com/device/generic/goldfish/+/605e6a14e44c99e87d48bf52507f8aa01633fb04
38+ python3
39+ ] )
40+ ( mkIf ( ( config . androidVersion >= 10 ) && ( config . androidVersion <= 11 ) ) [
3341 freetype # Needed by jdk9 prebuilt
3442 fontconfig
3543
Original file line number Diff line number Diff line change 1212 jre = if ( config . androidVersion >= 11 ) then pkgs . jdk11_headless else pkgs . jre8_headless ;
1313 deps = with pkgs ;
1414 [ otaTools openssl jre zip unzip pkgs . getopt which toybox vboot_reference util-linux
15- python # ota_from_target_files invokes, brillo_update_payload which has "truncate_file" which invokes python
15+ # ota_from_target_files invokes, brillo_update_payload which has "truncate_file" which invokes python
16+ # c.f. https://android.googlesource.com/platform/system/update_engine/+/refs/heads/main/scripts/brillo_update_payload#338
17+ python3
1618 ] ;
1719 in ''
1820 export PATH=${ lib . makeBinPath deps } :$PATH
You can’t perform that action at this time.
0 commit comments