Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2014 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
Jeff Brown | 66db689 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 17 | # Build the unit tests. |
| 18 | LOCAL_PATH := $(call my-dir) |
Jeff Brown | 66db689 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 19 | |
Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 20 | include $(CLEAR_VARS) |
Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 21 | |
| 22 | LOCAL_MODULE := libutils_tests |
| 23 | |
| 24 | LOCAL_SRC_FILES := \ |
Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 25 | BasicHashtable_test.cpp \ |
| 26 | BlobCache_test.cpp \ |
Michael Wright | d614ee4 | 2013-05-21 14:11:34 -0700 | [diff] [blame] | 27 | BitSet_test.cpp \ |
Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 28 | Looper_test.cpp \ |
Raph Levien | b6ea175 | 2012-10-25 23:11:13 -0700 | [diff] [blame] | 29 | LruCache_test.cpp \ |
Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 30 | String8_test.cpp \ |
| 31 | Unicode_test.cpp \ |
Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 32 | Vector_test.cpp \ |
Jeff Brown | 66db689 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 33 | |
Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 34 | LOCAL_SHARED_LIBRARIES := \ |
Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 35 | libz \ |
| 36 | liblog \ |
| 37 | libcutils \ |
| 38 | libutils \ |
Jeff Brown | 66db689 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 39 | |
Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 40 | include $(BUILD_NATIVE_TEST) |