From a36ff0c02bc6e46aa58f38edab6dfe72330fc448 Mon Sep 17 00:00:00 2001 From: William Escande Date: Thu, 28 Apr 2022 11:53:36 -0700 Subject: Statically link ldac into module If we statically link ldac, we enforce at build time the "api" are still the same. We also enforce the current module version was tested against a known ldac encoder and we do not have to deal with version mismatched Bug: 226572369 Test: Build + boot + Not yet tested Tag: #refactor Ignore-AOSP-First: Apex only on TM Change-Id: I69970a4bd5f6cbe5064b0be447ffcc8892e875a4 --- Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 2bc30ddae..ade232647 100644 --- a/Android.bp +++ b/Android.bp @@ -47,7 +47,7 @@ license { cc_fuzz { name: "ossfuzz-libldac-encode_fuzzer", - shared_libs: ["libldacBT_enc"], + static_libs: ["libldacBT_enc"], srcs: ["projects/libldac/libldac_encode_fuzzer.cc"], fuzz_config: { componentid: 27441 -- cgit v1.2.3 From 1c014860e843172a117c12cc7540007d147af265 Mon Sep 17 00:00:00 2001 From: William Escande Date: Thu, 28 Apr 2022 11:53:36 -0700 Subject: Statically link ldac into module If we statically link ldac, we enforce at build time the "api" are still the same. We also enforce the current module version was tested against a known ldac encoder and we do not have to deal with version mismatched Bug: 226572369 Test: Build + boot + Not yet tested Tag: #refactor Ignore-AOSP-First: Apex only on TM Merged-In: I69970a4bd5f6cbe5064b0be447ffcc8892e875a4 Change-Id: I69970a4bd5f6cbe5064b0be447ffcc8892e875a4 --- Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 2bc30ddae..ade232647 100644 --- a/Android.bp +++ b/Android.bp @@ -47,7 +47,7 @@ license { cc_fuzz { name: "ossfuzz-libldac-encode_fuzzer", - shared_libs: ["libldacBT_enc"], + static_libs: ["libldacBT_enc"], srcs: ["projects/libldac/libldac_encode_fuzzer.cc"], fuzz_config: { componentid: 27441 -- cgit v1.2.3