Home | History | Annotate | Download | only in Mms
      1 # Copyright 2007-2008 The Android Open Source Project
      2 
      3 LOCAL_PATH:= $(call my-dir)
      4 include $(CLEAR_VARS)
      5 # Include res dir from chips
      6 chips_dir := ../../../frameworks/ex/chips/res
      7 res_dirs := $(chips_dir) res
      8 
      9 $(shell rm -f $(LOCAL_PATH)/chips)
     10 
     11 LOCAL_MODULE_TAGS := optional
     12 
     13 LOCAL_SRC_FILES := $(call all-java-files-under, src)
     14 
     15 LOCAL_PACKAGE_NAME := Mms
     16 
     17 # Builds against the public SDK
     18 #LOCAL_SDK_VERSION := current
     19 
     20 LOCAL_JAVA_LIBRARIES += telephony-common mms-common
     21 LOCAL_STATIC_JAVA_LIBRARIES += android-common jsr305
     22 LOCAL_STATIC_JAVA_LIBRARIES += android-common-chips
     23 
     24 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
     25 LOCAL_AAPT_FLAGS := --auto-add-overlay
     26 LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips
     27 
     28 LOCAL_REQUIRED_MODULES := SoundRecorder
     29 
     30 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
     31 
     32 LOCAL_PRIVILEGED_MODULE := true
     33 
     34 include $(BUILD_PACKAGE)
     35 
     36 # This finds and builds the test apk as well, so a single make does both.
     37 include $(call all-makefiles-under,$(LOCAL_PATH))
     38