rago | 9f011fe | 2018-02-05 09:29:56 -0800 | [diff] [blame] | 1 | # Copyright (C) 2018 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | |
| 17 | # DynamicsProcessing library |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_VENDOR_MODULE := true |
rago | ff0a51f | 2018-03-22 09:55:50 -0700 | [diff] [blame] | 21 | |
| 22 | EIGEN_PATH := external/eigen |
| 23 | LOCAL_C_INCLUDES += $(EIGEN_PATH) |
| 24 | |
rago | 9f011fe | 2018-02-05 09:29:56 -0800 | [diff] [blame] | 25 | LOCAL_SRC_FILES:= \ |
| 26 | EffectDynamicsProcessing.cpp \ |
rago | ff0a51f | 2018-03-22 09:55:50 -0700 | [diff] [blame] | 27 | dsp/DPBase.cpp \ |
| 28 | dsp/DPFrequency.cpp |
rago | 9f011fe | 2018-02-05 09:29:56 -0800 | [diff] [blame] | 29 | |
| 30 | LOCAL_CFLAGS+= -O2 -fvisibility=hidden |
| 31 | LOCAL_CFLAGS += -Wall -Werror |
| 32 | |
| 33 | LOCAL_SHARED_LIBRARIES := \ |
| 34 | libcutils \ |
| 35 | liblog \ |
| 36 | |
| 37 | LOCAL_MODULE_RELATIVE_PATH := soundfx |
| 38 | LOCAL_MODULE:= libdynproc |
| 39 | |
| 40 | LOCAL_HEADER_LIBRARIES := \ |
| 41 | libaudioeffects |
| 42 | |
| 43 | include $(BUILD_SHARED_LIBRARY) |