From d1603414a1f71f7b979ef7de725530c357a9eed7 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Mon, 22 Jan 2024 10:45:39 -0800 Subject: Remove unused go modules. Bug: N/A Test: CIs Change-Id: I5e202a37e49c95588d5fd18de868f205531ebd21 --- examples/1-load/Android.bp | 28 ------------------- examples/10-jsonloader/Android.bp | 25 ----------------- examples/11-yamltotv/Android.bp | 19 ------------- examples/12-tvtoyaml/Android.bp | 19 ------------- examples/13-yamlloader/Android.bp | 19 ------------- examples/2-load-save/Android.bp | 28 ------------------- examples/3-build/Android.bp | 28 ------------------- examples/4-search/Android.bp | 28 ------------------- examples/5-report/Android.bp | 29 -------------------- examples/6-licensediff/Android.bp | 29 -------------------- examples/7-rdfloader/Android.bp | 19 ------------- examples/8-jsontotv/Android.bp | 28 ------------------- examples/9-tvtojson/Android.bp | 28 ------------------- tvloader/Android.bp | 37 ------------------------- tvloader/parser2v1/Android.bp | 57 --------------------------------------- tvloader/parser2v2/Android.bp | 57 --------------------------------------- tvloader/parser2v3/Android.bp | 57 --------------------------------------- tvloader/reader/Android.bp | 29 -------------------- tvsaver/Android.bp | 36 ------------------------- tvsaver/saver2v1/Android.bp | 55 ------------------------------------- tvsaver/saver2v2/Android.bp | 55 ------------------------------------- tvsaver/saver2v3/Android.bp | 55 ------------------------------------- 22 files changed, 765 deletions(-) delete mode 100644 examples/1-load/Android.bp delete mode 100644 examples/10-jsonloader/Android.bp delete mode 100644 examples/11-yamltotv/Android.bp delete mode 100644 examples/12-tvtoyaml/Android.bp delete mode 100644 examples/13-yamlloader/Android.bp delete mode 100644 examples/2-load-save/Android.bp delete mode 100644 examples/3-build/Android.bp delete mode 100644 examples/4-search/Android.bp delete mode 100644 examples/5-report/Android.bp delete mode 100644 examples/6-licensediff/Android.bp delete mode 100644 examples/7-rdfloader/Android.bp delete mode 100644 examples/8-jsontotv/Android.bp delete mode 100644 examples/9-tvtojson/Android.bp delete mode 100644 tvloader/Android.bp delete mode 100644 tvloader/parser2v1/Android.bp delete mode 100644 tvloader/parser2v2/Android.bp delete mode 100644 tvloader/parser2v3/Android.bp delete mode 100644 tvloader/reader/Android.bp delete mode 100644 tvsaver/Android.bp delete mode 100644 tvsaver/saver2v1/Android.bp delete mode 100644 tvsaver/saver2v2/Android.bp delete mode 100644 tvsaver/saver2v3/Android.bp diff --git a/examples/1-load/Android.bp b/examples/1-load/Android.bp deleted file mode 100644 index b02336f..0000000 --- a/examples/1-load/Android.bp +++ /dev/null @@ -1,28 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-example_load", - srcs: ["example_load.go"], - deps: [ - "spdx-tools-spdxlib", - "spdx-tools-tvloader", - ], -} diff --git a/examples/10-jsonloader/Android.bp b/examples/10-jsonloader/Android.bp deleted file mode 100644 index 7eddaf4..0000000 --- a/examples/10-jsonloader/Android.bp +++ /dev/null @@ -1,25 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-example_json_loader", - srcs: ["example_json_loader.go"], - deps: ["spdx-tools-spdx-json"], -} diff --git a/examples/11-yamltotv/Android.bp b/examples/11-yamltotv/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/examples/11-yamltotv/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/examples/12-tvtoyaml/Android.bp b/examples/12-tvtoyaml/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/examples/12-tvtoyaml/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/examples/13-yamlloader/Android.bp b/examples/13-yamlloader/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/examples/13-yamlloader/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/examples/2-load-save/Android.bp b/examples/2-load-save/Android.bp deleted file mode 100644 index 6e144d2..0000000 --- a/examples/2-load-save/Android.bp +++ /dev/null @@ -1,28 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-example_load_save", - srcs: ["example_load_save.go"], - deps: [ - "spdx-tools-tvloader", - "spdx-tools-tvsaver", - ], -} diff --git a/examples/3-build/Android.bp b/examples/3-build/Android.bp deleted file mode 100644 index a55b162..0000000 --- a/examples/3-build/Android.bp +++ /dev/null @@ -1,28 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-example_build", - srcs: ["example_build.go"], - deps: [ - "spdx-tools-builder", - "spdx-tools-tvsaver", - ], -} diff --git a/examples/4-search/Android.bp b/examples/4-search/Android.bp deleted file mode 100644 index 9383bb5..0000000 --- a/examples/4-search/Android.bp +++ /dev/null @@ -1,28 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-example_search", - srcs: ["example_search.go"], - deps: [ - "spdx-tools-idsearcher", - "spdx-tools-tvsaver", - ], -} diff --git a/examples/5-report/Android.bp b/examples/5-report/Android.bp deleted file mode 100644 index f62b9cd..0000000 --- a/examples/5-report/Android.bp +++ /dev/null @@ -1,29 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-example_report", - srcs: ["example_report.go"], - deps: [ - "spdx-tools-reporter", - "spdx-tools-spdxlib", - "spdx-tools-tvloader", - ], -} diff --git a/examples/6-licensediff/Android.bp b/examples/6-licensediff/Android.bp deleted file mode 100644 index 67ba5e1..0000000 --- a/examples/6-licensediff/Android.bp +++ /dev/null @@ -1,29 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-example_licensediff", - srcs: ["example_licensediff.go"], - deps: [ - "spdx-tools-licensediff", - "spdx-tools-spdxlib", - "spdx-tools-tvloader", - ], -} diff --git a/examples/7-rdfloader/Android.bp b/examples/7-rdfloader/Android.bp deleted file mode 100644 index 897e810..0000000 --- a/examples/7-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/examples/8-jsontotv/Android.bp b/examples/8-jsontotv/Android.bp deleted file mode 100644 index efb08e7..0000000 --- a/examples/8-jsontotv/Android.bp +++ /dev/null @@ -1,28 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-examplejsontotv", - srcs: ["examplejsontotv.go"], - deps: [ - "spdx-tools-spdx-json", - "spdx-tools-tvsaver", - ], -} diff --git a/examples/9-tvtojson/Android.bp b/examples/9-tvtojson/Android.bp deleted file mode 100644 index b043cbd..0000000 --- a/examples/9-tvtojson/Android.bp +++ /dev/null @@ -1,28 +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__"], -} - -blueprint_go_binary { - name: "spdx-tools-exampletvtojson", - srcs: ["exampletvtojson.go"], - deps: [ - "spdx-tools-spdx-json", - "spdx-tools-tvloader", - ], -} diff --git a/tvloader/Android.bp b/tvloader/Android.bp deleted file mode 100644 index 3691ed8..0000000 --- a/tvloader/Android.bp +++ /dev/null @@ -1,37 +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-tvloader", - pkgPath: "github.com/spdx/tools-golang/tvloader", - srcs: ["tvloader.go"], - deps: [ - "spdx-tools-spdxv2_1", - "spdx-tools-spdxv2_2", - "spdx-tools-spdxv2_3", - "spdx-tools-tvloader_parser2v1", - "spdx-tools-tvloader_parser2v2", - "spdx-tools-tvloader_parser2v3", - "spdx-tools-reader", - ], -} diff --git a/tvloader/parser2v1/Android.bp b/tvloader/parser2v1/Android.bp deleted file mode 100644 index 5dc82a5..0000000 --- a/tvloader/parser2v1/Android.bp +++ /dev/null @@ -1,57 +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-tvloader_parser2v1", - pkgPath: "github.com/spdx/tools-golang/tvloader/parser2v1", - srcs: [ - "parse_annotation.go", - "parse_creation_info.go", - "parse_file.go", - "parse_other_license.go", - "parse_package.go", - "parse_relationship.go", - "parse_review.go", - "parse_snippet.go", - "parser.go", - "types.go", - "util.go", - ], - deps: [ - "spdx-tools-spdxcommon", - "spdx-tools-spdxv2_1", - "spdx-tools-reader", - ], - testSrcs: [ - "parse_annotation_test.go", - "parse_creation_info_test.go", - "parse_file_test.go", - "parse_other_license_test.go", - "parse_package_test.go", - "parse_relationship_test.go", - "parse_review_test.go", - "parse_snippet_test.go", - "parser_test.go", - "util_test.go", - ], -} diff --git a/tvloader/parser2v2/Android.bp b/tvloader/parser2v2/Android.bp deleted file mode 100644 index 104b7e0..0000000 --- a/tvloader/parser2v2/Android.bp +++ /dev/null @@ -1,57 +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-tvloader_parser2v2", - pkgPath: "github.com/spdx/tools-golang/tvloader/parser2v2", - srcs: [ - "parse_annotation.go", - "parse_creation_info.go", - "parse_file.go", - "parse_other_license.go", - "parse_package.go", - "parse_relationship.go", - "parse_review.go", - "parse_snippet.go", - "parser.go", - "types.go", - "util.go", - ], - deps: [ - "spdx-tools-spdxcommon", - "spdx-tools-spdxv2_2", - "spdx-tools-reader", - ], - testSrcs: [ - "parse_annotation_test.go", - "parse_creation_info_test.go", - "parse_file_test.go", - "parse_other_license_test.go", - "parse_package_test.go", - "parse_relationship_test.go", - "parse_review_test.go", - "parse_snippet_test.go", - "parser_test.go", - "util_test.go", - ], -} diff --git a/tvloader/parser2v3/Android.bp b/tvloader/parser2v3/Android.bp deleted file mode 100644 index a467e48..0000000 --- a/tvloader/parser2v3/Android.bp +++ /dev/null @@ -1,57 +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-tvloader_parser2v3", - pkgPath: "github.com/spdx/tools-golang/tvloader/parser2v3", - srcs: [ - "parse_annotation.go", - "parse_creation_info.go", - "parse_file.go", - "parse_other_license.go", - "parse_package.go", - "parse_relationship.go", - "parse_review.go", - "parse_snippet.go", - "parser.go", - "types.go", - "util.go", - ], - deps: [ - "spdx-tools-spdxcommon", - "spdx-tools-spdxv2_3", - "spdx-tools-reader", - ], - testSrcs: [ - "parse_annotation_test.go", - "parse_creation_info_test.go", - "parse_file_test.go", - "parse_other_license_test.go", - "parse_package_test.go", - "parse_relationship_test.go", - "parse_review_test.go", - "parse_snippet_test.go", - "parser_test.go", - "util_test.go", - ], -} diff --git a/tvloader/reader/Android.bp b/tvloader/reader/Android.bp deleted file mode 100644 index f6705bb..0000000 --- a/tvloader/reader/Android.bp +++ /dev/null @@ -1,29 +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-reader", - pkgPath: "github.com/spdx/tools-golang/tvloader/reader", - srcs: ["reader.go"], - testSrcs: ["reader_test.go"], -} diff --git a/tvsaver/Android.bp b/tvsaver/Android.bp deleted file mode 100644 index fbf0b5f..0000000 --- a/tvsaver/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-tvsaver", - pkgPath: "github.com/spdx/tools-golang/tvsaver", - srcs: ["tvsaver.go"], - deps: [ - "spdx-tools-spdxv2_1", - "spdx-tools-spdxv2_2", - "spdx-tools-spdxv2_3", - "spdx-tools-saver2v1", - "spdx-tools-saver2v2", - "spdx-tools-saver2v3", - ], -} diff --git a/tvsaver/saver2v1/Android.bp b/tvsaver/saver2v1/Android.bp deleted file mode 100644 index ce03e2b..0000000 --- a/tvsaver/saver2v1/Android.bp +++ /dev/null @@ -1,55 +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-saver2v1", - pkgPath: "github.com/spdx/tools-golang/tvsaver/saver2v1", - srcs: [ - "save_annotation.go", - "save_creation_info.go", - "save_document.go", - "save_file.go", - "save_other_license.go", - "save_package.go", - "save_relationship.go", - "save_review.go", - "save_snippet.go", - "util.go", - ], - deps: [ - "spdx-tools-spdxcommon", - "spdx-tools-spdxv2_1", - ], - testSrcs: [ - "save_annotation_test.go", - "save_creation_info_test.go", - "save_document_test.go", - "save_file_test.go", - "save_other_license_test.go", - "save_package_test.go", - "save_relationship_test.go", - "save_review_test.go", - "save_snippet_test.go", - "util_test.go", - ], -} diff --git a/tvsaver/saver2v2/Android.bp b/tvsaver/saver2v2/Android.bp deleted file mode 100644 index ba2fdc9..0000000 --- a/tvsaver/saver2v2/Android.bp +++ /dev/null @@ -1,55 +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-saver2v2", - pkgPath: "github.com/spdx/tools-golang/tvsaver/saver2v2", - srcs: [ - "save_annotation.go", - "save_creation_info.go", - "save_document.go", - "save_file.go", - "save_other_license.go", - "save_package.go", - "save_relationship.go", - "save_review.go", - "save_snippet.go", - "util.go", - ], - deps: [ - "spdx-tools-spdxcommon", - "spdx-tools-spdxv2_2", - ], - testSrcs: [ - "save_annotation_test.go", - "save_creation_info_test.go", - "save_document_test.go", - "save_file_test.go", - "save_other_license_test.go", - "save_package_test.go", - "save_relationship_test.go", - "save_review_test.go", - "save_snippet_test.go", - "util_test.go", - ], -} diff --git a/tvsaver/saver2v3/Android.bp b/tvsaver/saver2v3/Android.bp deleted file mode 100644 index 7191524..0000000 --- a/tvsaver/saver2v3/Android.bp +++ /dev/null @@ -1,55 +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-saver2v3", - pkgPath: "github.com/spdx/tools-golang/tvsaver/saver2v3", - srcs: [ - "save_annotation.go", - "save_creation_info.go", - "save_document.go", - "save_file.go", - "save_other_license.go", - "save_package.go", - "save_relationship.go", - "save_review.go", - "save_snippet.go", - "util.go", - ], - deps: [ - "spdx-tools-spdxcommon", - "spdx-tools-spdxv2_3", - ], - testSrcs: [ - "save_annotation_test.go", - "save_creation_info_test.go", - "save_document_test.go", - "save_file_test.go", - "save_other_license_test.go", - "save_package_test.go", - "save_relationship_test.go", - "save_review_test.go", - "save_snippet_test.go", - "util_test.go", - ], -} -- cgit v1.2.3