From f117962eb25bde75e981c3bff91ba708a55df65e Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 25 Aug 2016 15:32:21 -0500 Subject: Make it backwards compatible with 4.4 Change-Id: I668604cddc8e8afbf78709f3f872bea4e9f4aa06 --- tools/recovery_l10n/Android.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/recovery_l10n') diff --git a/tools/recovery_l10n/Android.mk b/tools/recovery_l10n/Android.mk index 937abd1e1..9fb797cf3 100644 --- a/tools/recovery_l10n/Android.mk +++ b/tools/recovery_l10n/Android.mk @@ -1,5 +1,9 @@ # Copyright 2012 Google Inc. All Rights Reserved. + +# Prevent RecoveryLocalizer already defined errors in older trees +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 24; echo $$?),0) + LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) @@ -10,3 +14,5 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) include $(BUILD_PACKAGE) + +endif -- cgit v1.2.3