Uses cpusets to move all foreground tasks to the big cores in order to improve overall app launch latency. Big cores will be used for three seconds, and then the cpuset assignment is reset, allowing foreground tasks to fall back to the little cores as appropriate. Associated system/core and device/* changes in order to enable the boost cpuset and configure it per-device. bug 21915482 Change-Id: Id8a0efcb31950c1988f20273ac01c89c8c948eaf
75 lines
2.6 KiB
Makefile
75 lines
2.6 KiB
Makefile
# This file is included by the top level services directory to collect source
|
|
# files
|
|
LOCAL_REL_DIR := core/jni
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter
|
|
|
|
ifneq ($(ENABLE_CPUSETS),)
|
|
ifneq ($(ENABLE_SCHED_BOOST),)
|
|
LOCAL_CFLAGS += -DUSE_SCHED_BOOST
|
|
endif
|
|
endif
|
|
|
|
LOCAL_SRC_FILES += \
|
|
$(LOCAL_REL_DIR)/com_android_server_AlarmManagerService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_am_BatteryStatsService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_am_ActivityManagerService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_AssetAtlasService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_connectivity_Vpn.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_ConsumerIrService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_hdmi_HdmiCecController.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_input_InputApplicationHandle.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_input_InputManagerService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_input_InputWindowHandle.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_lights_LightsService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_location_GpsLocationProvider.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_location_FlpHardwareProvider.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_power_PowerManagerService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_SerialService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_SystemServer.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_tv_TvInputHal.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_UsbDeviceManager.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_UsbMidiDevice.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_UsbHostManager.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_VibratorService.cpp \
|
|
$(LOCAL_REL_DIR)/com_android_server_PersistentDataBlockService.cpp \
|
|
$(LOCAL_REL_DIR)/onload.cpp
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE) \
|
|
frameworks/base/services \
|
|
frameworks/base/libs \
|
|
frameworks/base/libs/hwui \
|
|
frameworks/base/core/jni \
|
|
frameworks/native/services \
|
|
libcore/include \
|
|
libcore/include/libsuspend \
|
|
system/security/keystore/include \
|
|
$(call include-path-for, libhardware)/hardware \
|
|
$(call include-path-for, libhardware_legacy)/hardware_legacy \
|
|
|
|
LOCAL_SHARED_LIBRARIES += \
|
|
libandroid_runtime \
|
|
libandroidfw \
|
|
libbinder \
|
|
libcutils \
|
|
liblog \
|
|
libhardware \
|
|
libhardware_legacy \
|
|
libkeystore_binder \
|
|
libnativehelper \
|
|
libutils \
|
|
libui \
|
|
libinput \
|
|
libinputflinger \
|
|
libinputservice \
|
|
libsensorservice \
|
|
libskia \
|
|
libgui \
|
|
libusbhost \
|
|
libsuspend \
|
|
libEGL \
|
|
libGLESv2 \
|
|
libnetutils \
|
|
|