blob: e96ed7902f284c6905f854686b357ee4cd2bd944 [file] [log] [blame]
# Copyright 2023 The Tint Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
# File generated by tools/src/cmd/gen
# using the template:
# tools/src/cmd/gen/build/BUILD.cmake.tmpl
#
# Do not modify this file directly
################################################################################
include(lang/wgsl/ast/transform/BUILD.cmake)
tint_add_target("lang/wgsl/ast"
lang/wgsl/ast/accessor_expression.cc
lang/wgsl/ast/accessor_expression.h
lang/wgsl/ast/alias.cc
lang/wgsl/ast/alias.h
lang/wgsl/ast/assignment_statement.cc
lang/wgsl/ast/assignment_statement.h
lang/wgsl/ast/attribute.cc
lang/wgsl/ast/attribute.h
lang/wgsl/ast/binary_expression.cc
lang/wgsl/ast/binary_expression.h
lang/wgsl/ast/binding_attribute.cc
lang/wgsl/ast/binding_attribute.h
lang/wgsl/ast/bitcast_expression.cc
lang/wgsl/ast/bitcast_expression.h
lang/wgsl/ast/block_statement.cc
lang/wgsl/ast/block_statement.h
lang/wgsl/ast/bool_literal_expression.cc
lang/wgsl/ast/bool_literal_expression.h
lang/wgsl/ast/break_if_statement.cc
lang/wgsl/ast/break_if_statement.h
lang/wgsl/ast/break_statement.cc
lang/wgsl/ast/break_statement.h
lang/wgsl/ast/builder.cc
lang/wgsl/ast/builder.h
lang/wgsl/ast/builtin_attribute.cc
lang/wgsl/ast/builtin_attribute.h
lang/wgsl/ast/call_expression.cc
lang/wgsl/ast/call_expression.h
lang/wgsl/ast/call_statement.cc
lang/wgsl/ast/call_statement.h
lang/wgsl/ast/case_selector.cc
lang/wgsl/ast/case_selector.h
lang/wgsl/ast/case_statement.cc
lang/wgsl/ast/case_statement.h
lang/wgsl/ast/clone_context.cc
lang/wgsl/ast/clone_context.h
lang/wgsl/ast/compound_assignment_statement.cc
lang/wgsl/ast/compound_assignment_statement.h
lang/wgsl/ast/const.cc
lang/wgsl/ast/const.h
lang/wgsl/ast/const_assert.cc
lang/wgsl/ast/const_assert.h
lang/wgsl/ast/continue_statement.cc
lang/wgsl/ast/continue_statement.h
lang/wgsl/ast/diagnostic_attribute.cc
lang/wgsl/ast/diagnostic_attribute.h
lang/wgsl/ast/diagnostic_control.cc
lang/wgsl/ast/diagnostic_control.h
lang/wgsl/ast/diagnostic_directive.cc
lang/wgsl/ast/diagnostic_directive.h
lang/wgsl/ast/diagnostic_rule_name.cc
lang/wgsl/ast/diagnostic_rule_name.h
lang/wgsl/ast/disable_validation_attribute.cc
lang/wgsl/ast/disable_validation_attribute.h
lang/wgsl/ast/discard_statement.cc
lang/wgsl/ast/discard_statement.h
lang/wgsl/ast/enable.cc
lang/wgsl/ast/enable.h
lang/wgsl/ast/expression.cc
lang/wgsl/ast/expression.h
lang/wgsl/ast/extension.cc
lang/wgsl/ast/extension.h
lang/wgsl/ast/float_literal_expression.cc
lang/wgsl/ast/float_literal_expression.h
lang/wgsl/ast/for_loop_statement.cc
lang/wgsl/ast/for_loop_statement.h
lang/wgsl/ast/function.cc
lang/wgsl/ast/function.h
lang/wgsl/ast/group_attribute.cc
lang/wgsl/ast/group_attribute.h
lang/wgsl/ast/id_attribute.cc
lang/wgsl/ast/id_attribute.h
lang/wgsl/ast/identifier.cc
lang/wgsl/ast/identifier.h
lang/wgsl/ast/identifier_expression.cc
lang/wgsl/ast/identifier_expression.h
lang/wgsl/ast/if_statement.cc
lang/wgsl/ast/if_statement.h
lang/wgsl/ast/increment_decrement_statement.cc
lang/wgsl/ast/increment_decrement_statement.h
lang/wgsl/ast/index_accessor_expression.cc
lang/wgsl/ast/index_accessor_expression.h
lang/wgsl/ast/index_attribute.cc
lang/wgsl/ast/index_attribute.h
lang/wgsl/ast/int_literal_expression.cc
lang/wgsl/ast/int_literal_expression.h
lang/wgsl/ast/internal_attribute.cc
lang/wgsl/ast/internal_attribute.h
lang/wgsl/ast/interpolate_attribute.cc
lang/wgsl/ast/interpolate_attribute.h
lang/wgsl/ast/invariant_attribute.cc
lang/wgsl/ast/invariant_attribute.h
lang/wgsl/ast/let.cc
lang/wgsl/ast/let.h
lang/wgsl/ast/literal_expression.cc
lang/wgsl/ast/literal_expression.h
lang/wgsl/ast/location_attribute.cc
lang/wgsl/ast/location_attribute.h
lang/wgsl/ast/loop_statement.cc
lang/wgsl/ast/loop_statement.h
lang/wgsl/ast/member_accessor_expression.cc
lang/wgsl/ast/member_accessor_expression.h
lang/wgsl/ast/module.cc
lang/wgsl/ast/module.h
lang/wgsl/ast/must_use_attribute.cc
lang/wgsl/ast/must_use_attribute.h
lang/wgsl/ast/node.cc
lang/wgsl/ast/node.h
lang/wgsl/ast/node_id.h
lang/wgsl/ast/override.cc
lang/wgsl/ast/override.h
lang/wgsl/ast/parameter.cc
lang/wgsl/ast/parameter.h
lang/wgsl/ast/phony_expression.cc
lang/wgsl/ast/phony_expression.h
lang/wgsl/ast/pipeline_stage.cc
lang/wgsl/ast/pipeline_stage.h
lang/wgsl/ast/return_statement.cc
lang/wgsl/ast/return_statement.h
lang/wgsl/ast/stage_attribute.cc
lang/wgsl/ast/stage_attribute.h
lang/wgsl/ast/statement.cc
lang/wgsl/ast/statement.h
lang/wgsl/ast/stride_attribute.cc
lang/wgsl/ast/stride_attribute.h
lang/wgsl/ast/struct.cc
lang/wgsl/ast/struct.h
lang/wgsl/ast/struct_member.cc
lang/wgsl/ast/struct_member.h
lang/wgsl/ast/struct_member_align_attribute.cc
lang/wgsl/ast/struct_member_align_attribute.h
lang/wgsl/ast/struct_member_offset_attribute.cc
lang/wgsl/ast/struct_member_offset_attribute.h
lang/wgsl/ast/struct_member_size_attribute.cc
lang/wgsl/ast/struct_member_size_attribute.h
lang/wgsl/ast/switch_statement.cc
lang/wgsl/ast/switch_statement.h
lang/wgsl/ast/templated_identifier.cc
lang/wgsl/ast/templated_identifier.h
lang/wgsl/ast/traverse_expressions.h
lang/wgsl/ast/type.cc
lang/wgsl/ast/type.h
lang/wgsl/ast/type_decl.cc
lang/wgsl/ast/type_decl.h
lang/wgsl/ast/unary_op_expression.cc
lang/wgsl/ast/unary_op_expression.h
lang/wgsl/ast/var.cc
lang/wgsl/ast/var.h
lang/wgsl/ast/variable.cc
lang/wgsl/ast/variable.h
lang/wgsl/ast/variable_decl_statement.cc
lang/wgsl/ast/variable_decl_statement.h
lang/wgsl/ast/while_statement.cc
lang/wgsl/ast/while_statement.h
lang/wgsl/ast/workgroup_attribute.cc
lang/wgsl/ast/workgroup_attribute.h
)
tint_target_add_dependencies("lang/wgsl/ast"
"api/common"
"lang/core"
"lang/core/constant"
"lang/core/type"
"utils/containers"
"utils/diagnostic"
"utils/ice"
"utils/id"
"utils/macros"
"utils/math"
"utils/memory"
"utils/reflection"
"utils/result"
"utils/rtti"
"utils/symbol"
"utils/text"
"utils/traits"
)
tint_add_target("lang/wgsl/ast:test"
lang/wgsl/ast/alias_test.cc
lang/wgsl/ast/assignment_statement_test.cc
lang/wgsl/ast/binary_expression_test.cc
lang/wgsl/ast/binding_attribute_test.cc
lang/wgsl/ast/bitcast_expression_test.cc
lang/wgsl/ast/block_statement_test.cc
lang/wgsl/ast/bool_literal_expression_test.cc
lang/wgsl/ast/break_if_statement_test.cc
lang/wgsl/ast/break_statement_test.cc
lang/wgsl/ast/builtin_attribute_test.cc
lang/wgsl/ast/builtin_texture_helper_test.cc
lang/wgsl/ast/builtin_texture_helper_test.h
lang/wgsl/ast/call_expression_test.cc
lang/wgsl/ast/call_statement_test.cc
lang/wgsl/ast/case_selector_test.cc
lang/wgsl/ast/case_statement_test.cc
lang/wgsl/ast/clone_context_test.cc
lang/wgsl/ast/compound_assignment_statement_test.cc
lang/wgsl/ast/const_assert_test.cc
lang/wgsl/ast/continue_statement_test.cc
lang/wgsl/ast/diagnostic_attribute_test.cc
lang/wgsl/ast/diagnostic_control_test.cc
lang/wgsl/ast/diagnostic_directive_test.cc
lang/wgsl/ast/diagnostic_rule_name_test.cc
lang/wgsl/ast/discard_statement_test.cc
lang/wgsl/ast/enable_test.cc
lang/wgsl/ast/float_literal_expression_test.cc
lang/wgsl/ast/for_loop_statement_test.cc
lang/wgsl/ast/function_test.cc
lang/wgsl/ast/group_attribute_test.cc
lang/wgsl/ast/helper_test.cc
lang/wgsl/ast/helper_test.h
lang/wgsl/ast/id_attribute_test.cc
lang/wgsl/ast/identifier_expression_test.cc
lang/wgsl/ast/identifier_test.cc
lang/wgsl/ast/if_statement_test.cc
lang/wgsl/ast/increment_decrement_statement_test.cc
lang/wgsl/ast/index_accessor_expression_test.cc
lang/wgsl/ast/index_attribute_test.cc
lang/wgsl/ast/int_literal_expression_test.cc
lang/wgsl/ast/interpolate_attribute_test.cc
lang/wgsl/ast/location_attribute_test.cc
lang/wgsl/ast/loop_statement_test.cc
lang/wgsl/ast/member_accessor_expression_test.cc
lang/wgsl/ast/module_clone_test.cc
lang/wgsl/ast/module_test.cc
lang/wgsl/ast/phony_expression_test.cc
lang/wgsl/ast/return_statement_test.cc
lang/wgsl/ast/stage_attribute_test.cc
lang/wgsl/ast/stride_attribute_test.cc
lang/wgsl/ast/struct_member_align_attribute_test.cc
lang/wgsl/ast/struct_member_offset_attribute_test.cc
lang/wgsl/ast/struct_member_size_attribute_test.cc
lang/wgsl/ast/struct_member_test.cc
lang/wgsl/ast/struct_test.cc
lang/wgsl/ast/switch_statement_test.cc
lang/wgsl/ast/templated_identifier_test.cc
lang/wgsl/ast/traverse_expressions_test.cc
lang/wgsl/ast/unary_op_expression_test.cc
lang/wgsl/ast/variable_decl_statement_test.cc
lang/wgsl/ast/variable_test.cc
lang/wgsl/ast/while_statement_test.cc
lang/wgsl/ast/workgroup_attribute_test.cc
)
tint_target_add_dependencies("lang/wgsl/ast:test"
"api/common"
"lang/core"
"lang/core/constant"
"lang/core/type"
"lang/wgsl/ast"
"lang/wgsl/ast/transform"
"lang/wgsl/program"
"lang/wgsl/reader"
"lang/wgsl/resolver"
"lang/wgsl/sem"
"lang/wgsl/writer"
"utils/containers"
"utils/diagnostic"
"utils/ice"
"utils/id"
"utils/macros"
"utils/math"
"utils/memory"
"utils/reflection"
"utils/result"
"utils/rtti"
"utils/symbol"
"utils/text"
"utils/traits"
)