1 # Copyright (C) 2009 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 # 15 # Build control file for Bionic's test programs 16 # define the BIONIC_TESTS environment variable to build the test programs 17 # 18 19 ifdef SDCARD_TESTS 20 21 LOCAL_PATH:= $(call my-dir) 22 23 include $(CLEAR_VARS) 24 25 LOCAL_SRC_FILES = \ 26 stopwatch.cpp \ 27 sysutil.cpp \ 28 sdcard_perf_test.cpp \ 29 testcase.cpp 30 31 LOCAL_MODULE := sdcard_perf_test 32 LOCAL_MODULE_TAGS := eng tests 33 LOCAL_SHARED_LIBRARIES := libutils libhardware_legacy 34 35 include $(BUILD_EXECUTABLE) 36 37 endif # SDCARD_TESTS 38