diff options
Diffstat (limited to 'builder')
-rw-r--r-- | builder/Android.bp | 35 | ||||
-rw-r--r-- | builder/builder2v1/Android.bp | 44 | ||||
-rw-r--r-- | builder/builder2v2/Android.bp | 44 | ||||
-rw-r--r-- | builder/builder2v3/Android.bp | 44 |
4 files changed, 167 insertions, 0 deletions
diff --git a/builder/Android.bp b/builder/Android.bp new file mode 100644 index 0000000..4f57937 --- /dev/null +++ b/builder/Android.bp @@ -0,0 +1,35 @@ +// +// 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-builder", + pkgPath: "github.com/spdx/tools-golang/builder", + srcs: ["build.go"], + deps: [ + "spdx-tools-builder2v1", + "spdx-tools-builder2v2", + "spdx-tools-builder2v3", + "spdx-tools-spdxv2_3", + ], + testSrcs: ["build_test.go"], +} diff --git a/builder/builder2v1/Android.bp b/builder/builder2v1/Android.bp new file mode 100644 index 0000000..753f4a0 --- /dev/null +++ b/builder/builder2v1/Android.bp @@ -0,0 +1,44 @@ +// +// 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-builder2v1", + pkgPath: "github.com/spdx/tools-golang/builder/builder2v1", + srcs: [ + "build_creation_info.go", + "build_file.go", + "build_package.go", + "build_relationship.go", + ], + deps: [ + "spdx-tools-spdxcommon", + "spdx-tools-spdxv2_1", + "spdx-tools-utils", + ], + testSrcs: [ + "build_creation_info_test.go", + "build_file_test.go", + "build_package_test.go", + "build_relationship_test.go", + ], +} diff --git a/builder/builder2v2/Android.bp b/builder/builder2v2/Android.bp new file mode 100644 index 0000000..d77ccaf --- /dev/null +++ b/builder/builder2v2/Android.bp @@ -0,0 +1,44 @@ +// +// 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-builder2v2", + pkgPath: "github.com/spdx/tools-golang/builder/builder2v2", + srcs: [ + "build_creation_info.go", + "build_file.go", + "build_package.go", + "build_relationship.go", + ], + deps: [ + "spdx-tools-spdxcommon", + "spdx-tools-spdxv2_2", + "spdx-tools-utils", + ], + testSrcs: [ + "build_creation_info_test.go", + "build_file_test.go", + "build_package_test.go", + "build_relationship_test.go", + ], +} diff --git a/builder/builder2v3/Android.bp b/builder/builder2v3/Android.bp new file mode 100644 index 0000000..2646d0c --- /dev/null +++ b/builder/builder2v3/Android.bp @@ -0,0 +1,44 @@ +// +// 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-builder2v3", + pkgPath: "github.com/spdx/tools-golang/builder/builder2v3", + srcs: [ + "build_creation_info.go", + "build_file.go", + "build_package.go", + "build_relationship.go", + ], + deps: [ + "spdx-tools-spdxcommon", + "spdx-tools-spdxv2_3", + "spdx-tools-utils", + ], + testSrcs: [ + "build_creation_info_test.go", + "build_file_test.go", + "build_package_test.go", + "build_relationship_test.go", + ], +} |