blob: b5bbaae7159441cc8d6203ca30965f773dee05ca [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_utils_containers
39# Kind: lib
Ben Clayton55e6d712023-08-17 16:52:22 +000040################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000041tint_add_target(tint_utils_containers lib
Ben Clayton3a3cb362023-08-16 01:05:21 +000042 utils/containers/bitset.h
Ben Claytonacef3102023-11-20 17:09:35 +000043 utils/containers/const_propagating_ptr.h
Ben Clayton3a3cb362023-08-16 01:05:21 +000044 utils/containers/containers.cc
45 utils/containers/enum_set.h
46 utils/containers/hashmap.h
47 utils/containers/hashmap_base.h
48 utils/containers/hashset.h
49 utils/containers/map.h
50 utils/containers/predicates.h
51 utils/containers/reverse.h
52 utils/containers/scope_stack.h
53 utils/containers/slice.h
54 utils/containers/transform.h
55 utils/containers/unique_allocator.h
56 utils/containers/unique_vector.h
57 utils/containers/vector.h
58)
59
Ben Clayton3fe67612023-08-17 18:22:29 +000060tint_target_add_dependencies(tint_utils_containers lib
61 tint_utils_ice
62 tint_utils_macros
63 tint_utils_math
64 tint_utils_memory
65 tint_utils_rtti
66 tint_utils_traits
Ben Clayton3a3cb362023-08-16 01:05:21 +000067)
68
Ben Clayton55e6d712023-08-17 16:52:22 +000069################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000070# Target: tint_utils_containers_test
71# Kind: test
Ben Clayton55e6d712023-08-17 16:52:22 +000072################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000073tint_add_target(tint_utils_containers_test test
Ben Clayton3a3cb362023-08-16 01:05:21 +000074 utils/containers/bitset_test.cc
75 utils/containers/enum_set_test.cc
76 utils/containers/hashmap_test.cc
77 utils/containers/hashset_test.cc
78 utils/containers/map_test.cc
79 utils/containers/predicates_test.cc
80 utils/containers/reverse_test.cc
81 utils/containers/scope_stack_test.cc
82 utils/containers/slice_test.cc
83 utils/containers/transform_test.cc
84 utils/containers/unique_allocator_test.cc
85 utils/containers/unique_vector_test.cc
86 utils/containers/vector_test.cc
87)
88
Ben Clayton3fe67612023-08-17 18:22:29 +000089tint_target_add_dependencies(tint_utils_containers_test test
90 tint_api_common
91 tint_lang_core
92 tint_lang_core_constant
93 tint_lang_core_type
Ben Clayton11653892023-09-19 19:15:59 +000094 tint_lang_wgsl
Ben Clayton3fe67612023-08-17 18:22:29 +000095 tint_lang_wgsl_ast
Ben Clayton3c54ba52023-11-28 21:36:08 +000096 tint_lang_wgsl_features
Ben Clayton3fe67612023-08-17 18:22:29 +000097 tint_lang_wgsl_program
98 tint_lang_wgsl_sem
99 tint_utils_containers
100 tint_utils_diagnostic
101 tint_utils_ice
102 tint_utils_id
103 tint_utils_macros
104 tint_utils_math
105 tint_utils_memory
106 tint_utils_reflection
107 tint_utils_result
108 tint_utils_rtti
109 tint_utils_symbol
110 tint_utils_text
111 tint_utils_traits
Ben Clayton3a3cb362023-08-16 01:05:21 +0000112)
Ben Clayton7545f952023-08-17 09:53:58 +0000113
Ben Clayton3fe67612023-08-17 18:22:29 +0000114tint_target_add_external_dependencies(tint_utils_containers_test test
Ben Clayton7545f952023-08-17 09:53:58 +0000115 "gtest"
116)