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