| 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) | 
 | 21 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 
 | 22 |  | 
 | 23 | LOCAL_MODULE := libutils_tests | 
 | 24 |  | 
 | 25 | LOCAL_SRC_FILES := \ | 
| Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 26 |     BasicHashtable_test.cpp \ | 
 | 27 |     BlobCache_test.cpp \ | 
| Michael Wright | d614ee4 | 2013-05-21 14:11:34 -0700 | [diff] [blame] | 28 |     BitSet_test.cpp \ | 
| Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 29 |     Looper_test.cpp \ | 
| Raph Levien | b6ea175 | 2012-10-25 23:11:13 -0700 | [diff] [blame] | 30 |     LruCache_test.cpp \ | 
| Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 31 |     String8_test.cpp \ | 
 | 32 |     Unicode_test.cpp \ | 
| Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 33 |     Vector_test.cpp \ | 
| Jeff Brown | 66db689 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 34 |  | 
| Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 35 | LOCAL_SHARED_LIBRARIES := \ | 
| Kenny Root | 2fe13f1 | 2012-10-02 09:09:10 -0700 | [diff] [blame] | 36 |     libz \ | 
 | 37 |     liblog \ | 
 | 38 |     libcutils \ | 
 | 39 |     libutils \ | 
| Jeff Brown | 66db689 | 2010-04-22 18:58:52 -0700 | [diff] [blame] | 40 |  | 
| Dan Albert | 27d166c | 2014-10-16 20:47:51 -0700 | [diff] [blame] | 41 | include $(BUILD_NATIVE_TEST) |