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#
16ifeq (,$(filter %comet23,$(PRODUCT_NAME)))
17
18TARGET_BOARD_INFO_FILE := device/google/comet/board-info.txt
19TARGET_BOOTLOADER_BOARD_NAME := comet
20TARGET_SCREEN_DENSITY := 390
21BOARD_USES_GENERIC_AUDIO := true
22USES_DEVICE_GOOGLE_COMET := true
23
24RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_COMET_RADIO_DIR)
25RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_COMET_RADIOCFG_DIR)
26RELEASE_GOOGLE_PRODUCT_NTNRADIO_DIR := $(RELEASE_GOOGLE_COMET_NTNRADIO_DIR)
27
28#Display
29USES_IDISPLAY_INTF_SEC := true
30
31include device/google/zumapro/BoardConfig-common.mk
32-include vendor/google_devices/zumapro/prebuilts/BoardConfigVendor.mk
33include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
34-include vendor/google_devices/comet/proprietary/BoardConfigVendor.mk
35include device/google/comet-sepolicy/comet-sepolicy.mk
36include device/google/comet/wifi/BoardConfig-wifi.mk
37
38ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
39-include device/google/common/etm/6_1/BoardUserdebugModules.mk
40endif
41
42else
43
44include device/google/comet23/comet23/BoardConfig.mk
45
46endif
47