Demo application that renders a triangle using Vulkan on the Pixel 3A.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Android.mk 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3. PNG_DIR = external/libpng/src
  4. PNG_SRC_FILES = $(PNG_DIR)/png.c \
  5. $(PNG_DIR)/pngerror.c \
  6. $(PNG_DIR)/pngget.c \
  7. $(PNG_DIR)/pngmem.c \
  8. $(PNG_DIR)/pngpread.c \
  9. $(PNG_DIR)/pngread.c \
  10. $(PNG_DIR)/pngrio.c \
  11. $(PNG_DIR)/pngrtran.c \
  12. $(PNG_DIR)/pngrutil.c \
  13. $(PNG_DIR)/pngset.c \
  14. $(PNG_DIR)/pngtrans.c \
  15. $(PNG_DIR)/pngwio.c \
  16. $(PNG_DIR)/pngwrite.c \
  17. $(PNG_DIR)/pngwtran.c \
  18. $(PNG_DIR)/pngwutil.c \
  19. $(PNG_DIR)/arm/arm_init.c \
  20. $(PNG_DIR)/arm/filter_neon_intrinsics.c
  21. ZLIB_DIR = external/zlib/src
  22. ZLIB_SRC_FILES = \
  23. $(ZLIB_DIR)/adler32.c \
  24. $(ZLIB_DIR)/compress.c \
  25. $(ZLIB_DIR)/crc32.c \
  26. $(ZLIB_DIR)/deflate.c \
  27. $(ZLIB_DIR)/gzclose.c \
  28. $(ZLIB_DIR)/gzlib.c \
  29. $(ZLIB_DIR)/gzread.c \
  30. $(ZLIB_DIR)/gzwrite.c \
  31. $(ZLIB_DIR)/infback.c \
  32. $(ZLIB_DIR)/inflate.c \
  33. $(ZLIB_DIR)/inftrees.c \
  34. $(ZLIB_DIR)/inffast.c \
  35. $(ZLIB_DIR)/trees.c \
  36. $(ZLIB_DIR)/uncompr.c \
  37. $(ZLIB_DIR)/zutil.c
  38. NAME := triangle
  39. LOCAL_MODULE := $(NAME)
  40. LOCAL_SRC_FILES := $(PNG_SRC_FILES) $(ZLIB_SRC_FILES) $(NAME).cc
  41. LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
  42. LOCAL_CPP_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/external
  43. LOCAL_CFLAGS := -Wall
  44. LOCAL_CPPFLAGS = -Wall -stdlib=libc++
  45. LOCAL_LDLIBS := -lvulkan
  46. include $(BUILD_EXECUTABLE)