blob: 1853e83a01891ff4e7408903b8daccdffa1905b8 [file] [log] [blame]
Bob Badoura99ac622021-10-25 16:21:00 -07001//
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
16package {
17 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
Bob Badourfa739da2021-10-25 16:21:00 -070020blueprint_go_binary {
21 name: "dumpgraph",
22 srcs: ["cmd/dumpgraph.go"],
23 deps: ["compliance-module"],
24 testSrcs: ["cmd/dumpgraph_test.go"],
25}
26
Bob Badoura99ac622021-10-25 16:21:00 -070027bootstrap_go_package {
28 name: "compliance-module",
29 srcs: [
30 "actionset.go",
31 "condition.go",
32 "conditionset.go",
33 "graph.go",
Bob Badour9ee7d032021-10-25 16:51:48 -070034 "policy/policy.go",
35 "policy/resolve.go",
36 "policy/resolvenotices.go",
37 "policy/resolveshare.go",
38 "policy/resolveprivacy.go",
39 "policy/shareprivacyconflicts.go",
40 "policy/shipped.go",
41 "policy/walk.go",
Bob Badoura99ac622021-10-25 16:21:00 -070042 "readgraph.go",
43 "resolution.go",
44 "resolutionset.go",
45 ],
46 testSrcs: [
47 "condition_test.go",
48 "conditionset_test.go",
49 "readgraph_test.go",
Bob Badour9ee7d032021-10-25 16:51:48 -070050 "policy/policy_test.go",
51 "policy/resolve_test.go",
52 "policy/resolvenotices_test.go",
53 "policy/resolveshare_test.go",
54 "policy/resolveprivacy_test.go",
55 "policy/shareprivacyconflicts_test.go",
56 "policy/shipped_test.go",
57 "policy/walk_test.go",
Bob Badoura99ac622021-10-25 16:21:00 -070058 "resolutionset_test.go",
59 "test_util.go",
60 ],
61 deps: [
62 "golang-protobuf-proto",
63 "golang-protobuf-encoding-prototext",
64 "license_metadata_proto",
65 ],
66 pkgPath: "compliance",
67}