Files
frameworks_base/native/android/Android.mk
Mathias Agopian f1cb02e7b5 fallout of splitting rect.h out of libandroid.
- Main goal here: libandroid now links against 
libarect and export its includes.

- Also fix some wrongful makefiles that included 
headers without proper dependency list.

Test: built and booted device
Bug: 35164655
Change-Id: Iae17b966bba00fe53424486a75eebff468873787
2017-02-17 12:25:26 -08:00

73 lines
1.4 KiB
Makefile

BASE_PATH := $(call my-dir)
LOCAL_PATH:= $(call my-dir)
common_cflags := -Wall -Werror -Wunused -Wunreachable-code
include $(CLEAR_VARS)
# our source files
#
LOCAL_SRC_FILES:= \
asset_manager.cpp \
choreographer.cpp \
configuration.cpp \
hardware_buffer.cpp \
hardware_buffer_jni.cpp \
input.cpp \
looper.cpp \
native_activity.cpp \
native_window.cpp \
native_window_jni.cpp \
net.c \
obb.cpp \
sensor.cpp \
storage_manager.cpp \
trace.cpp \
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \
libandroidfw \
libinput \
libutils \
libbinder \
libui \
libgui \
libandroid_runtime \
libnetd_client \
LOCAL_STATIC_LIBRARIES := \
libstorage \
libarect
LOCAL_C_INCLUDES += \
frameworks/base/native/include \
frameworks/base/core/jni/android \
bionic/libc/dns/include \
system/netd/include \
LOCAL_EXPORT_STATIC_LIBRARY_HEADERS := libarect
LOCAL_MODULE := libandroid
LOCAL_CFLAGS += $(common_cflags)
include $(BUILD_SHARED_LIBRARY)
# Network library.
include $(CLEAR_VARS)
LOCAL_MODULE := libandroid_net
LOCAL_CFLAGS := $(common_cflags)
LOCAL_SRC_FILES:= \
net.c \
LOCAL_SHARED_LIBRARIES := \
libnetd_client \
LOCAL_C_INCLUDES += \
frameworks/base/native/include \
bionic/libc/dns/include \
system/netd/include \
include $(BUILD_SHARED_LIBRARY)