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) |