aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:33:12 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:33:12 +0000
commited9b4efcc14b22384a358d738ee2802f915a8cfe (patch)
treef062d90e3448e9405f8bae7e3b46aa9c8c4ac478
parent2795191f28591534096193bf5a92124367786b88 (diff)
parent58331aa4062048e7cb81d70bd33a01eda6d9be5e (diff)
downloadseccomp-tests-android12-mainline-documentsui-release.tar.gz
Snap for 7478028 from 58331aa4062048e7cb81d70bd33a01eda6d9be5e to mainline-documentsui-releaseandroid-mainline-12.0.0_r26android-mainline-12.0.0_r2aml_doc_310851020android12-mainline-documentsui-release
Change-Id: Id0e7be3817eee9306c4b1221edcb11374730faa7
-rw-r--r--Android.bp48
-rw-r--r--METADATA3
2 files changed, 41 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 8d06c40..6080eda 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,19 +12,47 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["external_seccomp-tests_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'filegroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+//
+// large-scale-change included anything that looked like it might be a license
+// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
+//
+// Please consider removing redundant or irrelevant files from 'license_text:'.
+// http://go/android-license-faq
+license {
+ name: "external_seccomp-tests_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-LGPL",
+ ],
+ license_text: [
+ "COPYING",
+ "NOTICE",
+ ],
+}
+
cc_library_static {
name: "external_seccomp_tests",
- // mips and mips64 don't support Seccomp.
- arch: {
- mips: {
- enabled: false,
- },
- mips64: {
- enabled: false,
- },
- },
-
srcs: [
"linux/seccomp_bpf.c",
"seccomp_bpf_tests.c",
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..6d8601b
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+ license_type: RESTRICTED
+}