1// Copyright 2016 Google Inc. All rights reserved. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: [ 17 "Android-Apache-2.0", 18 "build_soong_third_party_zip_license", 19 ], 20} 21 22license { 23 name: "build_soong_third_party_zip_license", 24 license_kinds: [ 25 "SPDX-license-identifier-BSD", 26 ], 27 license_text: ["LICENSE"], 28} 29 30bootstrap_go_package { 31 name: "android-archive-zip", 32 pkgPath: "android/soong/third_party/zip", 33 srcs: [ 34 "reader.go", 35 "register.go", 36 "struct.go", 37 "writer.go", 38 39 "android.go", 40 ], 41 testSrcs: [ 42 "android_test.go", 43 "reader_test.go", 44 "writer_test.go", 45 "zip_test.go", 46 ], 47} 48