Merge "Convert hardware/interfaces/keymaster/3.0/default/Android.mk to Android.bp" into main am: ab18a3b5a7

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3135574

Change-Id: Iabbaee5593824d690609f672cd402893800fe5e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-07-03 07:08:14 +00:00
committed by Automerger Merge Worker
2 changed files with 57 additions and 48 deletions

View File

@@ -0,0 +1,57 @@
// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
default_applicable_licenses: [
"hardware_interfaces_license",
],
}
cc_library_shared {
name: "android.hardware.keymaster@3.0-impl",
proprietary: true,
relative_install_path: "hw",
srcs: ["KeymasterDevice.cpp"],
shared_libs: [
"android.hardware.keymaster@3.0",
"libcrypto",
"libhardware",
"libhidlbase",
"libkeymaster_portable",
"libkeymaster3device",
"liblog",
"libpuresoftkeymasterdevice",
"libsoftkeymasterdevice",
"libutils",
],
}
cc_binary {
name: "android.hardware.keymaster@3.0-service",
relative_install_path: "hw",
proprietary: true,
init_rc: ["android.hardware.keymaster@3.0-service.rc"],
srcs: ["service.cpp"],
shared_libs: [
"android.hardware.keymaster@3.0",
"libbase",
"libcutils",
"libdl",
"libhardware",
"libhidlbase",
"liblog",
"libutils",
],
}

View File

@@ -1,48 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.keymaster@3.0-impl
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../NOTICE
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
KeymasterDevice.cpp \
LOCAL_SHARED_LIBRARIES := \
liblog \
libsoftkeymasterdevice \
libcrypto \
libkeymaster_portable \
libpuresoftkeymasterdevice \
libkeymaster3device \
libhidlbase \
libutils \
libhardware \
android.hardware.keymaster@3.0
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := android.hardware.keymaster@3.0-service
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../NOTICE
LOCAL_INIT_RC := android.hardware.keymaster@3.0-service.rc
LOCAL_SRC_FILES := \
service.cpp
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \
libdl \
libbase \
libutils \
libhardware \
libhidlbase \
android.hardware.keymaster@3.0
include $(BUILD_EXECUTABLE)