Home | History | Annotate | Download | only in ProfileData
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 profiledata_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 # =====================================================
     16 include $(CLEAR_VARS)
     17 
     18 LOCAL_MODULE:= libLLVMProfileData
     19 LOCAL_MODULE_HOST_OS := darwin linux windows
     20 LOCAL_SRC_FILES := $(profiledata_SRC_FILES)
     21 
     22 include $(LLVM_HOST_BUILD_MK)
     23 include $(LLVM_GEN_ATTRIBUTES_MK)
     24 include $(LLVM_GEN_INTRINSICS_MK)
     25 include $(BUILD_HOST_STATIC_LIBRARY)
     26 
     27 # For the device
     28 # =====================================================
     29 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
     30 include $(CLEAR_VARS)
     31 
     32 LOCAL_MODULE:= libLLVMProfileData
     33 LOCAL_SRC_FILES := $(profiledata_SRC_FILES)
     34 
     35 include $(LLVM_DEVICE_BUILD_MK)
     36 include $(LLVM_GEN_ATTRIBUTES_MK)
     37 include $(LLVM_GEN_INTRINSICS_MK)
     38 include $(BUILD_STATIC_LIBRARY)
     39 endif
     40