Andy Hung | 546734b | 2014-04-01 18:31:42 -0700 | [diff] [blame] | 1 | # Build the unit tests for audioflinger |
| 2 | |
Andy Hung | c0e5ec8 | 2014-06-17 14:33:39 -0700 | [diff] [blame] | 3 | # |
| 4 | # resampler unit test |
| 5 | # |
Andy Hung | 546734b | 2014-04-01 18:31:42 -0700 | [diff] [blame] | 6 | LOCAL_PATH:= $(call my-dir) |
| 7 | include $(CLEAR_VARS) |
| 8 | |
| 9 | LOCAL_SHARED_LIBRARIES := \ |
| 10 | liblog \ |
| 11 | libutils \ |
| 12 | libcutils \ |
| 13 | libstlport \ |
| 14 | libaudioutils \ |
| 15 | libaudioresampler |
| 16 | |
| 17 | LOCAL_STATIC_LIBRARIES := \ |
| 18 | libgtest \ |
| 19 | libgtest_main |
| 20 | |
| 21 | LOCAL_C_INCLUDES := \ |
| 22 | bionic \ |
| 23 | bionic/libstdc++/include \ |
| 24 | external/gtest/include \ |
| 25 | external/stlport/stlport \ |
Andy Hung | c0e5ec8 | 2014-06-17 14:33:39 -0700 | [diff] [blame] | 26 | $(call include-path-for, audio-utils) \ |
Andy Hung | 546734b | 2014-04-01 18:31:42 -0700 | [diff] [blame] | 27 | frameworks/av/services/audioflinger |
| 28 | |
| 29 | LOCAL_SRC_FILES := \ |
| 30 | resampler_tests.cpp |
| 31 | |
| 32 | LOCAL_MODULE := resampler_tests |
| 33 | LOCAL_MODULE_TAGS := tests |
| 34 | |
| 35 | include $(BUILD_EXECUTABLE) |
Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame^] | 36 | |
| 37 | # |
| 38 | # audio mixer test tool |
| 39 | # |
| 40 | include $(CLEAR_VARS) |
| 41 | |
| 42 | LOCAL_SRC_FILES:= \ |
| 43 | test-mixer.cpp \ |
| 44 | ../AudioMixer.cpp.arm \ |
| 45 | |
| 46 | LOCAL_C_INCLUDES := \ |
| 47 | bionic \ |
| 48 | bionic/libstdc++/include \ |
| 49 | external/stlport/stlport \ |
| 50 | $(call include-path-for, audio-effects) \ |
| 51 | $(call include-path-for, audio-utils) \ |
| 52 | frameworks/av/services/audioflinger |
| 53 | |
| 54 | LOCAL_STATIC_LIBRARIES := \ |
| 55 | libsndfile |
| 56 | |
| 57 | LOCAL_SHARED_LIBRARIES := \ |
| 58 | libstlport \ |
| 59 | libeffects \ |
| 60 | libnbaio \ |
| 61 | libcommon_time_client \ |
| 62 | libaudioresampler \ |
| 63 | libaudioutils \ |
| 64 | libdl \ |
| 65 | libcutils \ |
| 66 | libutils \ |
| 67 | liblog |
| 68 | |
| 69 | LOCAL_MODULE:= test-mixer |
| 70 | |
| 71 | LOCAL_MODULE_TAGS := optional |
| 72 | |
| 73 | include $(BUILD_EXECUTABLE) |