summaryrefslogtreecommitdiff
path: root/asl
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 01:25:07 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 01:39:34 +0100
commit8604c98df53486208cdc15424aae9d9b2fef2d8e (patch)
treed7a8564846316028294a906d654db38b5313413d /asl
parent62cc4b468b4e8653d8ef523fc4081572c6c1c7d8 (diff)
Apply licenses with rules_license
Diffstat (limited to 'asl')
-rw-r--r--asl/base/BUILD.bazel4
-rw-r--r--asl/containers/BUILD.bazel4
-rw-r--r--asl/formatting/BUILD.bazel4
-rw-r--r--asl/hashing/BUILD.bazel7
-rw-r--r--asl/io/BUILD.bazel4
-rw-r--r--asl/logging/BUILD.bazel4
-rw-r--r--asl/logging/logging_tests.cpp2
-rw-r--r--asl/memory/BUILD.bazel4
-rw-r--r--asl/strings/BUILD.bazel4
-rw-r--r--asl/synchronization/BUILD.bazel4
-rw-r--r--asl/testing/BUILD.bazel4
-rw-r--r--asl/tests/BUILD.bazel4
-rw-r--r--asl/types/BUILD.bazel4
13 files changed, 52 insertions, 1 deletions
diff --git a/asl/base/BUILD.bazel b/asl/base/BUILD.bazel
index cd05e00..32ea47f 100644
--- a/asl/base/BUILD.bazel
+++ b/asl/base/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "base",
hdrs = [
diff --git a/asl/containers/BUILD.bazel b/asl/containers/BUILD.bazel
index feb5711..a8d6b4e 100644
--- a/asl/containers/BUILD.bazel
+++ b/asl/containers/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "buffer",
hdrs = [
diff --git a/asl/formatting/BUILD.bazel b/asl/formatting/BUILD.bazel
index 836585e..06f0ec7 100644
--- a/asl/formatting/BUILD.bazel
+++ b/asl/formatting/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "formatting",
hdrs = [
diff --git a/asl/hashing/BUILD.bazel b/asl/hashing/BUILD.bazel
index 18be389..ff23400 100644
--- a/asl/hashing/BUILD.bazel
+++ b/asl/hashing/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "hashing",
hdrs = [
@@ -14,6 +18,9 @@ cc_library(
"//asl/base",
"//asl/types:span",
],
+ applicable_licenses = [
+ "//vendor/cityhash:license",
+ ],
visibility = ["//visibility:public"],
)
diff --git a/asl/io/BUILD.bazel b/asl/io/BUILD.bazel
index b25f2fe..fc971b9 100644
--- a/asl/io/BUILD.bazel
+++ b/asl/io/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "writer",
hdrs = [
diff --git a/asl/logging/BUILD.bazel b/asl/logging/BUILD.bazel
index 1ddefff..f565916 100644
--- a/asl/logging/BUILD.bazel
+++ b/asl/logging/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "logging",
srcs = [
diff --git a/asl/logging/logging_tests.cpp b/asl/logging/logging_tests.cpp
index b4c9fa6..ec47a8a 100644
--- a/asl/logging/logging_tests.cpp
+++ b/asl/logging/logging_tests.cpp
@@ -27,6 +27,6 @@ ASL_TEST(custom_writer)
ASL_LOG_INFO("Hello");
auto sv = string_writer.as_string_view();
- ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:23: Hello\n");
+ ASL_TEST_EXPECT(sv == "[ INFO ] asl/logging/logging_tests.cpp:27: Hello\n");
}
diff --git a/asl/memory/BUILD.bazel b/asl/memory/BUILD.bazel
index 1d90c3b..7305da0 100644
--- a/asl/memory/BUILD.bazel
+++ b/asl/memory/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "memory",
hdrs = [
diff --git a/asl/strings/BUILD.bazel b/asl/strings/BUILD.bazel
index bb84495..79fc631 100644
--- a/asl/strings/BUILD.bazel
+++ b/asl/strings/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "string_view",
hdrs = [
diff --git a/asl/synchronization/BUILD.bazel b/asl/synchronization/BUILD.bazel
index 5c11b28..ccc3860 100644
--- a/asl/synchronization/BUILD.bazel
+++ b/asl/synchronization/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "atomic",
hdrs = [
diff --git a/asl/testing/BUILD.bazel b/asl/testing/BUILD.bazel
index 1e1c0f0..96c265d 100644
--- a/asl/testing/BUILD.bazel
+++ b/asl/testing/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "testing",
hdrs = [
diff --git a/asl/tests/BUILD.bazel b/asl/tests/BUILD.bazel
index 6b8509c..016f037 100644
--- a/asl/tests/BUILD.bazel
+++ b/asl/tests/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "utils",
hdrs = [
diff --git a/asl/types/BUILD.bazel b/asl/types/BUILD.bazel
index e5f8158..b60bb27 100644
--- a/asl/types/BUILD.bazel
+++ b/asl/types/BUILD.bazel
@@ -2,6 +2,10 @@
#
# SPDX-License-Identifier: BSD-3-Clause
+package(
+ default_applicable_licenses = ["//:license"],
+)
+
cc_library(
name = "box",
hdrs = [