diff --git a/dumpstate/Android.mk b/dumpstate/Android.mk new file mode 100644 index 00000000..8771d26f --- /dev/null +++ b/dumpstate/Android.mk @@ -0,0 +1,44 @@ +# +# Copyright 2016 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) +include $(CLEAR_VARS) +LOCAL_MODULE := android.hardware.dumpstate@1.1-service.sunfish +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_INIT_RC := android.hardware.dumpstate@1.1-service.sunfish.rc +LOCAL_MODULE_RELATIVE_PATH := hw + +LOCAL_SRC_FILES := \ + DumpstateDevice.cpp \ + service.cpp + +LOCAL_SHARED_LIBRARIES := \ + android.hardware.dumpstate@1.0 \ + android.hardware.dumpstate@1.1 \ + libbase \ + libcutils \ + libdumpstateutil \ + libhidlbase \ + liblog \ + libutils + +LOCAL_CFLAGS := -Werror -Wall + +LOCAL_MODULE_TAGS := optional +LOCAL_PROPRIETARY_MODULE := true + +include $(BUILD_EXECUTABLE) diff --git a/self-extractors/google_devices/staging/Android.mk.template b/self-extractors/google_devices/staging/Android.mk.template new file mode 100644 index 00000000..d47a4ff4 --- /dev/null +++ b/self-extractors/google_devices/staging/Android.mk.template @@ -0,0 +1,26 @@ +# +# Copyright (C) 2019 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) + +$(call declare-license-metadata,$(LOCAL_PATH)/vendor.img,legacy_proprietary,proprietary,$(LOCAL_PATH)/../LICENSE,"Vendor Image",vendor) + +ifneq ($(filter sunfish,$(TARGET_DEVICE)),) + $(call add-radio-file,bootloader.img) + $(call declare-license-metadata,$(LOCAL_PATH)/bootloader.img,legacy_proprietary,proprietary,$(LOCAL_PATH)/../LICENSE,"Vendor Bootloader Image",vendor) + $(call add-radio-file,radio.img) + $(call declare-license-metadata,$(LOCAL_PATH)/radio.img,legacy_proprietary,proprietary,$(LOCAL_PATH)/../LICENSE,"Vendor Radio Image",vendor) +endif diff --git a/self-extractors/qcom/staging/Android.mk.template b/self-extractors/qcom/staging/Android.mk.template new file mode 100644 index 00000000..eda582fd --- /dev/null +++ b/self-extractors/qcom/staging/Android.mk.template @@ -0,0 +1,68 @@ +LOCAL_PATH := $(call my-dir) + +$(call declare-license-metadata,$(LOCAL_PATH)/vendor.img,legacy_proprietary,proprietary,$(LOCAL_PATH)/../LICENSE,"Vendor Image",vendor) + +$(eval $(call declare-copy-files-license-metadata,vendor/qcom/sunfish,:qcom,legacy_proprietary,proprietary,vendor/qcom/sunfish/LICENSE,)) +$(eval $(call declare-copy-files-license-metadata,vendor/qcom/sunfish,.jar,legacy_proprietary,proprietary,vendor/qcom/sunfish/LICENSE,)) +$(eval $(call declare-copy-files-license-metadata,vendor/qcom/sunfish,.xml,legacy_proprietary,proprietary,vendor/qcom/sunfish/LICENSE,)) + +ifneq ($(filter sunfish, $(TARGET_DEVICE)),) +include $(CLEAR_VARS) +LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) +LOCAL_MODULE := ims +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE +LOCAL_MODULE_TAGS := optional +LOCAL_BUILT_MODULE_STEM := package.apk +LOCAL_SYSTEM_EXT_MODULE := true +LOCAL_PRIVILEGED_MODULE := true +LOCAL_MODULE_OWNER := qcom +LOCAL_MODULE_CLASS := APPS +LOCAL_SRC_FILES := $(LOCAL_MODULE).apk +LOCAL_CERTIFICATE := platform +# Disable dexpreopt and check because the APK depends on +# libraries that are not present as modules in the build system. +LOCAL_ENFORCE_USES_LIBRARIES := false +LOCAL_DEX_PREOPT := false +include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) +LOCAL_MODULE := qcrilmsgtunnel +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE +LOCAL_MODULE_TAGS := optional +LOCAL_BUILT_MODULE_STEM := package.apk +LOCAL_SYSTEM_EXT_MODULE := true +LOCAL_PRIVILEGED_MODULE := true +LOCAL_MODULE_OWNER := qcom +LOCAL_MODULE_CLASS := APPS +LOCAL_SRC_FILES := $(LOCAL_MODULE).apk +LOCAL_CERTIFICATE := platform +# Disable dexpreopt and check because the APK depends on +# libraries that are not present as modules in the build system. +LOCAL_ENFORCE_USES_LIBRARIES := false +LOCAL_DEX_PREOPT := false +include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) +LOCAL_MODULE := QtiTelephonyService +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE +LOCAL_MODULE_TAGS := optional +LOCAL_BUILT_MODULE_STEM := package.apk +LOCAL_SYSTEM_EXT_MODULE := true +LOCAL_MODULE_OWNER := qcom +LOCAL_MODULE_CLASS := APPS +LOCAL_SRC_FILES := $(LOCAL_MODULE).apk +LOCAL_CERTIFICATE := platform +# Disable dexpreopt and check because the APK depends on +# libraries that are not present as modules in the build system. +LOCAL_ENFORCE_USES_LIBRARIES := false +LOCAL_DEX_PREOPT := false +include $(BUILD_PREBUILT) +endif