Android.mk 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. LOCAL_PATH:= $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_SRC_FILES := \
  4. main_audioserver.cpp \
  5. LOCAL_SHARED_LIBRARIES := \
  6. libaaudioservice \
  7. libaudioflinger \
  8. libaudiopolicyservice \
  9. libbinder \
  10. libcutils \
  11. liblog \
  12. libhidlbase \
  13. libhidltransport \
  14. libhwbinder \
  15. libmedia \
  16. libmedialogservice \
  17. libmediautils \
  18. libnbaio \
  19. libnblog \
  20. libsoundtriggerservice \
  21. libutils \
  22. libvibrator
  23. # TODO oboeservice is the old folder name for aaudioservice. It will be changed.
  24. LOCAL_C_INCLUDES := \
  25. frameworks/av/services/audioflinger \
  26. frameworks/av/services/audiopolicy \
  27. frameworks/av/services/audiopolicy/common/managerdefinitions/include \
  28. frameworks/av/services/audiopolicy/common/include \
  29. frameworks/av/services/audiopolicy/engine/interface \
  30. frameworks/av/services/audiopolicy/service \
  31. frameworks/av/services/medialog \
  32. frameworks/av/services/oboeservice \
  33. frameworks/av/services/radio \
  34. frameworks/av/services/soundtrigger \
  35. frameworks/av/media/libaaudio/include \
  36. frameworks/av/media/libaaudio/src \
  37. frameworks/av/media/libaaudio/src/binding \
  38. frameworks/av/media/libmedia \
  39. $(call include-path-for, audio-utils) \
  40. external/sonic \
  41. # If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control
  42. # the LOCAL_MULTILIB for all audioserver exclusive libraries.
  43. # This is relevant for 64 bit architectures where either or both
  44. # 32 and 64 bit libraries may be built.
  45. #
  46. # AUDIOSERVER_MULTILIB may be set as follows:
  47. # 32 to build 32 bit audioserver libraries and 32 bit audioserver.
  48. # 64 to build 64 bit audioserver libraries and 64 bit audioserver.
  49. # both to build both 32 bit and 64 bit libraries,
  50. # and use primary target architecture (32 or 64) for audioserver.
  51. # first to build libraries and audioserver for the primary target architecture only.
  52. # <empty> to build both 32 and 64 bit libraries and primary target audioserver.
  53. LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
  54. LOCAL_MODULE := audioserver
  55. LOCAL_INIT_RC := audioserver.rc
  56. LOCAL_CFLAGS := -Werror -Wall
  57. include $(BUILD_EXECUTABLE)