1650ddc3f6
Most of this code is device independent, and we're parameterizing the parts that are not in a way which makes the logic device independent. Bug: 29321445 Change-Id: Ice9f16d966275378d4fc5a5201eca82f2ea67c5e Test: Compiles, can associate to an AP.
55 lines
1.4 KiB
Makefile
55 lines
1.4 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 qemu qemu_tracing
|
|
|
|
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 := libcutils liblog libmedia
|
|
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)
|
|
|
|
LOCAL_MODULE:= libhardware_legacy
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
# static library for librpc
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:= libpower
|
|
|
|
LOCAL_SRC_FILES += power/power.c
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
# shared library for various HALs
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libpower
|
|
|
|
LOCAL_SRC_FILES := power/power.c
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
# legacy_audio builds it's own set of libraries that aren't linked into
|
|
# hardware_legacy
|
|
include $(LEGACY_AUDIO_MAKEFILES)
|