1 LOCAL_PATH:= $(call my-dir)
3 # merge all required services into one jar
4 # ============================================================
7 LOCAL_MODULE := services
9 LOCAL_SRC_FILES := $(call all-java-files-under,java)
13 core/java/com/android/server/EventLogTags.logtags
15 # Uncomment to enable output of certain warnings (deprecated, unchecked)
16 # LOCAL_JAVACFLAGS := -Xlint
18 # Services that will be built as part of services.jar
19 # These should map to directory names relative to this
35 # The convention is to name each service module 'services.$(module_name)'
36 LOCAL_STATIC_JAVA_LIBRARIES := $(addprefix services.,$(services))
38 include $(BUILD_JAVA_LIBRARY)
41 # =============================================================
46 LOCAL_SHARED_LIBRARIES :=
48 # include all the jni subdirs to collect their sources
49 include $(wildcard $(LOCAL_PATH)/*/jni/Android.mk)
51 LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES
53 LOCAL_MODULE:= libandroid_servers
55 include $(BUILD_SHARED_LIBRARY)
57 # =============================================================
59 ifeq (,$(ONE_SHOT_MAKEFILE))
60 # A full make is happening, so make everything.
61 include $(call all-makefiles-under,$(LOCAL_PATH))
63 # If we ran an mm[m] command, we still want to build the individual
64 # services that we depend on. This differs from the above condition
65 # by only including service makefiles and not any tests or other
67 include $(patsubst %,$(LOCAL_PATH)/%/Android.mk,$(services))