• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2024 Google LLC
2# SPDX-License-Identifier: Apache-2.0
3build = 'bazel'
4
5# Base project config which contain shared attributes which
6# all other projects must contain / override
7[base_project_config]
8name = 'base_project_config'
9inherits_from = ''
10
11[base_project_config.host_machine]
12cpu_family = ''
13cpu = ''
14host_machine = ''
15build_machine = ''
16
17[base_project_config.meson_options]
18platforms = ''
19gallium-drivers = ''
20vulkan-drivers = ''
21
22[base_project_config.header_not_supported]
23headers = []
24
25[base_project_config.symbol_not_supported]
26symbols = []
27
28[base_project_config.function_not_supported]
29functions = []
30
31[base_project_config.link_not_supported]
32links = []
33
34[base_project_config.ext_dependencies]
35# DependencyTargetType
36#   SHARED_LIBRARY = 1
37#   STATIC_LIBRARY = 2
38#   HEADER_LIBRARY = 3
39# See meson_impl.py
40
41[[project_config]]
42name = 'fuchsia_aarch64_drivers'
43inherits_from = 'base_project_config'
44
45[project_config.host_machine]
46cpu_family = 'aarch64'
47cpu = 'aarch64'
48host_machine = 'fuchsia'
49build_machine = 'linux'
50
51[project_config.meson_options]
52platforms = 'none'
53gallium-drivers = ''
54vulkan-drivers = 'freedreno'
55freedreno-kmds = 'magma'
56platform-sdk-version = 33
57shader-cache = 'disabled'
58
59[project_config.header_not_supported]
60headers = [
61    'sys/sysmacros.h',
62]
63
64[project_config.symbol_not_supported]
65symbols = [
66
67]
68
69[project_config.function_not_supported]
70functions = [
71    'getrandom',
72    'memfd_create',
73]
74
75[project_config.link_not_supported]
76links = [
77    'strtod has locale support',
78]
79
80[project_config.ext_dependencies]
81# DependencyTargetType
82#   SHARED_LIBRARY = 1
83#   STATIC_LIBRARY = 2
84#   HEADER_LIBRARY = 3
85# See meson_impl.py
86zlib = [
87    { target_name = '@zlib//:zlib', target_type = 2 }
88]
89libmagma = [
90    { target_name = '@fuchsia_sdk//pkg/magma_client', target_type = 2 }
91]
92libmagma_virt = [
93    # No targets
94]
95fuchsia_io = [
96    { target_name = '@fuchsia_sdk//fidl/fuchsia.io:fuchsia.io_cpp', target_type = 2 }
97]
98
99# Define new project configs
100# [[project_config]]
101