Update package/license declarations

This commit is contained in:
Armando Montanez 2024-10-02 16:02:51 -07:00
parent c28b850603
commit 19920b75ab
5 changed files with 12 additions and 2 deletions

View File

@ -14,6 +14,10 @@
load("@rules_cc//cc:defs.bzl", "cc_test") load("@rules_cc//cc:defs.bzl", "cc_test")
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
cc_test( cc_test(
name = "quick_test", name = "quick_test",
srcs = ["quick_test.cc"], srcs = ["quick_test.cc"],

View File

@ -16,7 +16,7 @@ load("@rules_cc//cc:defs.bzl", "cc_library", "cc_shared_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0 licenses(["notice"])
cc_library( cc_library(
name = "headers", name = "headers",

View File

@ -16,7 +16,7 @@ load("@rules_cc//cc:defs.bzl", "cc_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0 licenses(["notice"])
cc_library( cc_library(
name = "answer", name = "answer",

View File

@ -15,6 +15,10 @@
load("@rules_cc//cc/toolchains:args.bzl", "cc_args") load("@rules_cc//cc/toolchains:args.bzl", "cc_args")
load("@rules_cc//cc/toolchains:toolchain.bzl", "cc_toolchain") load("@rules_cc//cc/toolchains:toolchain.bzl", "cc_toolchain")
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
# For now, each toolchain is only declared to be compatible # For now, each toolchain is only declared to be compatible
# when exec_platform == target_platform. # when exec_platform == target_platform.
PLATFORMS = { PLATFORMS = {

View File

@ -18,6 +18,8 @@ load("@rules_cc//cc/toolchains/args:sysroot.bzl", "cc_sysroot")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
licenses(["notice"])
cc_sysroot( cc_sysroot(
name = "sysroot", name = "sysroot",
data = [ data = [