blob: 6ee7fca01128e3adb6f7562975a0211777fa82a5 [file] [log] [blame]
Amith Yamasani91588252013-11-22 08:25:26 -08001LOCAL_PATH:= $(call my-dir)
2
3# the java library
4# ============================================================
5include $(CLEAR_VARS)
6
7LOCAL_SRC_FILES :=
8
9# TODO: Move this to the product makefiles
10REQUIRED_SERVICES := core appwidget backup devicepolicy accessibility print
11
12include $(patsubst %,$(LOCAL_PATH)/%/java/service.mk,$(REQUIRED_SERVICES))
13
14LOCAL_MODULE:= services
15
16LOCAL_JAVA_LIBRARIES := android.policy conscrypt telephony-common
17
18#LOCAL_PROGUARD_ENABLED := full
19#LOCAL_PROGUARD_FLAG_FILES := proguard.flags
20
21include $(BUILD_JAVA_LIBRARY)
22
23include $(BUILD_DROIDDOC)
24
25# native library
26# =============================================================
27
28include $(CLEAR_VARS)
29
30LOCAL_SRC_FILES :=
31LOCAL_SHARED_LIBRARIES :=
32
33# include all the jni subdirs to collect their sources
34include $(wildcard $(LOCAL_PATH)/*/jni/Android.mk)
35
36LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES
37
38ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
39 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
40endif
41
42LOCAL_MODULE:= libandroid_servers
43
44include $(BUILD_SHARED_LIBRARY)
45