mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
438a6e1464
Summary: Pull Request resolved: https://github.com/facebook/osquery/pull/5401 Extremely rough implementation of the basic componenets to get things going. Blueprint issue #5158 . Reviewed By: akindyakov Differential Revision: D13779295 fbshipit-source-id: c7373794e8152ffea8a7c5d97f0c937bf97a2a0a
51 lines
1.2 KiB
Python
51 lines
1.2 KiB
Python
# Copyright (c) 2018-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed as defined on the LICENSE file found in the
|
|
# root directory of this source tree.
|
|
|
|
load("//tools/build_defs/oss/osquery:cxx.bzl", "osquery_cxx_library", "osquery_cxx_test")
|
|
load("//tools/build_defs/oss/osquery:native.bzl", "osquery_target")
|
|
|
|
osquery_cxx_library(
|
|
name = "ev2",
|
|
srcs = [
|
|
"manager.cpp",
|
|
"publisher.cpp",
|
|
"subscription.cpp",
|
|
],
|
|
header_namespace = "osquery/ev2",
|
|
exported_headers = [
|
|
"buffered_subscription.h",
|
|
"manager.h",
|
|
"publisher.h",
|
|
"simple_publisher.h",
|
|
"subscription.h",
|
|
],
|
|
tests = [
|
|
":ev2_tests",
|
|
],
|
|
visibility = ["PUBLIC"],
|
|
deps = [
|
|
osquery_target("osquery/utils/expected:expected"),
|
|
],
|
|
)
|
|
|
|
osquery_cxx_test(
|
|
name = "ev2_tests",
|
|
srcs = [
|
|
"tests/buffered_subscription.cpp",
|
|
"tests/manager.cpp",
|
|
"tests/simple_publisher.cpp",
|
|
"tests/utils.cpp",
|
|
],
|
|
headers = [
|
|
"tests/utils.h",
|
|
],
|
|
header_namespace = "osquery/ev2",
|
|
visibility = ["PUBLIC"],
|
|
deps = [
|
|
":ev2",
|
|
],
|
|
)
|