blob: 8d69cbb482929373762416dd1bd5791ee11ce576 [file] [log] [blame]
shared_library("vipunen") {
sources = [
"ext.cc",
]
include_dirs = [ "." ]
cflags = [ "-fPIC" ]
deps = [
":vipunen_core",
]
}
static_library("vipunen_core") {
sources = [
"platform/assert.cc",
"platform/utils.cc",
"vm/allocation.cc",
"vm/assembler.cc",
"vm/assembler_x64.cc",
"vm/bit_vector.cc",
"vm/bitmap.cc",
"vm/branch_optimizer.cc",
"vm/branch_optimizer.h",
"vm/constant_propagator.cc",
"vm/constant_propagator.h",
"vm/disassembler.cc",
"vm/disassembler_x64.cc",
"vm/flow_graph.cc",
"vm/flow_graph_allocator.cc",
"vm/flow_graph_compiler.cc",
"vm/flow_graph_compiler_x64.cc",
"vm/flow_graph_inliner.cc",
"vm/flow_graph_inliner.h",
"vm/flow_graph_type_propagator.cc",
"vm/il_printer.cc",
"vm/intermediate_language.cc",
"vm/intermediate_language_x64.cc",
"vm/locations.cc",
"vm/longjump.cc",
"vm/longjump.h",
"vm/memory_region.cc",
"vm/os_linux.cc",
"vm/os_macos.cc",
"vm/redundancy_elimination.cc",
"vm/redundancy_elimination.h",
"vm/scopes.cc",
"vm/thread.cc",
"vm/token_position.cc",
"vm/vil_builder.cc",
"vm/vil_builder.h",
"vm/zone.cc",
]
include_dirs = [ "." ]
cflags = [
"-O0",
"-ggdb",
"-g3",
"-fPIC",
]
}