platform_hardware_libhardwa.../Android.mk
Vijay Venkatraman b3ecdf3ed4 Merge "Exporting headers as libhardware_legacy_headers" am: 825a3e4895 am: d0573b07c1
am: a673b8d80d

Change-Id: I412d05500746de3bf9020722b106c8805f83adfc
2017-04-05 01:13:54 +00:00

41 lines
1.1 KiB
Makefile

# Copyright 2006 The Android Open Source Project
# Setting LOCAL_PATH will mess up all-subdir-makefiles, so do it beforehand.
legacy_modules := power uevent
SAVE_MAKEFILES := $(call all-named-subdir-makefiles,$(legacy_modules))
LEGACY_AUDIO_MAKEFILES := $(call all-named-subdir-makefiles,audio)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := libbase libcutils liblog
LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libmedia
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_CFLAGS += -DQEMU_HARDWARE -Wno-unused-parameter -Wno-gnu-designator
QEMU_HARDWARE := true
LOCAL_SHARED_LIBRARIES += libdl
include $(SAVE_MAKEFILES)
# TODO: Remove this line b/29915755
ifndef BRILLO
LOCAL_WHOLE_STATIC_LIBRARIES := libwifi-hal-common
endif
LOCAL_MODULE:= libhardware_legacy
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libhardware_legacy_headers
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
include $(BUILD_HEADER_LIBRARY)
# legacy_audio builds it's own set of libraries that aren't linked into
# hardware_legacy
include $(LEGACY_AUDIO_MAKEFILES)