1# Copyright (C) 2016 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15LOCAL_PATH:= $(call my-dir) 16 17test_executable := CtsAslrMallocTestCases 18list_executable := $(test_executable)_list 19 20include $(CLEAR_VARS) 21LOCAL_MODULE:= $(test_executable) 22LOCAL_MODULE_TAGS := optional 23LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativetest 24LOCAL_MULTILIB := both 25LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32 26LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64 27 28LOCAL_C_INCLUDES := \ 29 external/gtest/include 30 31LOCAL_SRC_FILES := \ 32 src/AslrMallocTest.cpp 33 34LOCAL_SHARED_LIBRARIES := \ 35 libbase \ 36 libutils \ 37 liblog \ 38 39LOCAL_STATIC_LIBRARIES := \ 40 libgtest 41 42# Tag this module as a cts test artifact 43LOCAL_COMPATIBILITY_SUITE := cts 44 45include $(BUILD_CTS_EXECUTABLE) 46 47include $(CLEAR_VARS) 48LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 49 50LOCAL_MODULE := $(list_executable) 51LOCAL_MODULE_TAGS := optional 52 53LOCAL_SRC_FILES := \ 54 src/AslrMallocTest.cpp 55 56LOCAL_CFLAGS := \ 57 -DBUILD_ONLY \ 58 59LOCAL_SHARED_LIBRARIES := \ 60 liblog 61 62include $(BUILD_HOST_NATIVE_TEST) 63