Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 1 | # Copyright 2023 The Dawn & Tint Authors |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 2 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 3 | # Redistribution and use in source and binary forms, with or without |
| 4 | # modification, are permitted provided that the following conditions are met: |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 5 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 6 | # 1. Redistributions of source code must retain the above copyright notice, this |
| 7 | # list of conditions and the following disclaimer. |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 8 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 9 | # 2. Redistributions in binary form must reproduce the above copyright notice, |
| 10 | # this list of conditions and the following disclaimer in the documentation |
| 11 | # and/or other materials provided with the distribution. |
| 12 | # |
| 13 | # 3. Neither the name of the copyright holder nor the names of its |
| 14 | # contributors may be used to endorse or promote products derived from |
| 15 | # this software without specific prior written permission. |
| 16 | # |
| 17 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 18 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 19 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 20 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 21 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 22 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 23 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 24 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 25 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 27 | |
| 28 | ################################################################################ |
Ben Clayton | 57ded6a | 2023-08-22 13:22:22 +0000 | [diff] [blame] | 29 | # File generated by 'tools/src/cmd/gen' using the template: |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 30 | # tools/src/cmd/gen/build/BUILD.cmake.tmpl |
| 31 | # |
Ben Clayton | 57ded6a | 2023-08-22 13:22:22 +0000 | [diff] [blame] | 32 | # To regenerate run: './tools/run gen' |
| 33 | # |
| 34 | # Do not modify this file directly |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 35 | ################################################################################ |
| 36 | |
| 37 | include(lang/wgsl/ast/transform/BUILD.cmake) |
| 38 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 39 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 40 | # Target: tint_lang_wgsl_ast |
| 41 | # Kind: lib |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 42 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 43 | tint_add_target(tint_lang_wgsl_ast lib |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 44 | lang/wgsl/ast/accessor_expression.cc |
| 45 | lang/wgsl/ast/accessor_expression.h |
| 46 | lang/wgsl/ast/alias.cc |
| 47 | lang/wgsl/ast/alias.h |
| 48 | lang/wgsl/ast/assignment_statement.cc |
| 49 | lang/wgsl/ast/assignment_statement.h |
| 50 | lang/wgsl/ast/attribute.cc |
| 51 | lang/wgsl/ast/attribute.h |
| 52 | lang/wgsl/ast/binary_expression.cc |
| 53 | lang/wgsl/ast/binary_expression.h |
| 54 | lang/wgsl/ast/binding_attribute.cc |
| 55 | lang/wgsl/ast/binding_attribute.h |
Corentin Wallez | 0880e06 | 2024-01-30 16:16:45 +0000 | [diff] [blame] | 56 | lang/wgsl/ast/blend_src_attribute.cc |
| 57 | lang/wgsl/ast/blend_src_attribute.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 58 | lang/wgsl/ast/block_statement.cc |
| 59 | lang/wgsl/ast/block_statement.h |
| 60 | lang/wgsl/ast/bool_literal_expression.cc |
| 61 | lang/wgsl/ast/bool_literal_expression.h |
| 62 | lang/wgsl/ast/break_if_statement.cc |
| 63 | lang/wgsl/ast/break_if_statement.h |
| 64 | lang/wgsl/ast/break_statement.cc |
| 65 | lang/wgsl/ast/break_statement.h |
| 66 | lang/wgsl/ast/builder.cc |
| 67 | lang/wgsl/ast/builder.h |
| 68 | lang/wgsl/ast/builtin_attribute.cc |
| 69 | lang/wgsl/ast/builtin_attribute.h |
| 70 | lang/wgsl/ast/call_expression.cc |
| 71 | lang/wgsl/ast/call_expression.h |
| 72 | lang/wgsl/ast/call_statement.cc |
| 73 | lang/wgsl/ast/call_statement.h |
| 74 | lang/wgsl/ast/case_selector.cc |
| 75 | lang/wgsl/ast/case_selector.h |
| 76 | lang/wgsl/ast/case_statement.cc |
| 77 | lang/wgsl/ast/case_statement.h |
| 78 | lang/wgsl/ast/clone_context.cc |
| 79 | lang/wgsl/ast/clone_context.h |
Ben Clayton | c36093e | 2023-11-10 09:46:24 +0000 | [diff] [blame] | 80 | lang/wgsl/ast/color_attribute.cc |
| 81 | lang/wgsl/ast/color_attribute.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 82 | lang/wgsl/ast/compound_assignment_statement.cc |
| 83 | lang/wgsl/ast/compound_assignment_statement.h |
| 84 | lang/wgsl/ast/const.cc |
| 85 | lang/wgsl/ast/const.h |
| 86 | lang/wgsl/ast/const_assert.cc |
| 87 | lang/wgsl/ast/const_assert.h |
| 88 | lang/wgsl/ast/continue_statement.cc |
| 89 | lang/wgsl/ast/continue_statement.h |
| 90 | lang/wgsl/ast/diagnostic_attribute.cc |
| 91 | lang/wgsl/ast/diagnostic_attribute.h |
| 92 | lang/wgsl/ast/diagnostic_control.cc |
| 93 | lang/wgsl/ast/diagnostic_control.h |
| 94 | lang/wgsl/ast/diagnostic_directive.cc |
| 95 | lang/wgsl/ast/diagnostic_directive.h |
| 96 | lang/wgsl/ast/diagnostic_rule_name.cc |
| 97 | lang/wgsl/ast/diagnostic_rule_name.h |
| 98 | lang/wgsl/ast/disable_validation_attribute.cc |
| 99 | lang/wgsl/ast/disable_validation_attribute.h |
| 100 | lang/wgsl/ast/discard_statement.cc |
| 101 | lang/wgsl/ast/discard_statement.h |
| 102 | lang/wgsl/ast/enable.cc |
| 103 | lang/wgsl/ast/enable.h |
| 104 | lang/wgsl/ast/expression.cc |
| 105 | lang/wgsl/ast/expression.h |
| 106 | lang/wgsl/ast/extension.cc |
| 107 | lang/wgsl/ast/extension.h |
| 108 | lang/wgsl/ast/float_literal_expression.cc |
| 109 | lang/wgsl/ast/float_literal_expression.h |
| 110 | lang/wgsl/ast/for_loop_statement.cc |
| 111 | lang/wgsl/ast/for_loop_statement.h |
| 112 | lang/wgsl/ast/function.cc |
| 113 | lang/wgsl/ast/function.h |
| 114 | lang/wgsl/ast/group_attribute.cc |
| 115 | lang/wgsl/ast/group_attribute.h |
| 116 | lang/wgsl/ast/id_attribute.cc |
| 117 | lang/wgsl/ast/id_attribute.h |
| 118 | lang/wgsl/ast/identifier.cc |
| 119 | lang/wgsl/ast/identifier.h |
| 120 | lang/wgsl/ast/identifier_expression.cc |
| 121 | lang/wgsl/ast/identifier_expression.h |
| 122 | lang/wgsl/ast/if_statement.cc |
| 123 | lang/wgsl/ast/if_statement.h |
| 124 | lang/wgsl/ast/increment_decrement_statement.cc |
| 125 | lang/wgsl/ast/increment_decrement_statement.h |
| 126 | lang/wgsl/ast/index_accessor_expression.cc |
| 127 | lang/wgsl/ast/index_accessor_expression.h |
Le Hoang Quyen | 59eb7f3 | 2024-05-23 15:44:53 +0000 | [diff] [blame] | 128 | lang/wgsl/ast/input_attachment_index_attribute.cc |
| 129 | lang/wgsl/ast/input_attachment_index_attribute.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 130 | lang/wgsl/ast/int_literal_expression.cc |
| 131 | lang/wgsl/ast/int_literal_expression.h |
| 132 | lang/wgsl/ast/internal_attribute.cc |
| 133 | lang/wgsl/ast/internal_attribute.h |
| 134 | lang/wgsl/ast/interpolate_attribute.cc |
| 135 | lang/wgsl/ast/interpolate_attribute.h |
| 136 | lang/wgsl/ast/invariant_attribute.cc |
| 137 | lang/wgsl/ast/invariant_attribute.h |
| 138 | lang/wgsl/ast/let.cc |
| 139 | lang/wgsl/ast/let.h |
| 140 | lang/wgsl/ast/literal_expression.cc |
| 141 | lang/wgsl/ast/literal_expression.h |
| 142 | lang/wgsl/ast/location_attribute.cc |
| 143 | lang/wgsl/ast/location_attribute.h |
| 144 | lang/wgsl/ast/loop_statement.cc |
| 145 | lang/wgsl/ast/loop_statement.h |
| 146 | lang/wgsl/ast/member_accessor_expression.cc |
| 147 | lang/wgsl/ast/member_accessor_expression.h |
| 148 | lang/wgsl/ast/module.cc |
| 149 | lang/wgsl/ast/module.h |
| 150 | lang/wgsl/ast/must_use_attribute.cc |
| 151 | lang/wgsl/ast/must_use_attribute.h |
| 152 | lang/wgsl/ast/node.cc |
| 153 | lang/wgsl/ast/node.h |
| 154 | lang/wgsl/ast/node_id.h |
| 155 | lang/wgsl/ast/override.cc |
| 156 | lang/wgsl/ast/override.h |
| 157 | lang/wgsl/ast/parameter.cc |
| 158 | lang/wgsl/ast/parameter.h |
| 159 | lang/wgsl/ast/phony_expression.cc |
| 160 | lang/wgsl/ast/phony_expression.h |
| 161 | lang/wgsl/ast/pipeline_stage.cc |
| 162 | lang/wgsl/ast/pipeline_stage.h |
James Price | 55b671b | 2023-11-02 15:03:02 +0000 | [diff] [blame] | 163 | lang/wgsl/ast/requires.cc |
| 164 | lang/wgsl/ast/requires.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 165 | lang/wgsl/ast/return_statement.cc |
| 166 | lang/wgsl/ast/return_statement.h |
James Price | 13559ed | 2024-09-19 22:29:39 +0000 | [diff] [blame] | 167 | lang/wgsl/ast/row_major_attribute.cc |
| 168 | lang/wgsl/ast/row_major_attribute.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 169 | lang/wgsl/ast/stage_attribute.cc |
| 170 | lang/wgsl/ast/stage_attribute.h |
| 171 | lang/wgsl/ast/statement.cc |
| 172 | lang/wgsl/ast/statement.h |
| 173 | lang/wgsl/ast/stride_attribute.cc |
| 174 | lang/wgsl/ast/stride_attribute.h |
| 175 | lang/wgsl/ast/struct.cc |
| 176 | lang/wgsl/ast/struct.h |
| 177 | lang/wgsl/ast/struct_member.cc |
| 178 | lang/wgsl/ast/struct_member.h |
| 179 | lang/wgsl/ast/struct_member_align_attribute.cc |
| 180 | lang/wgsl/ast/struct_member_align_attribute.h |
| 181 | lang/wgsl/ast/struct_member_offset_attribute.cc |
| 182 | lang/wgsl/ast/struct_member_offset_attribute.h |
| 183 | lang/wgsl/ast/struct_member_size_attribute.cc |
| 184 | lang/wgsl/ast/struct_member_size_attribute.h |
| 185 | lang/wgsl/ast/switch_statement.cc |
| 186 | lang/wgsl/ast/switch_statement.h |
| 187 | lang/wgsl/ast/templated_identifier.cc |
| 188 | lang/wgsl/ast/templated_identifier.h |
| 189 | lang/wgsl/ast/traverse_expressions.h |
| 190 | lang/wgsl/ast/type.cc |
| 191 | lang/wgsl/ast/type.h |
| 192 | lang/wgsl/ast/type_decl.cc |
| 193 | lang/wgsl/ast/type_decl.h |
| 194 | lang/wgsl/ast/unary_op_expression.cc |
| 195 | lang/wgsl/ast/unary_op_expression.h |
| 196 | lang/wgsl/ast/var.cc |
| 197 | lang/wgsl/ast/var.h |
| 198 | lang/wgsl/ast/variable.cc |
| 199 | lang/wgsl/ast/variable.h |
| 200 | lang/wgsl/ast/variable_decl_statement.cc |
| 201 | lang/wgsl/ast/variable_decl_statement.h |
| 202 | lang/wgsl/ast/while_statement.cc |
| 203 | lang/wgsl/ast/while_statement.h |
| 204 | lang/wgsl/ast/workgroup_attribute.cc |
| 205 | lang/wgsl/ast/workgroup_attribute.h |
| 206 | ) |
| 207 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 208 | tint_target_add_dependencies(tint_lang_wgsl_ast lib |
| 209 | tint_api_common |
| 210 | tint_lang_core |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 211 | tint_lang_core_type |
Ben Clayton | 1165389 | 2023-09-19 19:15:59 +0000 | [diff] [blame] | 212 | tint_lang_wgsl |
Ben Clayton | 3c54ba5 | 2023-11-28 21:36:08 +0000 | [diff] [blame] | 213 | tint_lang_wgsl_features |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 214 | tint_utils_containers |
| 215 | tint_utils_diagnostic |
| 216 | tint_utils_ice |
| 217 | tint_utils_id |
| 218 | tint_utils_macros |
| 219 | tint_utils_math |
| 220 | tint_utils_memory |
| 221 | tint_utils_reflection |
| 222 | tint_utils_result |
| 223 | tint_utils_rtti |
| 224 | tint_utils_symbol |
| 225 | tint_utils_text |
| 226 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 227 | ) |
| 228 | |
dan sinclair | d90557b | 2024-08-28 16:15:03 +0000 | [diff] [blame] | 229 | tint_target_add_external_dependencies(tint_lang_wgsl_ast lib |
| 230 | "src_utils" |
| 231 | ) |
| 232 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 233 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 234 | # Target: tint_lang_wgsl_ast_test |
| 235 | # Kind: test |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 236 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 237 | tint_add_target(tint_lang_wgsl_ast_test test |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 238 | lang/wgsl/ast/alias_test.cc |
| 239 | lang/wgsl/ast/assignment_statement_test.cc |
| 240 | lang/wgsl/ast/binary_expression_test.cc |
| 241 | lang/wgsl/ast/binding_attribute_test.cc |
Corentin Wallez | 0880e06 | 2024-01-30 16:16:45 +0000 | [diff] [blame] | 242 | lang/wgsl/ast/blend_src_attribute_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 243 | lang/wgsl/ast/block_statement_test.cc |
| 244 | lang/wgsl/ast/bool_literal_expression_test.cc |
| 245 | lang/wgsl/ast/break_if_statement_test.cc |
| 246 | lang/wgsl/ast/break_statement_test.cc |
| 247 | lang/wgsl/ast/builtin_attribute_test.cc |
| 248 | lang/wgsl/ast/builtin_texture_helper_test.cc |
| 249 | lang/wgsl/ast/builtin_texture_helper_test.h |
| 250 | lang/wgsl/ast/call_expression_test.cc |
| 251 | lang/wgsl/ast/call_statement_test.cc |
| 252 | lang/wgsl/ast/case_selector_test.cc |
| 253 | lang/wgsl/ast/case_statement_test.cc |
| 254 | lang/wgsl/ast/clone_context_test.cc |
Ben Clayton | c36093e | 2023-11-10 09:46:24 +0000 | [diff] [blame] | 255 | lang/wgsl/ast/color_attribute_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 256 | lang/wgsl/ast/compound_assignment_statement_test.cc |
| 257 | lang/wgsl/ast/const_assert_test.cc |
| 258 | lang/wgsl/ast/continue_statement_test.cc |
| 259 | lang/wgsl/ast/diagnostic_attribute_test.cc |
| 260 | lang/wgsl/ast/diagnostic_control_test.cc |
| 261 | lang/wgsl/ast/diagnostic_directive_test.cc |
| 262 | lang/wgsl/ast/diagnostic_rule_name_test.cc |
| 263 | lang/wgsl/ast/discard_statement_test.cc |
| 264 | lang/wgsl/ast/enable_test.cc |
| 265 | lang/wgsl/ast/float_literal_expression_test.cc |
| 266 | lang/wgsl/ast/for_loop_statement_test.cc |
| 267 | lang/wgsl/ast/function_test.cc |
| 268 | lang/wgsl/ast/group_attribute_test.cc |
| 269 | lang/wgsl/ast/helper_test.cc |
| 270 | lang/wgsl/ast/helper_test.h |
| 271 | lang/wgsl/ast/id_attribute_test.cc |
| 272 | lang/wgsl/ast/identifier_expression_test.cc |
| 273 | lang/wgsl/ast/identifier_test.cc |
| 274 | lang/wgsl/ast/if_statement_test.cc |
| 275 | lang/wgsl/ast/increment_decrement_statement_test.cc |
| 276 | lang/wgsl/ast/index_accessor_expression_test.cc |
Le Hoang Quyen | 59eb7f3 | 2024-05-23 15:44:53 +0000 | [diff] [blame] | 277 | lang/wgsl/ast/input_attachment_index_attribute_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 278 | lang/wgsl/ast/int_literal_expression_test.cc |
| 279 | lang/wgsl/ast/interpolate_attribute_test.cc |
| 280 | lang/wgsl/ast/location_attribute_test.cc |
| 281 | lang/wgsl/ast/loop_statement_test.cc |
| 282 | lang/wgsl/ast/member_accessor_expression_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 283 | lang/wgsl/ast/module_test.cc |
| 284 | lang/wgsl/ast/phony_expression_test.cc |
James Price | 55b671b | 2023-11-02 15:03:02 +0000 | [diff] [blame] | 285 | lang/wgsl/ast/requires_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 286 | lang/wgsl/ast/return_statement_test.cc |
| 287 | lang/wgsl/ast/stage_attribute_test.cc |
| 288 | lang/wgsl/ast/stride_attribute_test.cc |
| 289 | lang/wgsl/ast/struct_member_align_attribute_test.cc |
| 290 | lang/wgsl/ast/struct_member_offset_attribute_test.cc |
| 291 | lang/wgsl/ast/struct_member_size_attribute_test.cc |
| 292 | lang/wgsl/ast/struct_member_test.cc |
| 293 | lang/wgsl/ast/struct_test.cc |
| 294 | lang/wgsl/ast/switch_statement_test.cc |
| 295 | lang/wgsl/ast/templated_identifier_test.cc |
| 296 | lang/wgsl/ast/traverse_expressions_test.cc |
| 297 | lang/wgsl/ast/unary_op_expression_test.cc |
| 298 | lang/wgsl/ast/variable_decl_statement_test.cc |
| 299 | lang/wgsl/ast/variable_test.cc |
| 300 | lang/wgsl/ast/while_statement_test.cc |
| 301 | lang/wgsl/ast/workgroup_attribute_test.cc |
| 302 | ) |
| 303 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 304 | tint_target_add_dependencies(tint_lang_wgsl_ast_test test |
| 305 | tint_api_common |
| 306 | tint_lang_core |
| 307 | tint_lang_core_constant |
Ben Clayton | dfc815c | 2023-09-25 15:38:43 +0000 | [diff] [blame] | 308 | tint_lang_core_ir |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 309 | tint_lang_core_type |
Ben Clayton | 1165389 | 2023-09-19 19:15:59 +0000 | [diff] [blame] | 310 | tint_lang_wgsl |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 311 | tint_lang_wgsl_ast |
James Price | 78da664 | 2023-11-06 18:42:21 +0000 | [diff] [blame] | 312 | tint_lang_wgsl_common |
Ben Clayton | 3c54ba5 | 2023-11-28 21:36:08 +0000 | [diff] [blame] | 313 | tint_lang_wgsl_features |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 314 | tint_lang_wgsl_program |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 315 | tint_lang_wgsl_resolver |
| 316 | tint_lang_wgsl_sem |
James Price | fb728a3 | 2023-12-12 01:07:35 +0000 | [diff] [blame] | 317 | tint_lang_wgsl_writer_ir_to_program |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 318 | tint_utils_containers |
| 319 | tint_utils_diagnostic |
| 320 | tint_utils_ice |
| 321 | tint_utils_id |
| 322 | tint_utils_macros |
| 323 | tint_utils_math |
| 324 | tint_utils_memory |
| 325 | tint_utils_reflection |
| 326 | tint_utils_result |
| 327 | tint_utils_rtti |
| 328 | tint_utils_symbol |
| 329 | tint_utils_text |
| 330 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 331 | ) |
Ben Clayton | 7545f95 | 2023-08-17 09:53:58 +0000 | [diff] [blame] | 332 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 333 | tint_target_add_external_dependencies(tint_lang_wgsl_ast_test test |
Ben Clayton | 7545f95 | 2023-08-17 09:53:58 +0000 | [diff] [blame] | 334 | "gtest" |
dan sinclair | d90557b | 2024-08-28 16:15:03 +0000 | [diff] [blame] | 335 | "src_utils" |
Ben Clayton | 7545f95 | 2023-08-17 09:53:58 +0000 | [diff] [blame] | 336 | ) |
Ben Clayton | 2550b49 | 2023-10-11 10:41:12 +0000 | [diff] [blame] | 337 | |
Ben Clayton | 80b987e | 2023-10-11 14:28:15 +0000 | [diff] [blame] | 338 | if(TINT_BUILD_WGSL_READER) |
| 339 | tint_target_add_dependencies(tint_lang_wgsl_ast_test test |
| 340 | tint_lang_wgsl_reader |
| 341 | ) |
| 342 | endif(TINT_BUILD_WGSL_READER) |
| 343 | |
Ben Clayton | 2550b49 | 2023-10-11 10:41:12 +0000 | [diff] [blame] | 344 | if(TINT_BUILD_WGSL_READER AND TINT_BUILD_WGSL_WRITER) |
| 345 | tint_target_add_sources(tint_lang_wgsl_ast_test test |
| 346 | "lang/wgsl/ast/module_clone_test.cc" |
| 347 | ) |
| 348 | endif(TINT_BUILD_WGSL_READER AND TINT_BUILD_WGSL_WRITER) |
| 349 | |
| 350 | if(TINT_BUILD_WGSL_WRITER) |
| 351 | tint_target_add_dependencies(tint_lang_wgsl_ast_test test |
| 352 | tint_lang_wgsl_writer |
| 353 | ) |
| 354 | endif(TINT_BUILD_WGSL_WRITER) |