Skip to content

Commit

Permalink
Allow a device to include its own RIL subclass
Browse files Browse the repository at this point in the history
For cases where a single device needs a subclass, there's no need to
pollute the common core with it: just stick it in the device's own
repository, and add something like
"BOARD_RIL_CLASS := ../../../device/manuf/model/ril/" to the BoardConfig

Change-Id: I9d01ceb6e5587382eb216341e2e373ec0c52848f

Conflicts:
	Android.mk
  • Loading branch information
rmcc authored and broodplank committed Nov 12, 2013
1 parent 97af2bb commit a0a6f90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src/java) \
$(call all-Iaidl-files-under, src/java) \
$(call all-logtags-files-under, src/java)

ifneq ($(BOARD_RIL_CLASS),)
LOCAL_SRC_FILES += $(call find-other-java-files,$(BOARD_RIL_CLASS))
endif

LOCAL_JAVA_LIBRARIES := voip-common
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := telephony-common
Expand Down

0 comments on commit a0a6f90

Please sign in to comment.