blob: ce288ca4fd8e94badbee2a4066efe724aa7acc56 [file] [log] [blame]
Dan Albert27d166c2014-10-16 20:47:51 -07001#
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 Brown66db6892010-04-22 18:58:52 -070017# Build the unit tests.
18LOCAL_PATH := $(call my-dir)
Jeff Brown66db6892010-04-22 18:58:52 -070019
Dan Albert27d166c2014-10-16 20:47:51 -070020include $(CLEAR_VARS)
21LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
22
23LOCAL_MODULE := libutils_tests
24
25LOCAL_SRC_FILES := \
Kenny Root2fe13f12012-10-02 09:09:10 -070026 BasicHashtable_test.cpp \
27 BlobCache_test.cpp \
Michael Wrightd614ee42013-05-21 14:11:34 -070028 BitSet_test.cpp \
Elliott Hughesdec12b22015-02-02 17:31:27 -080029 file_test.cpp \
Kenny Root2fe13f12012-10-02 09:09:10 -070030 Looper_test.cpp \
Raph Levienb6ea1752012-10-25 23:11:13 -070031 LruCache_test.cpp \
Kenny Root2fe13f12012-10-02 09:09:10 -070032 String8_test.cpp \
Elliott Hughes6b3be292015-02-03 14:23:53 -080033 stringprintf_test.cpp \
Kenny Root2fe13f12012-10-02 09:09:10 -070034 Unicode_test.cpp \
Dan Albert27d166c2014-10-16 20:47:51 -070035 Vector_test.cpp \
Jeff Brown66db6892010-04-22 18:58:52 -070036
Dan Albert27d166c2014-10-16 20:47:51 -070037LOCAL_SHARED_LIBRARIES := \
Kenny Root2fe13f12012-10-02 09:09:10 -070038 libz \
39 liblog \
40 libcutils \
41 libutils \
Jeff Brown66db6892010-04-22 18:58:52 -070042
Dan Albert27d166c2014-10-16 20:47:51 -070043include $(BUILD_NATIVE_TEST)