| 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 \ | ||||
| Andy Hung | 546734b | 2014-04-01 18:31:42 -0700 | [diff] [blame] | 13 | libaudioutils \ |
| 14 | libaudioresampler | ||||
| 15 | |||||
| Andy Hung | 546734b | 2014-04-01 18:31:42 -0700 | [diff] [blame] | 16 | LOCAL_C_INCLUDES := \ |
| Andy Hung | c0e5ec8 | 2014-06-17 14:33:39 -0700 | [diff] [blame] | 17 | $(call include-path-for, audio-utils) \ |
| Andy Hung | 546734b | 2014-04-01 18:31:42 -0700 | [diff] [blame] | 18 | frameworks/av/services/audioflinger |
| 19 | |||||
| 20 | LOCAL_SRC_FILES := \ | ||||
| 21 | resampler_tests.cpp | ||||
| 22 | |||||
| 23 | LOCAL_MODULE := resampler_tests | ||||
| 24 | LOCAL_MODULE_TAGS := tests | ||||
| 25 | |||||
| Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 26 | LOCAL_CFLAGS := -Werror -Wall |
| 27 | |||||
| Dan Albert | effaa78 | 2014-11-10 14:47:41 -0800 | [diff] [blame] | 28 | include $(BUILD_NATIVE_TEST) |
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 29 | |
| 30 | # | ||||
| 31 | # audio mixer test tool | ||||
| 32 | # | ||||
| 33 | include $(CLEAR_VARS) | ||||
| 34 | |||||
| 35 | LOCAL_SRC_FILES:= \ | ||||
| 36 | test-mixer.cpp \ | ||||
| Mikhail Naganov | 4a3d5c2 | 2016-08-15 13:47:42 -0700 | [diff] [blame] | 37 | ../AudioMixer.cpp.arm \ |
| Mikhail Naganov | a0c9133 | 2016-09-19 10:01:12 -0700 | [diff] [blame] | 38 | ../BufferProviders.cpp |
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 39 | |
| 40 | LOCAL_C_INCLUDES := \ | ||||
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 41 | $(call include-path-for, audio-utils) \ |
| Ricardo Garcia | f097cae | 2015-04-13 12:17:21 -0700 | [diff] [blame] | 42 | frameworks/av/services/audioflinger \ |
| 43 | external/sonic | ||||
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 44 | |
| 45 | LOCAL_STATIC_LIBRARIES := \ | ||||
| 46 | libsndfile | ||||
| 47 | |||||
| 48 | LOCAL_SHARED_LIBRARIES := \ | ||||
| Mikhail Naganov | a0c9133 | 2016-09-19 10:01:12 -0700 | [diff] [blame] | 49 | libaudiohal \ |
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 50 | libeffects \ |
| 51 | libnbaio \ | ||||
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 52 | libaudioresampler \ |
| 53 | libaudioutils \ | ||||
| 54 | libdl \ | ||||
| 55 | libcutils \ | ||||
| 56 | libutils \ | ||||
| Ricardo Garcia | f097cae | 2015-04-13 12:17:21 -0700 | [diff] [blame] | 57 | liblog \ |
| 58 | libsonic | ||||
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 59 | |
| 60 | LOCAL_MODULE:= test-mixer | ||||
| 61 | |||||
| 62 | LOCAL_MODULE_TAGS := optional | ||||
| 63 | |||||
| Dan Albert | effaa78 | 2014-11-10 14:47:41 -0800 | [diff] [blame] | 64 | LOCAL_CXX_STL := libc++ |
| 65 | |||||
| Glenn Kasten | e875c80 | 2016-03-18 14:52:27 -0700 | [diff] [blame] | 66 | LOCAL_CFLAGS := -Werror -Wall |
| 67 | |||||
| Andy Hung | e4fc423 | 2014-06-17 15:10:51 -0700 | [diff] [blame] | 68 | include $(BUILD_EXECUTABLE) |