1#
2# Copyright (C) 2019 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# All components inherited here go to system image
19#
20$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
21$(call enforce-product-packages-exist,)
22
23# Enable mainline checking
24PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true
25
26PRODUCT_BUILD_CACHE_IMAGE := false
27PRODUCT_BUILD_ODM_IMAGE := false
28PRODUCT_BUILD_VENDOR_DLKM_IMAGE := false
29PRODUCT_BUILD_ODM_DLKM_IMAGE := false
30PRODUCT_BUILD_PRODUCT_IMAGE  := false
31PRODUCT_BUILD_RAMDISK_IMAGE := false
32PRODUCT_BUILD_SYSTEM_IMAGE := true
33PRODUCT_BUILD_SYSTEM_EXT_IMAGE := false
34PRODUCT_BUILD_SYSTEM_OTHER_IMAGE := false
35PRODUCT_BUILD_USERDATA_IMAGE := false
36PRODUCT_BUILD_VENDOR_IMAGE := false
37
38PRODUCT_SHIPPING_API_LEVEL := 29
39
40# TODO(b/137033385): change this back to "all"
41PRODUCT_RESTRICT_VENDOR_FILES := owner
42
43PRODUCT_NAME := mainline_system_x86
44PRODUCT_DEVICE := mainline_x86
45PRODUCT_BRAND := generic
46