898c13df7b
At startup, we check with PackageManager whether a system service is available before attempting to load it. A system service is available if its associated feature (similar to hardware features) is present. This does not remove unavailable services from the compiled jar. Change-Id: I13571805083aa4e65519a74acb52efd17b9fb3d7
15 lines
343 B
Makefile
15 lines
343 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := services.core
|
|
|
|
LOCAL_SRC_FILES += \
|
|
$(call all-java-files-under,java) \
|
|
java/com/android/server/EventLogTags.logtags \
|
|
java/com/android/server/am/EventLogTags.logtags
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.policy telephony-common
|
|
|
|
include $(BUILD_STATIC_JAVA_LIBRARY)
|