From 80fcf6cc55fb5befae99d8613231f0060a59bee1 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Mon, 5 Feb 2024 14:01:39 -0800 Subject: Remove more unused go modules and Android.bp files. Followup change of aosp/2922298. Bug: N/A Test: CIs Change-Id: Ice5436a8269a3c7763765a07d98354ca1fe079eb --- idsearcher/Android.bp | 36 ------------------------------------ licensediff/Android.bp | 34 ---------------------------------- rdfloader/Android.bp | 19 ------------------- rdfloader/parser2v2/Android.bp | 19 ------------------- rdfloader/parser2v3/Android.bp | 19 ------------------- reporter/Android.bp | 34 ---------------------------------- yaml/Android.bp | 19 ------------------- 7 files changed, 180 deletions(-) delete mode 100644 idsearcher/Android.bp delete mode 100644 licensediff/Android.bp delete mode 100644 rdfloader/Android.bp delete mode 100644 rdfloader/parser2v2/Android.bp delete mode 100644 rdfloader/parser2v3/Android.bp delete mode 100644 reporter/Android.bp delete mode 100644 yaml/Android.bp diff --git a/idsearcher/Android.bp b/idsearcher/Android.bp deleted file mode 100644 index ac652b8..0000000 --- a/idsearcher/Android.bp +++ /dev/null @@ -1,36 +0,0 @@ -// -// Copyright (C) 2023 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package { - default_applicable_licenses: ["Android-Apache-2.0"], - default_visibility: [ - "//external/spdx-tools:__subpackages__", - "//build/make/tools/compliance:__subpackages__", - ], -} - -bootstrap_go_package { - name: "spdx-tools-idsearcher", - pkgPath: "github.com/spdx/tools-golang/idsearcher", - srcs: ["idsearcher.go"], - deps: [ - "spdx-tools-builder", - "spdx-tools-spdxv2_1", - "spdx-tools-spdxv2_2", - "spdx-tools-spdxv2_3", - "spdx-tools-utils", - ], - testSrcs: ["idsearcher_test.go"], -} diff --git a/licensediff/Android.bp b/licensediff/Android.bp deleted file mode 100644 index 98de396..0000000 --- a/licensediff/Android.bp +++ /dev/null @@ -1,34 +0,0 @@ -// -// Copyright (C) 2023 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package { - default_applicable_licenses: ["Android-Apache-2.0"], - default_visibility: [ - "//external/spdx-tools:__subpackages__", - "//build/make/tools/compliance:__subpackages__", - ], -} - -bootstrap_go_package { - name: "spdx-tools-licensediff", - pkgPath: "github.com/spdx/tools-golang/licensediff", - srcs: ["licensediff.go"], - deps: [ - "spdx-tools-spdxv2_1", - "spdx-tools-spdxv2_2", - "spdx-tools-spdxv2_3", - ], - testSrcs: ["licensediff_test.go"], -} diff --git a/rdfloader/Android.bp b/rdfloader/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/rdfloader/Android.bp +++ /dev/null @@ -1,19 +0,0 @@ -// -// Copyright (C) 2023 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package { - default_applicable_licenses: ["Android-Apache-2.0"], - default_visibility: ["//external/spdx-tools:__subpackages__"], -} diff --git a/rdfloader/parser2v2/Android.bp b/rdfloader/parser2v2/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/rdfloader/parser2v2/Android.bp +++ /dev/null @@ -1,19 +0,0 @@ -// -// Copyright (C) 2023 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package { - default_applicable_licenses: ["Android-Apache-2.0"], - default_visibility: ["//external/spdx-tools:__subpackages__"], -} diff --git a/rdfloader/parser2v3/Android.bp b/rdfloader/parser2v3/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/rdfloader/parser2v3/Android.bp +++ /dev/null @@ -1,19 +0,0 @@ -// -// Copyright (C) 2023 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package { - default_applicable_licenses: ["Android-Apache-2.0"], - default_visibility: ["//external/spdx-tools:__subpackages__"], -} diff --git a/reporter/Android.bp b/reporter/Android.bp deleted file mode 100644 index a684610..0000000 --- a/reporter/Android.bp +++ /dev/null @@ -1,34 +0,0 @@ -// -// Copyright (C) 2023 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package { - default_applicable_licenses: ["Android-Apache-2.0"], - default_visibility: [ - "//external/spdx-tools:__subpackages__", - "//build/make/tools/compliance:__subpackages__", - ], -} - -bootstrap_go_package { - name: "spdx-tools-reporter", - pkgPath: "github.com/spdx/tools-golang/reporter", - srcs: ["reporter.go"], - deps: [ - "spdx-tools-spdxv2_1", - "spdx-tools-spdxv2_2", - "spdx-tools-spdxv2_3", - ], - testSrcs: ["reporter_test.go"], -} diff --git a/yaml/Android.bp b/yaml/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/yaml/Android.bp +++ /dev/null @@ -1,19 +0,0 @@ -// -// Copyright (C) 2023 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package { - default_applicable_licenses: ["Android-Apache-2.0"], - default_visibility: ["//external/spdx-tools:__subpackages__"], -} -- cgit v1.2.3