Android.common.mk 605 B

12345678910111213141516171819202122
  1. # XXX: Consider moving these to config.h analogous to autoconf.
  2. LOCAL_CFLAGS += \
  3. -DMAJOR_IN_SYSMACROS=1 \
  4. -DHAVE_ALLOCA_H=0 \
  5. -DHAVE_SYS_SELECT_H=0 \
  6. -DHAVE_SYS_SYSCTL_H=0 \
  7. -DHAVE_VISIBILITY=1 \
  8. -fvisibility=hidden \
  9. -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
  10. LOCAL_CFLAGS += \
  11. -Wno-error \
  12. -Wno-unused-parameter \
  13. -Wno-missing-field-initializers \
  14. -Wno-pointer-arith \
  15. -Wno-enum-conversion
  16. # Quiet down the build system and remove any .h files from the sources
  17. LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
  18. LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
  19. LOCAL_PROPRIETARY_MODULE := true