Mattias Nissler | 03b72b0 | 2016-02-24 14:45:06 +0100 | [diff] [blame] | 1 | # Copyright (C) 2008 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
Ethan Yonker | 8373cfe | 2017-09-08 06:50:54 -0500 | [diff] [blame] | 17 | # Pre Oreo trees have dumpkey defined elsewhere in the tree |
| 18 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0) |
| 19 | |
Mattias Nissler | 03b72b0 | 2016-02-24 14:45:06 +0100 | [diff] [blame] | 20 | include $(CLEAR_VARS) |
| 21 | LOCAL_MODULE := dumpkey |
| 22 | LOCAL_SRC_FILES := DumpPublicKey.java |
| 23 | LOCAL_JAR_MANIFEST := DumpPublicKey.mf |
| 24 | LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-host |
| 25 | include $(BUILD_HOST_JAVA_LIBRARY) |
Ethan Yonker | 8373cfe | 2017-09-08 06:50:54 -0500 | [diff] [blame] | 26 | |
| 27 | endif |