Android.mk 604 B

1234567891011121314151617181920212223242526
  1. LOCAL_PATH:= $(call my-dir)
  2. svc_c_flags = \
  3. -Wall -Wextra \
  4. ifneq ($(TARGET_USES_64_BIT_BINDER),true)
  5. ifneq ($(TARGET_IS_64_BIT),true)
  6. svc_c_flags += -DBINDER_IPC_32BIT=1
  7. endif
  8. endif
  9. include $(CLEAR_VARS)
  10. LOCAL_SHARED_LIBRARIES := liblog
  11. LOCAL_SRC_FILES := bctest.c binder.c
  12. LOCAL_CFLAGS += $(svc_c_flags)
  13. LOCAL_MODULE := bctest
  14. LOCAL_MODULE_TAGS := optional
  15. include $(BUILD_EXECUTABLE)
  16. include $(CLEAR_VARS)
  17. LOCAL_SHARED_LIBRARIES := liblog libcutils libselinux
  18. LOCAL_SRC_FILES := service_manager.c binder.c
  19. LOCAL_CFLAGS += $(svc_c_flags)
  20. LOCAL_MODULE := servicemanager
  21. include $(BUILD_EXECUTABLE)