| package(default_visibility = ["//visibility:public"]) |
| |
| cc_binary( |
| name = "heron-cpp-instance", |
| srcs = [ |
| "instance-main.cpp", |
| "gateway/gateway.cpp", |
| "gateway/stmgr-client.cpp", |
| "gateway/gateway-metrics.cpp", |
| "slave/slave.cpp", |
| "slave/outgoing-tuple-collection.cpp", |
| "slave/task-context-impl.cpp", |
| "slave/imetrics-registrar-impl.cpp", |
| "spoutimpl/spout-instance.cpp", |
| "spoutimpl/spout-output-collector-impl.cpp", |
| "spoutimpl/spout-metrics.cpp", |
| "boltimpl/bolt-instance.cpp", |
| "boltimpl/bolt-metrics.cpp", |
| "boltimpl/bolt-output-collector-impl.cpp", |
| "boltimpl/tuple-impl.cpp", |
| "boltimpl/tick-tuple.cpp", |
| |
| "gateway/gateway.h", |
| "gateway/stmgr-client.h", |
| "gateway/gateway-metrics.h", |
| "slave/slave.h", |
| "slave/instance-base.h", |
| "slave/outgoing-tuple-collection.h", |
| "slave/task-context-impl.h", |
| "slave/imetrics-registrar-impl.h", |
| "spoutimpl/root-tuple-info.h", |
| "spoutimpl/spout-instance.h", |
| "spoutimpl/spout-metrics.h", |
| "spoutimpl/spout-output-collector-impl.h", |
| "boltimpl/bolt-instance.h", |
| "boltimpl/bolt-metrics.h", |
| "boltimpl/bolt-output-collector-impl.h", |
| "boltimpl/tuple-impl.h", |
| "boltimpl/tick-tuple.h", |
| "utils/communicator.h", |
| "utils/notifying-communicator.h", |
| ], |
| copts = [ |
| "-Iheron", |
| "-Iheron/instance/src/cpp", |
| "-Iheron/api/src/cpp", |
| "-Iheron/common/src/cpp", |
| "-I$(GENDIR)/heron", |
| "-I$(GENDIR)/heron/common/src/cpp", |
| ], |
| deps = [ |
| "//heron/proto:proto-cxx", |
| "//heron/api/src/cpp:cxx-api", |
| "//heron/common/src/cpp/basics:basics-cxx", |
| "//heron/common/src/cpp/network:network-cxx", |
| "//heron/common/src/cpp/config:config-cxx", |
| "//heron/common/src/cpp/metrics:metrics-cxx", |
| "@com_github_jbeder_yaml_cpp//:yaml-cxx", |
| ], |
| linkstatic = 1, |
| linkopts = ['-ldl'], |
| ) |