Android R support

This commit is contained in:
Ziyang Zhou
2021-05-08 14:25:55 +00:00
commit 7f2cd6d5a8
11 changed files with 392 additions and 0 deletions

30
redroid_arm64.mk Normal file
View File

@@ -0,0 +1,30 @@
# Copyright (C) 2012 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.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
$(call inherit-product, $(LOCAL_PATH)/redroid.mk)
# overrides
PRODUCT_NAME := redroid_arm64
PRODUCT_DEVICE := redroid_arm64
PRODUCT_BRAND := ReDroid
PRODUCT_MODEL := ReDroid
PRODUCT_PACKAGE_OVERLAYS := $(LOCAL_PATH)/overlay
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init.redroid.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.redroid.rc \