Bob Badour | a99ac62 | 2021-10-25 16:21:00 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2021 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
| 16 | package { |
| 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 18 | } |
| 19 | |
| 20 | bootstrap_go_package { |
| 21 | name: "compliance-module", |
| 22 | srcs: [ |
| 23 | "actionset.go", |
| 24 | "condition.go", |
| 25 | "conditionset.go", |
| 26 | "graph.go", |
Bob Badour | 9ee7d03 | 2021-10-25 16:51:48 -0700 | [diff] [blame] | 27 | "policy/policy.go", |
| 28 | "policy/resolve.go", |
| 29 | "policy/resolvenotices.go", |
| 30 | "policy/resolveshare.go", |
| 31 | "policy/resolveprivacy.go", |
| 32 | "policy/shareprivacyconflicts.go", |
| 33 | "policy/shipped.go", |
| 34 | "policy/walk.go", |
Bob Badour | a99ac62 | 2021-10-25 16:21:00 -0700 | [diff] [blame] | 35 | "readgraph.go", |
| 36 | "resolution.go", |
| 37 | "resolutionset.go", |
| 38 | ], |
| 39 | testSrcs: [ |
| 40 | "condition_test.go", |
| 41 | "conditionset_test.go", |
| 42 | "readgraph_test.go", |
Bob Badour | 9ee7d03 | 2021-10-25 16:51:48 -0700 | [diff] [blame] | 43 | "policy/policy_test.go", |
| 44 | "policy/resolve_test.go", |
| 45 | "policy/resolvenotices_test.go", |
| 46 | "policy/resolveshare_test.go", |
| 47 | "policy/resolveprivacy_test.go", |
| 48 | "policy/shareprivacyconflicts_test.go", |
| 49 | "policy/shipped_test.go", |
| 50 | "policy/walk_test.go", |
Bob Badour | a99ac62 | 2021-10-25 16:21:00 -0700 | [diff] [blame] | 51 | "resolutionset_test.go", |
| 52 | "test_util.go", |
| 53 | ], |
| 54 | deps: [ |
| 55 | "golang-protobuf-proto", |
| 56 | "golang-protobuf-encoding-prototext", |
| 57 | "license_metadata_proto", |
| 58 | ], |
| 59 | pkgPath: "compliance", |
| 60 | } |