Verified Commit d8e8a4f5 authored by Tsvi Sabo's avatar Tsvi Sabo

entangled - repo names have been change, so change how entangled referenced them

parent 0ad9e421
Pipeline #23686659 passed with stage
in 18 minutes and 2 seconds
......@@ -2,7 +2,7 @@ workspace(name = "org_iota_entangled")
git_repository(
name = "rules_iota",
commit = "cf7ffa1d71b3bc751b6cd13166fa34625673fdfd",
commit = "b5e5b91d955f257e47c7803808073658387f8a86",
remote = "https://github.com/iotaledger/rules_iota.git",
)
......
......@@ -31,8 +31,7 @@ cc_test(name='tests',
'**/*.hpp',
]),
deps=[
'@gtest//:gtest_main',
'@gtest//:gtest',
'@com_google_googletest//:gtest_main',
':helpers',
],
tags=["exclusive"],
......
......@@ -26,7 +26,7 @@ cc_library(
"@boost//:range",
"@boost//:thread",
"@com_github_gflags_gflags//:gflags",
"@glog",
"@com_github_google_glog//:glog",
"@nlohmann//:json",
],
)
......@@ -46,7 +46,6 @@ cc_test(
srcs = glob(["tests/**/*.cc"]),
deps = [
":beast",
"@gtest",
"@gtest//:gtest_main",
"@com_google_googletest//:gtest_main",
],
)
......@@ -7,7 +7,7 @@ cc_library(
'//tanglescope/common:common',
'//tanglescope/prometheus_collector:prometheus_collector',
'@com_github_gflags_gflags//:gflags',
'@glog//:glog',
'@com_github_google_glog//:glog',
'@prometheus_cpp//:prometheus_cpp',
],
visibility = ["//visibility:public"])
\ No newline at end of file
......@@ -13,7 +13,7 @@ cc_library(
deps = [
"//cppclient:beast",
"@cppzmq",
"@glog",
"@com_github_google_glog//:glog",
"@libcuckoo",
"@rxcpp",
"@yaml_cpp",
......@@ -26,6 +26,6 @@ cc_test(
deps = [
":common",
"@com_github_gflags_gflags//:gflags",
"@gtest//:gtest_main",
"@com_google_googletest//:gtest_main",
],
)
......@@ -11,7 +11,7 @@ cc_library(
"//tanglescope/common",
"//tanglescope/prometheus_collector",
"@com_github_gflags_gflags//:gflags",
"@glog",
"@com_github_google_glog//:glog",
"@prometheus_cpp",
],
)
......@@ -36,8 +36,7 @@ cc_test(
]),
deps = [
":shared",
"@gtest",
"@gtest//:gtest_main",
"@com_google_googletest//:gtest_main",
],
)
......
cc_library(name='shared',
srcs=glob(['**/*.cpp'],
exclude=['statscollector.cpp','tests/**/*.cpp']),
hdrs=glob(
['**/*.hpp'],
exclude=['tests/**/*.hpp']),
include_prefix='iota/tanglescope/statscollector',
deps=[
'//tanglescope/common:common',
'@com_github_gflags_gflags//:gflags',
'@glog//:glog',
'//tanglescope/prometheus_collector:prometheus_collector',
])
cc_library(
name = "shared",
srcs = glob(
["**/*.cpp"],
exclude = [
"statscollector.cpp",
"tests/**/*.cpp",
],
),
hdrs = glob(
["**/*.hpp"],
exclude = ["tests/**/*.hpp"],
),
include_prefix = "iota/tanglescope/statscollector",
deps = [
"//tanglescope/common",
"//tanglescope/prometheus_collector",
"@com_github_gflags_gflags//:gflags",
"@com_github_google_glog//:glog",
],
)
cc_test(name='tests',
srcs=glob(['tests/**/*.cpp', '**/*.hpp']),
deps=['@gtest//:gtest_main', '@gtest//:gtest', ':shared'])
cc_test(
name = "tests",
srcs = glob([
"tests/**/*.cpp",
"**/*.hpp",
]),
deps = [
":shared",
"@com_google_googletest//:gtest_main",
],
)
cc_library(name='statscollector',
include_prefix='iota/tanglescope',
hdrs=glob(['statscollector.hpp']),
srcs=["statscollector.cpp"],
deps=[
'@prometheus_cpp//:prometheus_cpp',
':shared',
],
visibility = ["//visibility:public"]
)
cc_library(
name = "statscollector",
srcs = ["statscollector.cpp"],
hdrs = glob(["statscollector.hpp"]),
include_prefix = "iota/tanglescope",
visibility = ["//visibility:public"],
deps = [
":shared",
"@prometheus_cpp",
],
)
......@@ -16,7 +16,7 @@ cc_library(
"//tanglescope/common",
"//tanglescope/prometheus_collector",
"@com_github_gflags_gflags//:gflags",
"@glog",
"@com_github_google_glog//:glog",
],
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment