1LOCAL_PATH:= $(call my-dir) 2 3profiledata_SRC_FILES := \ 4 CoverageMapping.cpp \ 5 CoverageMappingReader.cpp \ 6 CoverageMappingWriter.cpp \ 7 InstrProf.cpp \ 8 InstrProfReader.cpp \ 9 InstrProfWriter.cpp \ 10 SampleProf.cpp \ 11 SampleProfReader.cpp \ 12 SampleProfWriter.cpp 13 14# For the host 15# ===================================================== 16include $(CLEAR_VARS) 17 18LOCAL_MODULE:= libLLVMProfileData 19LOCAL_MODULE_HOST_OS := darwin linux windows 20LOCAL_SRC_FILES := $(profiledata_SRC_FILES) 21 22include $(LLVM_HOST_BUILD_MK) 23include $(LLVM_GEN_ATTRIBUTES_MK) 24include $(LLVM_GEN_INTRINSICS_MK) 25include $(BUILD_HOST_STATIC_LIBRARY) 26 27# For the device 28# ===================================================== 29ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 30include $(CLEAR_VARS) 31 32LOCAL_MODULE:= libLLVMProfileData 33LOCAL_SRC_FILES := $(profiledata_SRC_FILES) 34 35include $(LLVM_DEVICE_BUILD_MK) 36include $(LLVM_GEN_ATTRIBUTES_MK) 37include $(LLVM_GEN_INTRINSICS_MK) 38include $(BUILD_STATIC_LIBRARY) 39endif 40