blob: 21fe19c962fea229d1d0521d10e2a7b4f611bbb9 [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)
Dan Albert27d166c2014-10-16 20:47:51 -070021
22LOCAL_MODULE := libutils_tests
23
24LOCAL_SRC_FILES := \
Kenny Root2fe13f12012-10-02 09:09:10 -070025 BlobCache_test.cpp \
Michael Wrightd614ee42013-05-21 14:11:34 -070026 BitSet_test.cpp \
Kenny Root2fe13f12012-10-02 09:09:10 -070027 Looper_test.cpp \
Raph Levienb6ea1752012-10-25 23:11:13 -070028 LruCache_test.cpp \
Kenny Root2fe13f12012-10-02 09:09:10 -070029 String8_test.cpp \
John Reckd69089a2015-10-28 15:36:33 -070030 StrongPointer_test.cpp \
Greg Hackmann340079d2016-04-25 15:57:44 -070031 SystemClock_test.cpp \
Kenny Root2fe13f12012-10-02 09:09:10 -070032 Unicode_test.cpp \
Dan Albert27d166c2014-10-16 20:47:51 -070033 Vector_test.cpp \
Jeff Brown66db6892010-04-22 18:58:52 -070034
Dan Albert27d166c2014-10-16 20:47:51 -070035LOCAL_SHARED_LIBRARIES := \
Kenny Root2fe13f12012-10-02 09:09:10 -070036 libz \
37 liblog \
38 libcutils \
39 libutils \
Jeff Brown66db6892010-04-22 18:58:52 -070040
Dan Albert27d166c2014-10-16 20:47:51 -070041include $(BUILD_NATIVE_TEST)
Narayan Kamathc609c312015-08-28 12:59:48 +010042
43include $(CLEAR_VARS)
44
45LOCAL_MODULE := libutils_tests_host
46LOCAL_SRC_FILES := Vector_test.cpp
47LOCAL_STATIC_LIBRARIES := libutils liblog
48
49include $(BUILD_HOST_NATIVE_TEST)