blob: 1b07cd1e36954ed44d1d439062b6d88c300b02ed [file] [log] [blame]
Ben Clayton3a3cb362023-08-16 01:05:21 +00001# Copyright 2023 The Tint Authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15################################################################################
Ben Clayton57ded6a2023-08-22 13:22:22 +000016# File generated by 'tools/src/cmd/gen' using the template:
Ben Clayton3a3cb362023-08-16 01:05:21 +000017# tools/src/cmd/gen/build/BUILD.cmake.tmpl
18#
Ben Clayton57ded6a2023-08-22 13:22:22 +000019# To regenerate run: './tools/run gen'
20#
21# Do not modify this file directly
Ben Clayton3a3cb362023-08-16 01:05:21 +000022################################################################################
23
Ben Clayton55e6d712023-08-17 16:52:22 +000024################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000025# Target: tint_utils_memory
26# Kind: lib
Ben Clayton55e6d712023-08-17 16:52:22 +000027################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000028tint_add_target(tint_utils_memory lib
Ben Clayton3a3cb362023-08-16 01:05:21 +000029 utils/memory/bitcast.h
30 utils/memory/block_allocator.h
31 utils/memory/bump_allocator.h
32 utils/memory/memory.cc
33)
34
Ben Clayton3fe67612023-08-17 18:22:29 +000035tint_target_add_dependencies(tint_utils_memory lib
Ben Clayton5784a4b2023-10-11 23:21:41 +000036 tint_utils_macros
Ben Clayton3fe67612023-08-17 18:22:29 +000037 tint_utils_math
Ben Clayton3a3cb362023-08-16 01:05:21 +000038)
39
Ben Clayton55e6d712023-08-17 16:52:22 +000040################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000041# Target: tint_utils_memory_test
42# Kind: test
Ben Clayton55e6d712023-08-17 16:52:22 +000043################################################################################
Ben Clayton3fe67612023-08-17 18:22:29 +000044tint_add_target(tint_utils_memory_test test
Ben Clayton3a3cb362023-08-16 01:05:21 +000045 utils/memory/bitcast_test.cc
46 utils/memory/block_allocator_test.cc
47 utils/memory/bump_allocator_test.cc
48)
49
Ben Clayton3fe67612023-08-17 18:22:29 +000050tint_target_add_dependencies(tint_utils_memory_test test
Ben Clayton5784a4b2023-10-11 23:21:41 +000051 tint_utils_macros
Ben Clayton3fe67612023-08-17 18:22:29 +000052 tint_utils_math
53 tint_utils_memory
Ben Clayton3a3cb362023-08-16 01:05:21 +000054)
Ben Clayton7545f952023-08-17 09:53:58 +000055
Ben Clayton3fe67612023-08-17 18:22:29 +000056tint_target_add_external_dependencies(tint_utils_memory_test test
Ben Clayton7545f952023-08-17 09:53:58 +000057 "gtest"
58)