Convert sensors.akita to Android.bp am: 49ee5cf28e

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3160218

Change-Id: Icc18f0437808aa7df754a1e0776edb5d7e1e3e4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Herbert Xue 2024-07-09 03:14:09 +00:00 committed by Automerger Merge Worker
commit c629f6c49e
2 changed files with 34 additions and 30 deletions

34
sensors/Android.bp Normal file
View file

@ -0,0 +1,34 @@
// Copyright (C) 2009 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.
// HAL module implementation stored in
// hw/<SENSORS_HARDWARE_MODULE_ID>.<ro.hardware>.so
package {
// See: http://go/android-license-faq
default_applicable_licenses: [
"device_google_akita_license",
],
}
cc_library_shared {
name: "sensors.akita",
relative_install_path: "hw",
shared_libs: [
"liblog",
"libcutils",
"libhardware",
],
srcs: ["sensors_dummy.c"],
proprietary: true,
}

View file

@ -1,30 +0,0 @@
# Copyright (C) 2009 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.
LOCAL_PATH := $(call my-dir)
# HAL module implementation stored in
# hw/<SENSORS_HARDWARE_MODULE_ID>.<ro.hardware>.so
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware
LOCAL_SRC_FILES := sensors_dummy.c
LOCAL_MODULE := sensors.akita
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE
LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_SHARED_LIBRARY)