• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2022 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17#
18# TODO (b/212486689): The minimum system stuff for build pass.
19#
20$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
21$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
22
23#
24# Build GKI boot images
25#
26include device/generic/common/gki_common.mk
27
28PRODUCT_COPY_FILES += \
29    kernel/prebuilts/4.19/arm64/kernel-4.19:kernel-4.19 \
30    kernel/prebuilts/4.19/arm64/kernel-4.19-gz:kernel-4.19-gz \
31    kernel/prebuilts/4.19/arm64/kernel-4.19-lz4:kernel-4.19-lz4 \
32
33$(call dist-for-goals,dist_files,kernel/prebuilts/4.19/arm64/prebuilt-info.txt:kernel/4.19/prebuilt-info.txt)
34
35ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
36PRODUCT_COPY_FILES += \
37    kernel/prebuilts/4.19/arm64/kernel-4.19-allsyms:kernel-4.19-allsyms \
38    kernel/prebuilts/4.19/arm64/kernel-4.19-gz-allsyms:kernel-4.19-gz-allsyms \
39    kernel/prebuilts/4.19/arm64/kernel-4.19-lz4-allsyms:kernel-4.19-lz4-allsyms \
40
41$(call dist-for-goals,dist_files,kernel/prebuilts/4.19/arm64/prebuilt-info.txt:kernel/4.19-debug/prebuilt-info.txt)
42
43endif
44
45
46PRODUCT_NAME := gki419_arm64
47PRODUCT_DEVICE := gki419_arm64
48PRODUCT_BRAND := Android
49PRODUCT_MODEL := GKI on ARM64
50