blob: a69f3fb98a5c7074013171359c5858397ac99f4d [file] [log] [blame]
John Reck94c40fe2014-10-08 09:28:43 -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
17local_target_dir := $(TARGET_OUT_DATA)/local/tmp
John Reck35cf58a2014-12-18 13:14:40 -080018LOCAL_PATH:= $(call my-dir)/..
John Reck94c40fe2014-10-08 09:28:43 -070019include $(CLEAR_VARS)
20
John Reck94c40fe2014-10-08 09:28:43 -070021LOCAL_MODULE_PATH := $(local_target_dir)
22LOCAL_MODULE:= hwuitest
23LOCAL_MODULE_TAGS := tests
24LOCAL_MULTILIB := both
25LOCAL_MODULE_STEM_32 := hwuitest
26LOCAL_MODULE_STEM_64 := hwuitest64
27
John Reck35cf58a2014-12-18 13:14:40 -080028include $(LOCAL_PATH)/Android.common.mk
John Reck94c40fe2014-10-08 09:28:43 -070029
John Reck35cf58a2014-12-18 13:14:40 -080030LOCAL_SRC_FILES += \
31 tests/TestContext.cpp \
32 tests/main.cpp
33
34include $(BUILD_EXECUTABLE)
Rob Tsuk487a92c2015-01-06 13:22:54 -080035
36include $(CLEAR_VARS)
37
38LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.common.mk
39LOCAL_MODULE := hwui_unit_tests
40LOCAL_MODULE_TAGS := tests
41
42include $(LOCAL_PATH)/Android.common.mk
43
44LOCAL_SRC_FILES += \
45 tests/ClipAreaTests.cpp \
46
47include $(BUILD_NATIVE_TEST)