• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2020 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# This makefile installs contents of the generic ramdisk.
18# Inherit from this makefile to declare that this product uses generic ramdisk.
19# This makefile checks that other makefiles must not install things to the
20# ramdisk.
21
22# Ramdisk
23PRODUCT_PACKAGES += \
24    init_first_stage \
25    snapuserd_ramdisk \
26    ramdisk-build.prop \
27    toolbox_ramdisk \
28
29# Debug ramdisk
30PRODUCT_PACKAGES += \
31    adb_debug.prop \
32    userdebug_plat_sepolicy.cil \
33
34
35# For targets using dedicated recovery partition, generic ramdisk
36# might be relocated to recovery partition
37_my_paths := \
38    $(TARGET_COPY_OUT_RAMDISK)/ \
39    $(TARGET_COPY_OUT_DEBUG_RAMDISK)/ \
40    $(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/system \
41
42
43# We use the "relaxed" version here because tzdata / tz_version is only produced
44# by this makefile on a subset of devices.
45# TODO: remove this
46$(call require-artifacts-in-path-relaxed, $(_my_paths), )
47