Dan Willemsen | 3bf1a08 | 2016-08-03 00:35:25 -0700 | [diff] [blame] | 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 | |
Bob Badour | 02040de | 2021-02-03 18:08:28 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: [ |
| 17 | "Android-Apache-2.0", |
| 18 | "build_soong_third_party_zip_license", |
| 19 | ], |
| 20 | } |
| 21 | |
| 22 | license { |
| 23 | name: "build_soong_third_party_zip_license", |
| 24 | license_kinds: [ |
| 25 | "SPDX-license-identifier-BSD", |
| 26 | ], |
| 27 | license_text: ["LICENSE"], |
| 28 | } |
| 29 | |
Dan Willemsen | 3bf1a08 | 2016-08-03 00:35:25 -0700 | [diff] [blame] | 30 | bootstrap_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: [ |
Dan Willemsen | a1354b3 | 2017-02-17 13:14:43 -0800 | [diff] [blame] | 42 | "android_test.go", |
Dan Willemsen | 3bf1a08 | 2016-08-03 00:35:25 -0700 | [diff] [blame] | 43 | "reader_test.go", |
| 44 | "writer_test.go", |
| 45 | "zip_test.go", |
| 46 | ], |
| 47 | } |