Skip to content

Commit

Permalink
Move token_bucket to engine.
Browse files Browse the repository at this point in the history
Makes it easier to be used by other programs if necessary.
  • Loading branch information
mstemm committed Dec 8, 2016
1 parent 9157e2c commit 08b2585
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion userspace/engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include_directories("${PROJECT_SOURCE_DIR}/../sysdig/userspace/libsinsp")
include_directories("${PROJECT_BINARY_DIR}/userspace/engine")
include_directories("${LUAJIT_INCLUDE}")

add_library(falco_engine STATIC rules.cpp falco_common.cpp falco_engine.cpp formats.cpp)
add_library(falco_engine STATIC rules.cpp falco_common.cpp falco_engine.cpp token_bucket.cpp formats.cpp)

target_include_directories(falco_engine PUBLIC
"${LUAJIT_INCLUDE}")
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion userspace/falco/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include_directories("${CURL_INCLUDE_DIR}")
include_directories("${YAMLCPP_INCLUDE_DIR}")
include_directories("${DRAIOS_DEPENDENCIES_DIR}/yaml-${DRAIOS_YAML_VERSION}/target/include")

add_executable(falco configuration.cpp logger.cpp token_bucket.cpp falco_outputs.cpp statsfilewriter.cpp falco.cpp)
add_executable(falco configuration.cpp logger.cpp falco_outputs.cpp statsfilewriter.cpp falco.cpp)

target_link_libraries(falco falco_engine sinsp)
target_link_libraries(falco
Expand Down

0 comments on commit 08b2585

Please sign in to comment.