blob: cd3c13e0dc0ce2e37a111b6cf7a7d45e66a292e3 [file] [log] [blame]
specific_include_rules = {
"jump-table-assembler\.(cc|h)": [
# The JumpTableAssembler should not depend on any wasm-specific headers.
# The only allowed include is 'src/codegen' for assembler headers.
"-src",
"+src/codegen",
"+src/base/sanitizer/ubsan.h",
"+src/wasm/jump-table-assembler.h",
],
"c-api\.cc": [
"+include/libplatform/libplatform.h",
"+third_party/wasm-api/wasm.h",
],
"c-api\.h": [
"+third_party/wasm-api/wasm.hh",
],
"wrappers\.cc": [
"+src/compiler/linkage.h",
"+src/compiler/turboshaft/index.h",
"+src/compiler/turboshaft/wasm-assembler-helpers.h",
"+src/compiler/turboshaft/define-assembler-macros.inc",
"+src/compiler/turboshaft/assembler.h",
"+src/compiler/turboshaft/dataview-lowering-reducer.h",
"+src/compiler/turboshaft/select-lowering-reducer.h",
"+src/compiler/turboshaft/variable-reducer.h",
],
"turboshaft-graph-interface\.h": [
"+src/compiler/turboshaft/assembler.h",
"+src/compiler/turboshaft/dataview-lowering-reducer.h",
"+src/compiler/turboshaft/select-lowering-reducer.h",
"+src/compiler/turboshaft/variable-reducer.h",
],
"turboshaft-graph-interface\.cc": [
"+src/compiler/turboshaft/assembler.h",
"+src/compiler/turboshaft/builtin-call-descriptors.h",
"+src/compiler/turboshaft/dataview-lowering-reducer.h",
"+src/compiler/turboshaft/define-assembler-macros.inc",
"+src/compiler/turboshaft/graph.h",
"+src/compiler/turboshaft/required-optimization-reducer.h",
"+src/compiler/turboshaft/select-lowering-reducer.h",
"+src/compiler/turboshaft/undef-assembler-macros.inc",
"+src/compiler/turboshaft/variable-reducer.h",
"+src/compiler/turboshaft/wasm-assembler-helpers.h"
],
"wasm-engine\.h": [
# The WasmEngine may cache common call descriptors.
"+src/compiler/wasm-call-descriptors.h",
],
"liftoff-assembler\.cc": [
# The LiftoffAssembler needs to know CallDescriptors.
"+src/compiler/linkage.h",
],
"liftoff-assembler-(x64|arm64|loong64|mips64|riscv)-inl\.h": [
# The LiftoffAssembler needs to know CallDescriptors.
"+src/compiler/linkage.h",
],
"liftoff-compiler\.cc": [
"-src/compiler",
"+src/compiler/access-builder.h",
"+src/compiler/wasm-compiler.h",
],
"simd-shuffle\.h": [
"+src/compiler/backend/instruction-codes.h",
]
}