osquery-1/sdk/BUCK
Alexander Kindyakov 760e877ae5 prototype of osquery/plugin_sdk
Summary:
Build osquery extensions/plugins against all osquery is an apparently bad idea.
Because plugins usually are not require full set of thirdparty libs of osquery. Most of osquery code is also not necesarry for plugins. And the main thing, clear definition of public interface of osquery plugins will force us to keep it clear and short, change it carefully and consciously, crate a tests for it.

Reviewed By: fmanco

Differential Revision: D13990668

fbshipit-source-id: ed6ed3f6f75178d829fc6bcbd1af20ef2e268fa8
2019-02-11 02:33:20 -08:00

35 lines
1.3 KiB
Python

# Copyright (c) 2014-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")
load("//tools/build_defs/oss/osquery:native.bzl", "osquery_target")
osquery_cxx_library(
name = "plugin_sdk",
header_namespace = "osquery/sdk",
exported_headers = [
"plugin_sdk.h",
],
visibility = ["PUBLIC"],
deps = [
osquery_target("osquery/utils/conversions:conversions"),
osquery_target("osquery/utils/debug:debug"),
osquery_target("osquery/utils/expected:expected"),
osquery_target("osquery/utils/info:info"),
osquery_target("osquery/utils/macros:macros"),
osquery_target("osquery/utils/status:status"),
osquery_target("osquery/utils/system:env"),
osquery_target("osquery/utils/system:errno"),
osquery_target("osquery/utils/system:filepath"),
osquery_target("osquery/utils/system:system_utils"),
osquery_target("osquery/utils/system:time"),
osquery_target("osquery/utils/system:uptime"),
osquery_target("osquery/utils:attribute"),
osquery_target("osquery/utils:utils"),
osquery_target("osquery:headers"),
],
)