# Copyright 2023 The Dawn & Tint Authors
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
#    list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
#    this list of conditions and the following disclaimer in the documentation
#    and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its
#    contributors may be used to endorse or promote products derived from
#    this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

################################################################################
# File generated by 'tools/src/cmd/gen' using the template:
#   tools/src/cmd/gen/build/BUILD.bazel.tmpl
#
# To regenerate run: './tools/run gen'
#
#                       Do not modify this file directly
################################################################################

load("//src/tint:flags.bzl", "COPTS")
load("@bazel_skylib//lib:selects.bzl", "selects")
cc_library(
  name = "sem",
  srcs = [
    "accessor_expression.cc",
    "array.cc",
    "array_count.cc",
    "behavior.cc",
    "block_statement.cc",
    "break_if_statement.cc",
    "builtin_enum_expression.cc",
    "builtin_fn.cc",
    "call.cc",
    "call_target.cc",
    "expression.cc",
    "for_loop_statement.cc",
    "function.cc",
    "function_expression.cc",
    "if_statement.cc",
    "index_accessor_expression.cc",
    "info.cc",
    "load.cc",
    "loop_statement.cc",
    "materialize.cc",
    "member_accessor_expression.cc",
    "module.cc",
    "node.cc",
    "statement.cc",
    "struct.cc",
    "switch_statement.cc",
    "type_expression.cc",
    "value_constructor.cc",
    "value_conversion.cc",
    "value_expression.cc",
    "variable.cc",
    "while_statement.cc",
  ],
  hdrs = [
    "accessor_expression.h",
    "array.h",
    "array_count.h",
    "behavior.h",
    "block_statement.h",
    "break_if_statement.h",
    "builtin_enum_expression.h",
    "builtin_fn.h",
    "call.h",
    "call_target.h",
    "expression.h",
    "for_loop_statement.h",
    "function.h",
    "function_expression.h",
    "if_statement.h",
    "index_accessor_expression.h",
    "info.h",
    "load.h",
    "loop_statement.h",
    "materialize.h",
    "member_accessor_expression.h",
    "module.h",
    "node.h",
    "pipeline_stage_set.h",
    "sampler_texture_pair.h",
    "statement.h",
    "struct.h",
    "switch_statement.h",
    "type_expression.h",
    "type_mappings.h",
    "value_constructor.h",
    "value_conversion.h",
    "value_expression.h",
    "variable.h",
    "while_statement.h",
  ],
  deps = [
    "//src/tint/api/common",
    "//src/tint/lang/core",
    "//src/tint/lang/core/constant",
    "//src/tint/lang/core/intrinsic",
    "//src/tint/lang/core/type",
    "//src/tint/lang/wgsl",
    "//src/tint/lang/wgsl/ast",
    "//src/tint/lang/wgsl/features",
    "//src/tint/utils/containers",
    "//src/tint/utils/diagnostic",
    "//src/tint/utils/ice",
    "//src/tint/utils/id",
    "//src/tint/utils/macros",
    "//src/tint/utils/math",
    "//src/tint/utils/memory",
    "//src/tint/utils/reflection",
    "//src/tint/utils/result",
    "//src/tint/utils/rtti",
    "//src/tint/utils/symbol",
    "//src/tint/utils/text",
    "//src/tint/utils/traits",
    "//src/utils",
  ],
  copts = COPTS,
  visibility = ["//visibility:public"],
)
cc_library(
  name = "test",
  alwayslink = True,
  srcs = [
    "builtin_fn_test.cc",
    "diagnostic_severity_test.cc",
    "helper_test.h",
    "sampler_texture_pair_test.cc",
    "struct_test.cc",
    "value_expression_test.cc",
  ],
  deps = [
    "//src/tint/api/common",
    "//src/tint/lang/core",
    "//src/tint/lang/core/constant",
    "//src/tint/lang/core/type",
    "//src/tint/lang/wgsl",
    "//src/tint/lang/wgsl/ast",
    "//src/tint/lang/wgsl/common",
    "//src/tint/lang/wgsl/features",
    "//src/tint/lang/wgsl/program",
    "//src/tint/lang/wgsl/resolver",
    "//src/tint/lang/wgsl/sem",
    "//src/tint/utils/containers",
    "//src/tint/utils/diagnostic",
    "//src/tint/utils/ice",
    "//src/tint/utils/id",
    "//src/tint/utils/macros",
    "//src/tint/utils/math",
    "//src/tint/utils/memory",
    "//src/tint/utils/reflection",
    "//src/tint/utils/result",
    "//src/tint/utils/rtti",
    "//src/tint/utils/symbol",
    "//src/tint/utils/text",
    "//src/tint/utils/traits",
    "@gtest",
    "//src/utils",
  ],
  copts = COPTS,
  visibility = ["//visibility:public"],
)

