mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 17:45:22 +00:00
fix xcode duplicate target names (#5323)
Summary: Pull Request resolved: https://github.com/facebook/osquery/pull/5323 xcode needs unique target names not to fail on buck generated project Reviewed By: marekcirkos, akindyakov Differential Revision: D13449869 fbshipit-source-id: 73511aeaa3245586adc293fbe0311f51f71ea12f
This commit is contained in:
parent
4967cf3de1
commit
ae2486ff16
@ -61,7 +61,7 @@ osquery_cxx_library(
|
||||
),
|
||||
],
|
||||
tests = [
|
||||
":tests",
|
||||
":filesystem_tests",
|
||||
],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
@ -93,7 +93,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "filesystem_tests",
|
||||
srcs = [
|
||||
"tests/fileops.cpp",
|
||||
"tests/filesystem.cpp",
|
||||
|
@ -23,6 +23,7 @@ osquery_cxx_library(
|
||||
"killswitch_refreshable_plugin.h",
|
||||
],
|
||||
link_whole = True,
|
||||
tests = [":killswitch_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/core:core"),
|
||||
@ -31,7 +32,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "killswitch_tests",
|
||||
srcs = [
|
||||
"tests/killswitch_tests.cpp",
|
||||
],
|
||||
|
@ -19,6 +19,7 @@ osquery_cxx_library(
|
||||
"killswitch_filesystem.h",
|
||||
],
|
||||
link_whole = True,
|
||||
tests = [":killswitch_filesystem_plugin_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/killswitch:killswitch"),
|
||||
@ -45,7 +46,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "killswitch_filesystem_plugin_tests",
|
||||
srcs = [
|
||||
"tests/killswitch_filesystem_tests.cpp",
|
||||
],
|
||||
|
@ -37,7 +37,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "remote_enroll_tests",
|
||||
srcs = [
|
||||
"tests/enroll_tests.cpp",
|
||||
],
|
||||
|
@ -15,6 +15,7 @@ osquery_cxx_library(
|
||||
srcs = ["json.cpp"],
|
||||
header_namespace = "osquery/remote/serializers",
|
||||
exported_headers = ["json.h"],
|
||||
tests = [":remote_json_serializers_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/remote:requests"),
|
||||
@ -24,7 +25,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "remote_json_serializers_tests",
|
||||
srcs = [
|
||||
"tests/json_serializers_tests.cpp",
|
||||
],
|
||||
|
@ -16,6 +16,7 @@ osquery_cxx_library(
|
||||
srcs = ["tls.cpp"],
|
||||
header_namespace = "osquery/remote/transports",
|
||||
exported_headers = ["tls.h"],
|
||||
tests = [":remote_transports_tls_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery:headers"),
|
||||
@ -28,7 +29,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "remote_transports_tls_tests",
|
||||
env = {
|
||||
"TEST_CONF_FILES_DIR": "$(location {})".format(
|
||||
osquery_target("tools/tests:test_files"),
|
||||
|
@ -51,6 +51,7 @@ osquery_cxx_library(
|
||||
],
|
||||
),
|
||||
],
|
||||
tests = [":utils_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_tp_target("glog"),
|
||||
@ -66,7 +67,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "utils_tests",
|
||||
srcs = [
|
||||
"tests/base64.cpp",
|
||||
"tests/chars.cpp",
|
||||
|
@ -59,6 +59,7 @@ osquery_cxx_library(
|
||||
],
|
||||
),
|
||||
],
|
||||
tests = [":conversions_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/utils/expected:expected"),
|
||||
@ -68,7 +69,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "conversions_tests",
|
||||
srcs = [
|
||||
"tests/join.cpp",
|
||||
"tests/split.cpp",
|
||||
|
@ -15,6 +15,7 @@ osquery_cxx_library(
|
||||
exported_headers = [
|
||||
"debug_only.h",
|
||||
],
|
||||
tests = [":debug_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_tp_target("boost"),
|
||||
@ -22,7 +23,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "debug_tests",
|
||||
srcs = [
|
||||
"tests/debug_only.cpp",
|
||||
],
|
||||
|
@ -15,6 +15,7 @@ osquery_cxx_library(
|
||||
exported_headers = [
|
||||
"error.h",
|
||||
],
|
||||
tests = [":error_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_tp_target("boost"),
|
||||
@ -22,7 +23,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "error_tests",
|
||||
srcs = [
|
||||
"tests/error.cpp",
|
||||
],
|
||||
|
@ -16,6 +16,7 @@ osquery_cxx_library(
|
||||
exported_headers = [
|
||||
"expected.h",
|
||||
],
|
||||
tests = [":expected_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/utils/debug:debug"),
|
||||
@ -25,7 +26,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "expected_tests",
|
||||
srcs = [
|
||||
"tests/expected.cpp",
|
||||
],
|
||||
|
@ -23,6 +23,7 @@ osquery_cxx_library(
|
||||
"-DRAPIDJSON_NO_SIZETYPEDEFINE",
|
||||
"-DRAPIDJSON_HAS_STDSTRING=1",
|
||||
],
|
||||
tests = [":json_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/utils:utils"),
|
||||
@ -34,7 +35,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "json_tests",
|
||||
srcs = [
|
||||
"tests/json.cpp",
|
||||
],
|
||||
|
@ -18,6 +18,7 @@ osquery_cxx_library(
|
||||
exported_headers = [
|
||||
"status.h",
|
||||
],
|
||||
tests = [":status_tests"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
osquery_target("osquery/utils/error:error"),
|
||||
@ -26,7 +27,7 @@ osquery_cxx_library(
|
||||
)
|
||||
|
||||
osquery_cxx_test(
|
||||
name = "tests",
|
||||
name = "status_tests",
|
||||
srcs = [
|
||||
"tests/status.cpp",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user