Error if $(TARGET_DEVICE_DIR)/android_filesystem_config.h exists

This was deprecated along with TARGET_ANDROID_FILESYSTEM_CONFIG_H so
warn if it still exists.

Test: successful error if it exists, no error if it does not
Change-Id: I7dde3c88aaf7ecec23ffe018cbe8b42ebadb2bf8
This commit is contained in:
Tom Cherry 2019-02-13 16:17:39 -08:00
parent 87ec538ef1
commit 1a9f8356fd
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ LOCAL_PATH := $(call my-dir)
# More information can be found in the README # More information can be found in the README
ANDROID_FS_CONFIG_H := android_filesystem_config.h ANDROID_FS_CONFIG_H := android_filesystem_config.h
ifneq ($(wildcard $(TARGET_DEVICE_DIR)/$(ANDROID_FS_CONFIG_H)),)
$(error Using $(ANDROID_FS_CONFIG_H) is deprecated, please use TARGET_FS_CONFIG_GEN instead)
endif
my_fs_config_h := $(LOCAL_PATH)/default/$(ANDROID_FS_CONFIG_H) my_fs_config_h := $(LOCAL_PATH)/default/$(ANDROID_FS_CONFIG_H)
system_android_filesystem_config := system/core/include/private/android_filesystem_config.h system_android_filesystem_config := system/core/include/private/android_filesystem_config.h