1 ATTRIBUTETD := $(LLVM_ROOT_PATH)/include/llvm/IR/Attributes.td 2 3 ifeq ($(LOCAL_MODULE_CLASS),) 4 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 5 endif 6 7 GENFILE := $(addprefix $(call local-generated-sources-dir)/llvm/IR/,Attributes.inc) 8 LOCAL_GENERATED_SOURCES += $(GENFILE) 9 $(GENFILE): TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) 10 $(GENFILE): $(ATTRIBUTETD) | $(LLVM_TBLGEN) 11 ifeq ($(LOCAL_IS_HOST_MODULE),true) 12 $(call transform-host-td-to-out,attrs) 13 else 14 $(call transform-device-td-to-out,attrs) 15 endif 16