Amit Pundir | 6749c91 | 2023-09-12 10:52:20 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2013 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 | BOARD_GPU_DRIVERS := freedreno |
| 18 | ifeq ($(TARGET_BUILD_MESA),true) |
| 19 | BOARD_MESA3D_USES_MESON_BUILD := true |
| 20 | BOARD_MESA3D_GALLIUM_DRIVERS := freedreno |
| 21 | BOARD_MESA3D_VULKAN_DRIVERS := freedreno |
| 22 | else |
| 23 | BOARD_USE_CUSTOMIZED_MESA := true |
| 24 | endif |