| # Serialization for the VM bytecode. |
| |
| package( |
| default_visibility = ["//visibility:public"], |
| licenses = ["notice"], # Apache 2.0 |
| ) |
| |
| cc_library( |
| name = "Serialization", |
| srcs = [ |
| "BytecodeTables.cpp", |
| "BytecodeWriter.cpp", |
| "VMDeviceTableBuilder.cpp", |
| "VMExecutableTableBuilder.cpp", |
| "VMFunctionBuilder.cpp", |
| "VMFunctionTableBuilder.cpp", |
| "VMModuleBuilder.cpp", |
| "VMSourceMapBuilder.cpp", |
| ], |
| hdrs = [ |
| "BytecodeTables.h", |
| "BytecodeWriter.h", |
| "VMDeviceTableBuilder.h", |
| "VMExecutableTableBuilder.h", |
| "VMFunctionBuilder.h", |
| "VMFunctionTableBuilder.h", |
| "VMModuleBuilder.h", |
| "VMSourceMapBuilder.h", |
| ], |
| deps = [ |
| "///compiler/IR", |
| "///compiler/Utils", |
| "///schemas", |
| "///schemas/bytecode:bytecode_v0", |
| "///schemas/bytecode:interpreter_bytecode_v0", |
| "///schemas/bytecode:sequencer_bytecode_v0", |
| "@com_github_google_flatbuffers//:flatbuffers", |
| "@llvm//:support", |
| "@local_config_mlir//:IR", |
| "@local_config_mlir//:StandardOps", |
| "@local_config_mlir//:Support", |
| ], |
| ) |