1 # Copyright (c) 2015, Motorola Mobility LLC 2 # All rights reserved. 3 # 4 # Redistribution and use in source and binary forms, with or without 5 # modification, are permitted provided that the following conditions are met: 6 # - Redistributions of source code must retain the above copyright 7 # notice, this list of conditions and the following disclaimer. 8 # - Redistributions in binary form must reproduce the above copyright 9 # notice, this list of conditions and the following disclaimer in the 10 # documentation and/or other materials provided with the distribution. 11 # - Neither the name of Motorola Mobility nor the 12 # names of its contributors may be used to endorse or promote products 13 # derived from this software without specific prior written permission. 14 # 15 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 16 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 17 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 18 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MOTOROLA MOBILITY LLC BE LIABLE 19 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25 # DAMAGE. 26 27LOCAL_PATH := $(call my-dir) 28 29include $(CLEAR_VARS) 30LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/src/java 31LOCAL_SRC_FILES := \ 32 $(call all-java-files-under, src/java) 33LOCAL_SRC_FILES += src/java/com/android/ims/internal/IRcsService.aidl \ 34 src/java/com/android/ims/internal/IRcsPresence.aidl \ 35 src/java/com/android/ims/IRcsPresenceListener.aidl 36 37LOCAL_JAVA_LIBRARIES += ims-common 38 39#LOCAL_MODULE_TAGS := optional 40LOCAL_MODULE := com.android.ims.rcsmanager 41LOCAL_REQUIRED_MODULES := com.android.ims.rcsmanager.xml 42include $(BUILD_JAVA_LIBRARY) 43 44# We need to put the permissions XML file into /system/etc/permissions/ so the 45# JAR can be dynamically loaded. 46include $(CLEAR_VARS) 47LOCAL_MODULE := com.android.ims.rcsmanager.xml 48#LOCAL_MODULE_TAGS := optional 49LOCAL_MODULE_CLASS := ETC 50LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions 51LOCAL_SRC_FILES := $(LOCAL_MODULE) 52include $(BUILD_PREBUILT) 53 54 55