blob: d2850be3caf5016b0a430df0477e79f30f3b4993 [file] [log] [blame]
Austin Engcc2516a2023-10-17 20:57:54 +00001# Copyright 2023 The Dawn & Tint Authors
Ben Clayton3a3cb362023-08-16 01:05:21 +00002#
Austin Engcc2516a2023-10-17 20:57:54 +00003# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions are met:
Ben Clayton3a3cb362023-08-16 01:05:21 +00005#
Austin Engcc2516a2023-10-17 20:57:54 +00006# 1. Redistributions of source code must retain the above copyright notice, this
7# list of conditions and the following disclaimer.
Ben Clayton3a3cb362023-08-16 01:05:21 +00008#
Austin Engcc2516a2023-10-17 20:57:54 +00009# 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 Clayton3a3cb362023-08-16 01:05:21 +000027
28################################################################################
Ben Clayton57ded6a2023-08-22 13:22:22 +000029# File generated by 'tools/src/cmd/gen' using the template:
Ben Clayton3a3cb362023-08-16 01:05:21 +000030# tools/src/cmd/gen/build/BUILD.cmake.tmpl
31#
Ben Clayton57ded6a2023-08-22 13:22:22 +000032# To regenerate run: './tools/run gen'
33#
34# Do not modify this file directly
Ben Clayton3a3cb362023-08-16 01:05:21 +000035################################################################################
36
Ben Clayton55e6d712023-08-17 16:52:22 +000037################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000038# Target: tint_lang_core_intrinsic
39# Kind: lib
Ben Clayton55e6d712023-08-17 16:52:22 +000040################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000041tint_add_target(tint_lang_core_intrinsic lib
Ben Clayton3a3cb362023-08-16 01:05:21 +000042 lang/core/intrinsic/ctor_conv.cc
43 lang/core/intrinsic/ctor_conv.h
Ben Claytonf319cdf2023-09-26 17:21:24 +000044 lang/core/intrinsic/data.cc
45 lang/core/intrinsic/dialect.h
Ben Clayton3a3cb362023-08-16 01:05:21 +000046 lang/core/intrinsic/table.cc
47 lang/core/intrinsic/table.h
48 lang/core/intrinsic/table_data.h
Ben Claytonf319cdf2023-09-26 17:21:24 +000049 lang/core/intrinsic/type_matchers.h
Ben Clayton3a3cb362023-08-16 01:05:21 +000050)
51
Ben Clayton3fe67612023-08-17 18:22:29 +000052tint_target_add_dependencies(tint_lang_core_intrinsic lib
53 tint_lang_core
54 tint_lang_core_constant
55 tint_lang_core_type
dan sinclair7b5e1de2024-11-25 18:50:49 +000056 tint_utils
Ben Clayton3fe67612023-08-17 18:22:29 +000057 tint_utils_containers
58 tint_utils_diagnostic
59 tint_utils_ice
Ben Clayton3fe67612023-08-17 18:22:29 +000060 tint_utils_macros
61 tint_utils_math
62 tint_utils_memory
63 tint_utils_result
64 tint_utils_rtti
65 tint_utils_symbol
66 tint_utils_text
Ben Clayton3a3cb362023-08-16 01:05:21 +000067)
68
dan sinclaird90557b2024-08-28 16:15:03 +000069tint_target_add_external_dependencies(tint_lang_core_intrinsic lib
70 "src_utils"
71)
72
Ben Clayton55e6d712023-08-17 16:52:22 +000073################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000074# Target: tint_lang_core_intrinsic_test
75# Kind: test
Ben Clayton55e6d712023-08-17 16:52:22 +000076################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000077tint_add_target(tint_lang_core_intrinsic_test test
Ben Clayton3a3cb362023-08-16 01:05:21 +000078 lang/core/intrinsic/table_test.cc
79)
80
Ben Clayton3fe67612023-08-17 18:22:29 +000081tint_target_add_dependencies(tint_lang_core_intrinsic_test test
82 tint_api_common
83 tint_lang_core
84 tint_lang_core_constant
85 tint_lang_core_intrinsic
Ben Clayton3fe67612023-08-17 18:22:29 +000086 tint_lang_core_type
87 tint_lang_core_type_test
Ben Clayton11653892023-09-19 19:15:59 +000088 tint_lang_wgsl
Ben Clayton3fe67612023-08-17 18:22:29 +000089 tint_lang_wgsl_ast
James Price78da6642023-11-06 18:42:21 +000090 tint_lang_wgsl_common
Ben Clayton3c54ba52023-11-28 21:36:08 +000091 tint_lang_wgsl_features
Ben Clayton3fe67612023-08-17 18:22:29 +000092 tint_lang_wgsl_program
93 tint_lang_wgsl_resolver
Ben Clayton3fe67612023-08-17 18:22:29 +000094 tint_lang_wgsl_sem
dan sinclair7b5e1de2024-11-25 18:50:49 +000095 tint_utils
Ben Clayton3fe67612023-08-17 18:22:29 +000096 tint_utils_containers
97 tint_utils_diagnostic
98 tint_utils_ice
Ben Clayton3fe67612023-08-17 18:22:29 +000099 tint_utils_macros
100 tint_utils_math
101 tint_utils_memory
Ben Clayton3fe67612023-08-17 18:22:29 +0000102 tint_utils_result
103 tint_utils_rtti
104 tint_utils_symbol
105 tint_utils_text
Ben Clayton3a3cb362023-08-16 01:05:21 +0000106)
Ben Clayton7545f952023-08-17 09:53:58 +0000107
Ben Clayton3fe67612023-08-17 18:22:29 +0000108tint_target_add_external_dependencies(tint_lang_core_intrinsic_test test
Ben Clayton7545f952023-08-17 09:53:58 +0000109 "gtest"
dan sinclaird90557b2024-08-28 16:15:03 +0000110 "src_utils"
Ben Clayton7545f952023-08-17 09:53:58 +0000111)