blob: c528c3bf94570cc3b0404cbf400798607e3f327e [file] [log] [blame]
Mattias Nissler03b72b02016-02-24 14:45:06 +01001# 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
15LOCAL_PATH := $(call my-dir)
16
Ethan Yonker8373cfe2017-09-08 06:50:54 -050017# Pre Oreo trees have dumpkey defined elsewhere in the tree
18ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0)
19
Mattias Nissler03b72b02016-02-24 14:45:06 +010020include $(CLEAR_VARS)
21LOCAL_MODULE := dumpkey
22LOCAL_SRC_FILES := DumpPublicKey.java
23LOCAL_JAR_MANIFEST := DumpPublicKey.mf
24LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-host
25include $(BUILD_HOST_JAVA_LIBRARY)
Ethan Yonker8373cfe2017-09-08 06:50:54 -050026
27endif