1*344aa361SAndroid Build Coastguard Worker# Copyright (C) 2022 The Android Open Source Project 2*344aa361SAndroid Build Coastguard Worker# 3*344aa361SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 4*344aa361SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 5*344aa361SAndroid Build Coastguard Worker# You may obtain a copy of the License at 6*344aa361SAndroid Build Coastguard Worker# 7*344aa361SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 8*344aa361SAndroid Build Coastguard Worker# 9*344aa361SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 10*344aa361SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 11*344aa361SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*344aa361SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 13*344aa361SAndroid Build Coastguard Worker# limitations under the License. 14*344aa361SAndroid Build Coastguard Worker# 15*344aa361SAndroid Build Coastguard Worker 16*344aa361SAndroid Build Coastguard WorkerLOCAL_DIR := $(GET_LOCAL_DIR) 17*344aa361SAndroid Build Coastguard Worker 18*344aa361SAndroid Build Coastguard WorkerMODULE := $(LOCAL_DIR) 19*344aa361SAndroid Build Coastguard Worker 20*344aa361SAndroid Build Coastguard WorkerLIBSTDCPP_TRUSTY_TEST_DIR := trusty/user/base/lib/libstdc++-trusty/test 21*344aa361SAndroid Build Coastguard Worker 22*344aa361SAndroid Build Coastguard WorkerMODULE_SRCS += \ 23*344aa361SAndroid Build Coastguard Worker $(LIBSTDCPP_TRUSTY_TEST_DIR)/libcxx_test.cpp \ 24*344aa361SAndroid Build Coastguard Worker 25*344aa361SAndroid Build Coastguard Worker# Don't let the compiler optimize out the code we're testing. new, delete, etc. 26*344aa361SAndroid Build Coastguard WorkerMODULE_COMPILEFLAGS := -ffreestanding 27*344aa361SAndroid Build Coastguard Worker 28*344aa361SAndroid Build Coastguard WorkerMODULE_DEPS += \ 29*344aa361SAndroid Build Coastguard Worker trusty/kernel/lib/libcxx-trusty \ 30*344aa361SAndroid Build Coastguard Worker 31*344aa361SAndroid Build Coastguard Workerinclude make/module.mk 32