9158825f9c
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
12 lines
261 B
Makefile
12 lines
261 B
Makefile
# Include only if the service is required
|
|
ifneq ($(findstring backup,$(REQUIRED_SERVICES)),)
|
|
|
|
SUB_DIR := backup/java
|
|
|
|
LOCAL_SRC_FILES += \
|
|
$(call all-java-files-under,$(SUB_DIR))
|
|
|
|
#DEFINED_SERVICES += com.android.server.backup.BackupManagerService
|
|
|
|
endif
|