Skip to content

arpi 11 : framework patch

Peter Yoon edited this page Sep 13, 2020 · 14 revisions

Remove resolv_gold_test from platform_testing

Apply following change under platform_testing/

build/tasks/tests/native_test_list.mk
@@ line 111
     puffin_unittest \
     recovery_unit_test \
-    resolv_gold_test \
     resolv_integration_test \
     resolv_unit_test \

Enable audio-hal 64bit build

Apply following changes under hardware/interfaces/

audio/common/all-versions/default/service/Android.bp
@@ line 9
     // having two binaries installable to the same location even if they are
     // not installed in the same build.
-    compile_multilib: "32",
     srcs: ["service.cpp"],

Enable mediaserver 64bit build

Apply following changes under frameworks/av/

media/mediaserver/Android.bp
@@ line 34
        "frameworks/av/services/mediaresourcemanager",
     ],

-    // back to 32-bit, b/126502613
-    compile_multilib: "32",

     init_rc: ["mediaserver.rc"],


services/mediacodec/Android.bp
@@ line 88
         "[email protected]",
     ],

-    runtime_libs: [
-        "libstagefright_soft_aacdec",
-        "libstagefright_soft_aacenc",
-        "libstagefright_soft_amrdec",
-        "libstagefright_soft_amrnbenc",
-        "libstagefright_soft_amrwbenc",
-        "libstagefright_soft_avcdec",
-        "libstagefright_soft_avcenc",
-        "libstagefright_soft_flacdec",
-        "libstagefright_soft_flacenc",
-        "libstagefright_soft_g711dec",
-        "libstagefright_soft_gsmdec",
-        "libstagefright_soft_hevcdec",
-        "libstagefright_soft_mp3dec",
-        "libstagefright_soft_mpeg2dec",
-        "libstagefright_soft_mpeg4dec",
-        "libstagefright_soft_mpeg4enc",
-        "libstagefright_soft_opusdec",
-        "libstagefright_soft_rawdec",
-        "libstagefright_soft_vorbisdec",
-        "libstagefright_soft_vpxdec",
-        "libstagefright_soft_vpxenc",
-        "libstagefright_softomx_plugin",
-    ],
-
-    // OMX interfaces force this to stay in 32-bit mode;
-    compile_multilib: "32",

     init_rc: ["[email protected]"],

Replace following file under frameworks/av

services/mediacodec/seccomp_policy/mediacodec-arm64.policy 

with mediacodec-arm64.policy

Clone this wiki locally