Loading Android.bp 0 → 100644 +63 −0 Original line number Diff line number Diff line // // Copyright (C) 2020 The LineageOS 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. // android_app { name: "Eleven", srcs: [ "src/org/lineageos/eleven/IElevenService.aidl", "src/**/*.java", "src_aosp/**/*.java", ], resource_dirs: ["res"], static_libs: [ "androidx.appcompat_appcompat", "androidx.cardview_cardview", "androidx-constraintlayout_constraintlayout", "androidx.core_core", "androidx.legacy_legacy-support-v4", "androidx.palette_palette", "androidx.preference_preference", "androidx.recyclerview_recyclerview", ], overrides: ["Music"], sdk_version: "current", privileged: true, product_specific: true, jni_libs: ["librsjni"], optimize: { proguard_flags_files: ["proguard.cfg"], enabled: false, }, required: ["privapp_whitelist_org.lineageos.eleven"], } prebuilt_etc { name: "privapp_whitelist_org.lineageos.eleven", product_specific: true, src: "privapp_whitelist_org.lineageos.eleven.xml", sub_dir: "permissions", filename_from_src: true, } Android.mkdeleted 100644 → 0 +0 −49 Original line number Diff line number Diff line LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := src/org/lineageos/eleven/IElevenService.aidl LOCAL_SRC_FILES += $(call all-java-files-under, src) LOCAL_SRC_FILES += $(call all-java-files-under, src_aosp) LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, res) LOCAL_STATIC_ANDROID_LIBRARIES := \ androidx.appcompat_appcompat \ androidx.cardview_cardview \ androidx-constraintlayout_constraintlayout \ androidx.core_core \ androidx.legacy_legacy-support-v4 \ androidx.palette_palette \ androidx.preference_preference \ androidx.recyclerview_recyclerview LOCAL_USE_AAPT2 := true LOCAL_PACKAGE_NAME := Eleven LOCAL_OVERRIDES_PACKAGES := Music LOCAL_SDK_VERSION := current LOCAL_PRIVILEGED_MODULE := true LOCAL_PRODUCT_MODULE := true LOCAL_JNI_SHARED_LIBRARIES := librsjni LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.cfg LOCAL_PROGUARD_ENABLED := disabled LOCAL_REQUIRED_MODULES := privapp_whitelist_org.lineageos.eleven.xml include $(BUILD_PACKAGE) include $(CLEAR_VARS) LOCAL_MODULE := privapp_whitelist_org.lineageos.eleven.xml LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_TAGS := optional LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT_ETC)/permissions LOCAL_PRODUCT_MODULE := true LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) Loading
Android.bp 0 → 100644 +63 −0 Original line number Diff line number Diff line // // Copyright (C) 2020 The LineageOS 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. // android_app { name: "Eleven", srcs: [ "src/org/lineageos/eleven/IElevenService.aidl", "src/**/*.java", "src_aosp/**/*.java", ], resource_dirs: ["res"], static_libs: [ "androidx.appcompat_appcompat", "androidx.cardview_cardview", "androidx-constraintlayout_constraintlayout", "androidx.core_core", "androidx.legacy_legacy-support-v4", "androidx.palette_palette", "androidx.preference_preference", "androidx.recyclerview_recyclerview", ], overrides: ["Music"], sdk_version: "current", privileged: true, product_specific: true, jni_libs: ["librsjni"], optimize: { proguard_flags_files: ["proguard.cfg"], enabled: false, }, required: ["privapp_whitelist_org.lineageos.eleven"], } prebuilt_etc { name: "privapp_whitelist_org.lineageos.eleven", product_specific: true, src: "privapp_whitelist_org.lineageos.eleven.xml", sub_dir: "permissions", filename_from_src: true, }
Android.mkdeleted 100644 → 0 +0 −49 Original line number Diff line number Diff line LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := src/org/lineageos/eleven/IElevenService.aidl LOCAL_SRC_FILES += $(call all-java-files-under, src) LOCAL_SRC_FILES += $(call all-java-files-under, src_aosp) LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, res) LOCAL_STATIC_ANDROID_LIBRARIES := \ androidx.appcompat_appcompat \ androidx.cardview_cardview \ androidx-constraintlayout_constraintlayout \ androidx.core_core \ androidx.legacy_legacy-support-v4 \ androidx.palette_palette \ androidx.preference_preference \ androidx.recyclerview_recyclerview LOCAL_USE_AAPT2 := true LOCAL_PACKAGE_NAME := Eleven LOCAL_OVERRIDES_PACKAGES := Music LOCAL_SDK_VERSION := current LOCAL_PRIVILEGED_MODULE := true LOCAL_PRODUCT_MODULE := true LOCAL_JNI_SHARED_LIBRARIES := librsjni LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.cfg LOCAL_PROGUARD_ENABLED := disabled LOCAL_REQUIRED_MODULES := privapp_whitelist_org.lineageos.eleven.xml include $(BUILD_PACKAGE) include $(CLEAR_VARS) LOCAL_MODULE := privapp_whitelist_org.lineageos.eleven.xml LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_TAGS := optional LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT_ETC)/permissions LOCAL_PRODUCT_MODULE := true LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT)