• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17# Build the unit tests.
18LOCAL_PATH := $(call my-dir)
19
20include $(CLEAR_VARS)
21
22LOCAL_MODULE := libutils_tests
23
24LOCAL_SRC_FILES := \
25    BlobCache_test.cpp \
26    BitSet_test.cpp \
27    Looper_test.cpp \
28    LruCache_test.cpp \
29    String8_test.cpp \
30    StrongPointer_test.cpp \
31    Unicode_test.cpp \
32    Vector_test.cpp \
33
34LOCAL_SHARED_LIBRARIES := \
35    libz \
36    liblog \
37    libcutils \
38    libutils \
39
40include $(BUILD_NATIVE_TEST)
41
42include $(CLEAR_VARS)
43
44LOCAL_MODULE := libutils_tests_host
45LOCAL_SRC_FILES := Vector_test.cpp
46LOCAL_STATIC_LIBRARIES := libutils liblog
47
48include $(BUILD_HOST_NATIVE_TEST)
49