1# This file is included by the top level services directory to collect source
2# files
3LOCAL_REL_DIR := core/jni
4
5LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter
6
7ifneq ($(ENABLE_CPUSETS),)
8ifneq ($(ENABLE_SCHED_BOOST),)
9LOCAL_CFLAGS += -DUSE_SCHED_BOOST
10endif
11endif
12
13LOCAL_SRC_FILES += \
14    $(LOCAL_REL_DIR)/com_android_server_AlarmManagerService.cpp \
15    $(LOCAL_REL_DIR)/com_android_server_am_BatteryStatsService.cpp \
16    $(LOCAL_REL_DIR)/com_android_server_am_ActivityManagerService.cpp \
17    $(LOCAL_REL_DIR)/com_android_server_AssetAtlasService.cpp \
18    $(LOCAL_REL_DIR)/com_android_server_connectivity_Vpn.cpp \
19    $(LOCAL_REL_DIR)/com_android_server_ConsumerIrService.cpp \
20    $(LOCAL_REL_DIR)/com_android_server_HardwarePropertiesManagerService.cpp \
21    $(LOCAL_REL_DIR)/com_android_server_hdmi_HdmiCecController.cpp \
22    $(LOCAL_REL_DIR)/com_android_server_input_InputApplicationHandle.cpp \
23    $(LOCAL_REL_DIR)/com_android_server_input_InputManagerService.cpp \
24    $(LOCAL_REL_DIR)/com_android_server_input_InputWindowHandle.cpp \
25    $(LOCAL_REL_DIR)/com_android_server_lights_LightsService.cpp \
26    $(LOCAL_REL_DIR)/com_android_server_location_GnssLocationProvider.cpp \
27    $(LOCAL_REL_DIR)/com_android_server_location_FlpHardwareProvider.cpp \
28    $(LOCAL_REL_DIR)/com_android_server_power_PowerManagerService.cpp \
29    $(LOCAL_REL_DIR)/com_android_server_SerialService.cpp \
30    $(LOCAL_REL_DIR)/com_android_server_SystemServer.cpp \
31    $(LOCAL_REL_DIR)/com_android_server_tv_TvUinputBridge.cpp \
32    $(LOCAL_REL_DIR)/com_android_server_tv_TvInputHal.cpp \
33    $(LOCAL_REL_DIR)/com_android_server_vr_VrManagerService.cpp \
34    $(LOCAL_REL_DIR)/com_android_server_UsbDeviceManager.cpp \
35    $(LOCAL_REL_DIR)/com_android_server_UsbMidiDevice.cpp \
36    $(LOCAL_REL_DIR)/com_android_server_UsbHostManager.cpp \
37    $(LOCAL_REL_DIR)/com_android_server_VibratorService.cpp \
38    $(LOCAL_REL_DIR)/com_android_server_PersistentDataBlockService.cpp \
39    $(LOCAL_REL_DIR)/onload.cpp
40
41LOCAL_C_INCLUDES += \
42    $(JNI_H_INCLUDE) \
43    frameworks/base/services \
44    frameworks/base/libs \
45    frameworks/base/libs/hwui \
46    frameworks/base/core/jni \
47    frameworks/native/services \
48    libcore/include \
49    libcore/include/libsuspend \
50    system/security/keystore/include \
51    $(call include-path-for, libhardware)/hardware \
52    $(call include-path-for, libhardware_legacy)/hardware_legacy \
53
54LOCAL_SHARED_LIBRARIES += \
55    libandroid_runtime \
56    libandroidfw \
57    libbinder \
58    libcutils \
59    liblog \
60    libhardware \
61    libhardware_legacy \
62    libkeystore_binder \
63    libnativehelper \
64    libutils \
65    libui \
66    libinput \
67    libinputflinger \
68    libinputservice \
69    libsensorservice \
70    libskia \
71    libgui \
72    libusbhost \
73    libsuspend \
74    libEGL \
75    libGLESv2 \
76    libnetutils \
77
78