xref: /aosp_15_r20/external/mesa3d/meson_to_hermetic/fuchsia.toml (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1# Copyright 2024 Google LLC
2# SPDX-License-Identifier: Apache-2.0
3build = 'bazel'
4
5[[project_config]]
6name = 'fuchsia_aarch64_drivers'
7
8[project_config.host_machine]
9cpu_family = 'aarch64'
10cpu = 'aarch64'
11host_machine = 'fuchsia'
12build_machine = 'linux'
13
14[project_config.meson_options]
15platforms = 'none'
16gallium-drivers = ''
17vulkan-drivers = 'freedreno'
18freedreno-kmds = 'magma'
19platform-sdk-version = 33
20shader-cache = 'disabled'
21
22[project_config.header_not_supported]
23headers = [
24    'sys/sysmacros.h',
25]
26
27[project_config.symbol_not_supported]
28symbols = [
29
30]
31
32[project_config.function_not_supported]
33functions = [
34    'getrandom',
35    'memfd_create',
36]
37
38[project_config.link_not_supported]
39links = [
40    'strtod has locale support',
41]
42
43[project_config.ext_dependencies]
44# DependencyTargetType
45#   SHARED_LIBRARY = 1
46#   STATIC_LIBRARY = 2
47#   HEADER_LIBRARY = 3
48# See meson_impl.py
49zlib = [
50    { target_name = '@zlib//:zlib', target_type = 2 }
51]
52libmagma = [
53    { target_name = '@fuchsia_sdk//pkg/magma_client', target_type = 2 }
54]
55libmagma_virt = [
56    # No targets
57]
58
59# Define new project configs
60# [[project_config]]
61