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

Commit 3c5f3891 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Convert media effects to Android.bp"

parents 6bff4d55 154fce4c
Loading
Loading
Loading
Loading

media/libeffects/Android.bp

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
subdirs = ["factory", "config"]
+27 −0
Original line number Diff line number Diff line
// Multichannel downmix effect library
cc_library_shared {
    name: "libdownmix",

    vendor: true,
    srcs: ["EffectDownmix.c"],

    shared_libs: [
        "libcutils",
        "liblog",
    ],

    relative_install_path: "soundfx",

    cflags: [
        //"-DBUILD_FLOAT",
        "-fvisibility=hidden",
        "-Wall",
        "-Werror",
    ],

    header_libs: [
        "libaudioeffects",
        "libhardware_headers",
    ],
    static_libs: ["libaudioutils" ],
}
+0 −28
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)

# Multichannel downmix effect library
include $(CLEAR_VARS)

LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES:= \
	EffectDownmix.c

LOCAL_SHARED_LIBRARIES := \
	libcutils liblog

LOCAL_MODULE:= libdownmix

LOCAL_MODULE_TAGS := optional

LOCAL_MODULE_RELATIVE_PATH := soundfx

LOCAL_C_INCLUDES := \
	$(call include-path-for, audio-effects) \
	$(call include-path-for, audio-utils)

#-DBUILD_FLOAT
LOCAL_CFLAGS += -fvisibility=hidden
LOCAL_CFLAGS += -Wall -Werror

LOCAL_HEADER_LIBRARIES += libhardware_headers
include $(BUILD_SHARED_LIBRARY)
+46 −0
Original line number Diff line number Diff line
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// DynamicsProcessing library
cc_library_shared {
    name: "libdynproc",

    vendor: true,

    srcs: [
        "EffectDynamicsProcessing.cpp",
        "dsp/DPBase.cpp",
        "dsp/DPFrequency.cpp",
    ],

    cflags: [
        "-O2",
        "-fvisibility=hidden",

        "-Wall",
        "-Werror",
    ],

    shared_libs: [
        "libcutils",
        "liblog",
    ],

    relative_install_path: "soundfx",

    header_libs: [
        "libaudioeffects",
        "libeigen",
    ],
}
+0 −43
Original line number Diff line number Diff line
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

LOCAL_PATH:= $(call my-dir)

# DynamicsProcessing library
include $(CLEAR_VARS)

LOCAL_VENDOR_MODULE := true

EIGEN_PATH := external/eigen
LOCAL_C_INCLUDES += $(EIGEN_PATH)

LOCAL_SRC_FILES:= \
    EffectDynamicsProcessing.cpp \
    dsp/DPBase.cpp \
    dsp/DPFrequency.cpp

LOCAL_CFLAGS+= -O2 -fvisibility=hidden
LOCAL_CFLAGS += -Wall -Werror

LOCAL_SHARED_LIBRARIES := \
    libcutils \
    liblog \

LOCAL_MODULE_RELATIVE_PATH := soundfx
LOCAL_MODULE:= libdynproc

LOCAL_HEADER_LIBRARIES := \
    libaudioeffects

include $(BUILD_SHARED_LIBRARY)
Loading