diff options
Diffstat (limited to '')
-rw-r--r-- | tools/dumpkey/Android.mk (renamed from tools/ota/Android.mk) | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/tools/ota/Android.mk b/tools/dumpkey/Android.mk index 142c3b257..c528c3bf9 100644 --- a/tools/ota/Android.mk +++ b/tools/dumpkey/Android.mk @@ -14,20 +14,14 @@ LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) -LOCAL_FORCE_STATIC_EXECUTABLE := true -LOCAL_MODULE := add-property-tag -LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) -LOCAL_MODULE_TAGS := debug -LOCAL_SRC_FILES := add-property-tag.c -LOCAL_STATIC_LIBRARIES := libc -include $(BUILD_EXECUTABLE) +# Pre Oreo trees have dumpkey defined elsewhere in the tree +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0) include $(CLEAR_VARS) -LOCAL_FORCE_STATIC_EXECUTABLE := true -LOCAL_MODULE := check-lost+found -LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) -LOCAL_MODULE_TAGS := debug -LOCAL_SRC_FILES := check-lost+found.c -LOCAL_STATIC_LIBRARIES := libcutils libc -include $(BUILD_EXECUTABLE) +LOCAL_MODULE := dumpkey +LOCAL_SRC_FILES := DumpPublicKey.java +LOCAL_JAR_MANIFEST := DumpPublicKey.mf +LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-host +include $(BUILD_HOST_JAVA_LIBRARY) + +endif |