Mike Lockwood | 94afecf | 2012-10-24 10:45:23 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
Andreas Gampe | 99e2b26 | 2016-07-09 11:44:12 -0700 | [diff] [blame] | 3 | # OTA slot script |
| 4 | |
| 5 | include $(CLEAR_VARS) |
| 6 | LOCAL_MODULE:= otapreopt_slot |
| 7 | LOCAL_MODULE_TAGS := optional |
| 8 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 9 | LOCAL_SRC_FILES := otapreopt_slot.sh |
| 10 | LOCAL_INIT_RC := otapreopt.rc |
| 11 | |
| 12 | include $(BUILD_PREBUILT) |
| 13 | |
Andreas Gampe | 01ad598 | 2016-03-09 16:27:29 -0800 | [diff] [blame] | 14 | # OTA postinstall script |
| 15 | |
| 16 | include $(CLEAR_VARS) |
| 17 | LOCAL_MODULE:= otapreopt_script |
| 18 | LOCAL_MODULE_TAGS := optional |
| 19 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 20 | LOCAL_SRC_FILES := otapreopt_script.sh |
| 21 | |
Andreas Gampe | 99e2b26 | 2016-07-09 11:44:12 -0700 | [diff] [blame] | 22 | # Let this depend on otapreopt, the chroot tool and the slot script, so we just have to mention one |
| 23 | # in a configuration. |
| 24 | LOCAL_REQUIRED_MODULES := otapreopt otapreopt_chroot otapreopt_slot |
Andreas Gampe | 01ad598 | 2016-03-09 16:27:29 -0800 | [diff] [blame] | 25 | |
| 26 | include $(BUILD_PREBUILT) |