Split demangler to separate lib.
This Cl splits the demangler out to a separate library. The includes for demangler in program and program_builder are removed as they are no longer necessary. Change-Id: I0d4a3e8ec537d596a99cdd1fd1000b3efea20714 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119902 Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
94e50d425a
commit
6080471662
|
@ -315,8 +315,6 @@ libtint_source_set("libtint_syntax_tree_src") {
|
|||
"ast/workgroup_attribute.h",
|
||||
"clone_context.cc",
|
||||
"clone_context.h",
|
||||
"demangler.cc",
|
||||
"demangler.h",
|
||||
"program.cc",
|
||||
"program.h",
|
||||
"program_builder.cc",
|
||||
|
@ -385,6 +383,14 @@ libtint_source_set("libtint_syntax_tree_src") {
|
|||
]
|
||||
}
|
||||
|
||||
libtint_source_set("libtint_demangler_src") {
|
||||
sources = [
|
||||
"demangler.cc",
|
||||
"demangler.h",
|
||||
]
|
||||
deps = [ ":libtint_syntax_tree_src" ]
|
||||
}
|
||||
|
||||
libtint_source_set("libtint_initializer_src") {
|
||||
sources = [ "tint.cc" ]
|
||||
}
|
||||
|
@ -1074,6 +1080,7 @@ source_set("libtint") {
|
|||
":libtint_ast_src",
|
||||
":libtint_base_src",
|
||||
":libtint_constant_src",
|
||||
":libtint_demangler_src",
|
||||
":libtint_initializer_src",
|
||||
":libtint_inspector_src",
|
||||
":libtint_sem_src",
|
||||
|
@ -1962,7 +1969,6 @@ if (tint_build_unittests) {
|
|||
tint_unittests_source_set("tint_unittests_core_src") {
|
||||
sources = [
|
||||
"clone_context_test.cc",
|
||||
"demangler_test.cc",
|
||||
"program_builder_test.cc",
|
||||
"program_test.cc",
|
||||
]
|
||||
|
@ -1974,6 +1980,11 @@ if (tint_build_unittests) {
|
|||
]
|
||||
}
|
||||
|
||||
tint_unittests_source_set("tint_unittests_demangler_src") {
|
||||
sources = [ "demangler_test.cc" ]
|
||||
deps = [ ":libtint_demangler_src" ]
|
||||
}
|
||||
|
||||
if (build_with_chromium) {
|
||||
tint_unittests_source_set("tint_unittests_fuzzer_src") {
|
||||
sources = [ "fuzzers/random_generator_test.cc" ]
|
||||
|
@ -1995,6 +2006,7 @@ if (tint_build_unittests) {
|
|||
":tint_unittests_base_src",
|
||||
":tint_unittests_constant_src",
|
||||
":tint_unittests_core_src",
|
||||
":tint_unittests_demangler_src",
|
||||
":tint_unittests_diagnostic_src",
|
||||
":tint_unittests_inspector_src",
|
||||
":tint_unittests_resolver_src",
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include <utility>
|
||||
|
||||
#include "src/tint/demangler.h"
|
||||
#include "src/tint/resolver/resolver.h"
|
||||
#include "src/tint/sem/type_expression.h"
|
||||
#include "src/tint/sem/value_expression.h"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "src/tint/ast/call_statement.h"
|
||||
#include "src/tint/ast/variable_decl_statement.h"
|
||||
#include "src/tint/debug.h"
|
||||
#include "src/tint/demangler.h"
|
||||
#include "src/tint/sem/type_expression.h"
|
||||
#include "src/tint/sem/value_expression.h"
|
||||
#include "src/tint/sem/variable.h"
|
||||
|
|
Loading…
Reference in New Issue