Permalink
Browse files

Make mock_ril, reference-ril, and reference-cdma-sms optional

These modules are pointless for most devices, and take a fair amount
of space. If any device needs them, it can add them to PRODUCT_PACKAGES

Change-Id: I7a2200116c3d29530cb028b57f7f75a39afa84fa
  • Loading branch information...
cyanogen authored and rmcc committed Jan 18, 2011
1 parent 97d65bf commit 896f96d4af74f74d4da4e41408f9e4fd53c81309
Showing with 3 additions and 1 deletion.
  1. +1 −1 mock-ril/Android.mk
  2. +1 −0 reference-cdma-sms/Android.mk
  3. +1 −0 reference-ril/Android.mk
View
@@ -71,7 +71,7 @@ LOCAL_STRIP_MODULE := true
LOCAL_PRELINK_MODULE := false
LOCAL_LDLIBS += -lpthread
LOCAL_CFLAGS += -DMOCK_RIL -D__BSD_VISIBLE
-LOCAL_MODULE_TAGS := debug
+LOCAL_MODULE_TAGS := optional
LOCAL_MODULE:= libmock_ril
include $(BUILD_SHARED_LIBRARY)
@@ -18,4 +18,5 @@ LOCAL_SHARED_LIBRARIES += \
libcutils libutils
LOCAL_LDLIBS += -lpthread
LOCAL_MODULE:= libreference-cdma-sms
+LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
View
@@ -37,6 +37,7 @@ ifeq (foo,foo)
libcutils libutils
LOCAL_LDLIBS += -lpthread
LOCAL_CFLAGS += -DRIL_SHLIB
+ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE:= libreference-ril
include $(BUILD_SHARED_LIBRARY)
else

0 comments on commit 896f96d

Please sign in to comment.