Add Facebook copyright header to bzl files (#5451)

Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5451

This diff adds a Facebook copyright header to the bzl files used in osquery. Ultimately we want to update the files in `tools/build_defs/oss/osquery/`, but those are generated files. This diff updates the source files which we use to generate those files.

Reviewed By: fmanco

Differential Revision: D14131483

fbshipit-source-id: 2230dc382c26530ccd0909882fe6193ee7c674fb
This commit is contained in:
Jesse Kornblum 2019-02-19 09:23:09 -08:00 committed by Facebook Github Bot
parent 484520e1ff
commit 56d552d2a4
9 changed files with 44 additions and 0 deletions

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
load(
"//tools/build_defs/oss/osquery:native_functions.bzl",
_osquery_custom_set_generic_kwargs = "osquery_custom_set_generic_kwargs",

View File

@ -1,4 +1,8 @@
"""osquery build defaults"""
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
OSQUERY_THIRD_PARTY_PATH = "third-party"

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
def _paths_join(path, *others):
"""Joins one or more path components intelligently.

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
load(
"//tools/build_defs/oss/osquery:defaults.bzl",
_OSQUERY_ROOT_TARGET_PATH = "OSQUERY_ROOT_TARGET_PATH",

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
osquery_native = native
osquery_read_config = osquery_native.read_config

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
LINUX = "linux-x86_64"
MACOSX = "macosx-x86_64"

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
load("//tools/build_defs/oss/osquery:native_functions.bzl", "osquery_native")
def osquery_python_library(**kwargs):

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# 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_library",

View File

@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
_S3_BASE_URL = "https://s3.amazonaws.com/osquery-packages"
_S3_BASE_DIR = "third-party"