Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70bb12e2 authored by Andy Hung's avatar Andy Hung
Browse files

AudioEffects: Build static libaudiopreprocessing

Test: build AudioPreProcessingTest and test on device
Test: atest preprocessing_benchmark
Bug: 181670517
Change-Id: I5e051c510ab3f0bcb83dfbe7cdff0e16133c8747
parent 353d2e39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ license {
    ],
}

cc_library_shared {
cc_library {
    name: "libaudiopreprocessing",
    vendor: true,
    relative_install_path: "soundfx",
+4 −2
Original line number Diff line number Diff line
@@ -12,14 +12,16 @@ package {
cc_benchmark {
    name: "preprocessing_benchmark",
    vendor: true,
    relative_install_path: "soundfx",
    srcs: ["preprocessing_benchmark.cpp"],
    shared_libs: [
        "libaudiopreprocessing",
        "libaudioutils",
        "liblog",
        "libutils",
    ],
    static_libs: [
        "libaudiopreprocessing",
        "webrtc_audio_processing",
    ],
    cflags: [
        "-DWEBRTC_POSIX",
        "-fvisibility=default",
+4 −6
Original line number Diff line number Diff line
@@ -12,19 +12,17 @@ package {

cc_test {
    name: "AudioPreProcessingTest",

    vendor: true,

    relative_install_path: "soundfx",

    srcs: ["PreProcessingTest.cpp"],

    shared_libs: [
        "libaudiopreprocessing",
        "libaudioutils",
        "liblog",
        "libutils",
    ],
    static_libs: [
        "libaudiopreprocessing",
        "webrtc_audio_processing",
    ],
    header_libs: [
        "libaudioeffects",
        "libhardware_headers",