blob: f279d12cdb8b521db7b9b1ea6021cf11ea26266b [file] [log] [blame]
Dan Willemsen3bf1a082016-08-03 00:35:25 -07001// 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 Badour02040de2021-02-03 18:08:28 -080015package {
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
Dan Willemsen3bf1a082016-08-03 00:35:25 -070030bootstrap_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 Willemsena1354b32017-02-17 13:14:43 -080042 "android_test.go",
Dan Willemsen3bf1a082016-08-03 00:35:25 -070043 "reader_test.go",
44 "writer_test.go",
45 "zip_test.go",
46 ],
47}