Add missing sem headers
This CL is based off of https://dawn-review.googlesource.com/c/dawn/+/113561
and adds the updates into `libtint_syntax_parser_src` to allow the
resolver to build correctly when the headers are added.
Change-Id: I5d14a88111ea1bf87bb2155d066b95378163e451
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117588
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
diff --git a/src/tint/BUILD.gn b/src/tint/BUILD.gn
index 9427136..328563e 100644
--- a/src/tint/BUILD.gn
+++ b/src/tint/BUILD.gn
@@ -357,6 +357,7 @@
"sem/array_count.h",
"sem/behavior.h",
"sem/binding_point.h",
+ "sem/block_statement.h",
"sem/break_if_statement.h",
"sem/builtin.h",
"sem/builtin_type.h",
@@ -365,22 +366,26 @@
"sem/evaluation_stage.h",
"sem/expression.h",
"sem/for_loop_statement.h",
+ "sem/function.h",
"sem/if_statement.h",
"sem/index_accessor_expression.h",
"sem/info.h",
"sem/load.h",
"sem/loop_statement.h",
"sem/materialize.h",
+ "sem/member_accessor_expression.h",
"sem/module.h",
"sem/node.h",
"sem/parameter_usage.h",
"sem/pipeline_stage_set.h",
"sem/sampler_texture_pair.h",
+ "sem/statement.h",
"sem/struct.h",
"sem/switch_statement.h",
"sem/type_conversion.h",
"sem/type_initializer.h",
"sem/type_mappings.h",
+ "sem/variable.h",
"sem/while_statement.h",
]
@@ -734,6 +739,7 @@
"sem/behavior.h",
"sem/binding_point.h",
"sem/block_statement.cc",
+ "sem/block_statement.h",
"sem/break_if_statement.cc",
"sem/break_if_statement.h",
"sem/builtin.cc",
@@ -750,6 +756,7 @@
"sem/for_loop_statement.cc",
"sem/for_loop_statement.h",
"sem/function.cc",
+ "sem/function.h",
"sem/if_statement.cc",
"sem/if_statement.h",
"sem/index_accessor_expression.cc",
@@ -763,6 +770,7 @@
"sem/materialize.cc",
"sem/materialize.h",
"sem/member_accessor_expression.cc",
+ "sem/member_accessor_expression.h",
"sem/module.cc",
"sem/module.h",
"sem/node.cc",
@@ -770,7 +778,9 @@
"sem/parameter_usage.cc",
"sem/parameter_usage.h",
"sem/pipeline_stage_set.h",
+ "sem/sampler_texture_pair.h",
"sem/statement.cc",
+ "sem/statement.h",
"sem/struct.cc",
"sem/struct.h",
"sem/switch_statement.cc",
@@ -781,6 +791,7 @@
"sem/type_initializer.h",
"sem/type_mappings.h",
"sem/variable.cc",
+ "sem/variable.h",
"sem/while_statement.cc",
"sem/while_statement.h",
]
@@ -990,6 +1001,7 @@
deps = [
":libtint_base_src",
":libtint_constant_src",
+ ":libtint_sem_src",
":libtint_syntax_tree_src",
":libtint_transform_src",
":libtint_type_src",
@@ -1047,6 +1059,7 @@
deps = [
":libtint_base_src",
":libtint_constant_src",
+ ":libtint_sem_src",
":libtint_syntax_tree_src",
":libtint_transform_src",
":libtint_type_src",
@@ -1065,6 +1078,7 @@
deps = [
":libtint_base_src",
":libtint_constant_src",
+ ":libtint_sem_src",
":libtint_syntax_tree_src",
":libtint_transform_src",
":libtint_type_src",
@@ -1083,6 +1097,7 @@
deps = [
":libtint_base_src",
":libtint_constant_src",
+ ":libtint_sem_src",
":libtint_syntax_tree_src",
":libtint_transform_src",
":libtint_type_src",