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 | |
dan sinclair | cd5a5e9 | 2024-06-06 02:09:13 +0000 | [diff] [blame] | 37 | include(lang/core/common/BUILD.cmake) |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 38 | include(lang/core/constant/BUILD.cmake) |
| 39 | include(lang/core/intrinsic/BUILD.cmake) |
| 40 | include(lang/core/ir/BUILD.cmake) |
| 41 | include(lang/core/type/BUILD.cmake) |
| 42 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 43 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 44 | # Target: tint_lang_core |
| 45 | # Kind: lib |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 46 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 47 | tint_add_target(tint_lang_core lib |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 48 | lang/core/access.cc |
| 49 | lang/core/access.h |
| 50 | lang/core/address_space.cc |
| 51 | lang/core/address_space.h |
| 52 | lang/core/attribute.cc |
| 53 | lang/core/attribute.h |
| 54 | lang/core/binary_op.cc |
| 55 | lang/core/binary_op.h |
Ben Clayton | d9766dc | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 56 | lang/core/builtin_fn.cc |
| 57 | lang/core/builtin_fn.h |
Ben Clayton | 0a7aa0c | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 58 | lang/core/builtin_type.cc |
| 59 | lang/core/builtin_type.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 60 | lang/core/builtin_value.cc |
| 61 | lang/core/builtin_value.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 62 | lang/core/evaluation_stage.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 63 | lang/core/fluent_types.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 64 | lang/core/interpolation.h |
| 65 | lang/core/interpolation_sampling.cc |
| 66 | lang/core/interpolation_sampling.h |
| 67 | lang/core/interpolation_type.cc |
| 68 | lang/core/interpolation_type.h |
James Price | a8798b8 | 2024-07-04 16:31:11 +0000 | [diff] [blame] | 69 | lang/core/io_attributes.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 70 | lang/core/number.cc |
| 71 | lang/core/number.h |
| 72 | lang/core/parameter_usage.cc |
| 73 | lang/core/parameter_usage.h |
dan sinclair | 23fa64f | 2024-08-19 22:50:10 +0000 | [diff] [blame] | 74 | lang/core/subgroup_matrix_kind.cc |
| 75 | lang/core/subgroup_matrix_kind.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 76 | lang/core/texel_format.cc |
| 77 | lang/core/texel_format.h |
| 78 | lang/core/unary_op.cc |
| 79 | lang/core/unary_op.h |
| 80 | ) |
| 81 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 82 | tint_target_add_dependencies(tint_lang_core lib |
Ben Clayton | 16fb254 | 2023-09-25 11:43:19 +0000 | [diff] [blame] | 83 | tint_utils_containers |
| 84 | tint_utils_diagnostic |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 85 | tint_utils_ice |
| 86 | tint_utils_macros |
Ben Clayton | 16fb254 | 2023-09-25 11:43:19 +0000 | [diff] [blame] | 87 | tint_utils_math |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 88 | tint_utils_memory |
dan sinclair | 2fe1f26 | 2024-01-09 16:17:56 +0000 | [diff] [blame] | 89 | tint_utils_reflection |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 90 | tint_utils_result |
Ben Clayton | 16fb254 | 2023-09-25 11:43:19 +0000 | [diff] [blame] | 91 | tint_utils_rtti |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 92 | tint_utils_text |
| 93 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 94 | ) |
| 95 | |
dan sinclair | d90557b | 2024-08-28 16:15:03 +0000 | [diff] [blame] | 96 | tint_target_add_external_dependencies(tint_lang_core lib |
| 97 | "src_utils" |
| 98 | ) |
| 99 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 100 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 101 | # Target: tint_lang_core_test |
| 102 | # Kind: test |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 103 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 104 | tint_add_target(tint_lang_core_test test |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 105 | lang/core/access_test.cc |
| 106 | lang/core/address_space_test.cc |
| 107 | lang/core/attribute_test.cc |
Ben Clayton | 0a7aa0c | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 108 | lang/core/builtin_type_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 109 | lang/core/builtin_value_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 110 | lang/core/interpolation_sampling_test.cc |
| 111 | lang/core/interpolation_type_test.cc |
| 112 | lang/core/number_test.cc |
| 113 | lang/core/texel_format_test.cc |
| 114 | ) |
| 115 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 116 | tint_target_add_dependencies(tint_lang_core_test test |
| 117 | tint_api_common |
| 118 | tint_lang_core |
| 119 | tint_lang_core_constant |
| 120 | tint_lang_core_type |
Ben Clayton | 1165389 | 2023-09-19 19:15:59 +0000 | [diff] [blame] | 121 | tint_lang_wgsl |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 122 | tint_lang_wgsl_ast |
Ben Clayton | 3c54ba5 | 2023-11-28 21:36:08 +0000 | [diff] [blame] | 123 | tint_lang_wgsl_features |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 124 | tint_lang_wgsl_program |
| 125 | tint_lang_wgsl_sem |
| 126 | tint_utils_containers |
| 127 | tint_utils_diagnostic |
| 128 | tint_utils_ice |
| 129 | tint_utils_id |
| 130 | tint_utils_macros |
| 131 | tint_utils_math |
| 132 | tint_utils_memory |
| 133 | tint_utils_reflection |
| 134 | tint_utils_result |
| 135 | tint_utils_rtti |
| 136 | tint_utils_symbol |
| 137 | tint_utils_text |
| 138 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 139 | ) |
| 140 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 141 | tint_target_add_external_dependencies(tint_lang_core_test test |
Ben Clayton | 7545f95 | 2023-08-17 09:53:58 +0000 | [diff] [blame] | 142 | "gtest" |
dan sinclair | d90557b | 2024-08-28 16:15:03 +0000 | [diff] [blame] | 143 | "src_utils" |
Ben Clayton | 7545f95 | 2023-08-17 09:53:58 +0000 | [diff] [blame] | 144 | ) |
| 145 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 146 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 147 | # Target: tint_lang_core_bench |
| 148 | # Kind: bench |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 149 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 150 | tint_add_target(tint_lang_core_bench bench |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 151 | lang/core/access_bench.cc |
| 152 | lang/core/address_space_bench.cc |
| 153 | lang/core/attribute_bench.cc |
Ben Clayton | 0a7aa0c | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 154 | lang/core/builtin_type_bench.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 155 | lang/core/builtin_value_bench.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 156 | lang/core/interpolation_sampling_bench.cc |
| 157 | lang/core/interpolation_type_bench.cc |
| 158 | lang/core/texel_format_bench.cc |
| 159 | ) |
| 160 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 161 | tint_target_add_dependencies(tint_lang_core_bench bench |
| 162 | tint_lang_core |
Ben Clayton | f1dc9e3 | 2024-02-08 17:47:19 +0000 | [diff] [blame] | 163 | tint_utils_containers |
| 164 | tint_utils_diagnostic |
| 165 | tint_utils_ice |
dan sinclair | 2fe1f26 | 2024-01-09 16:17:56 +0000 | [diff] [blame] | 166 | tint_utils_macros |
Ben Clayton | 2555f18 | 2024-02-05 12:13:43 +0000 | [diff] [blame] | 167 | tint_utils_math |
Ben Clayton | f1dc9e3 | 2024-02-08 17:47:19 +0000 | [diff] [blame] | 168 | tint_utils_memory |
dan sinclair | 2fe1f26 | 2024-01-09 16:17:56 +0000 | [diff] [blame] | 169 | tint_utils_reflection |
Ben Clayton | f1dc9e3 | 2024-02-08 17:47:19 +0000 | [diff] [blame] | 170 | tint_utils_result |
| 171 | tint_utils_rtti |
| 172 | tint_utils_text |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 173 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 174 | ) |
Ben Clayton | 9d1b610 | 2023-09-29 12:12:48 +0000 | [diff] [blame] | 175 | |
| 176 | tint_target_add_external_dependencies(tint_lang_core_bench bench |
| 177 | "google-benchmark" |
dan sinclair | d90557b | 2024-08-28 16:15:03 +0000 | [diff] [blame] | 178 | "src_utils" |
Ben Clayton | 9d1b610 | 2023-09-29 12:12:48 +0000 | [diff] [blame] | 179 | ) |