blob: b42e543dedc4e6a243f93799abe60ae8eea3f5a1 [file] [log] [blame]
Wei Li340ee8e2022-03-18 17:33:24 -07001/*
2 * Copyright (C) 2022 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
Bob Badour618eee32022-04-07 10:36:08 -070017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Wei Li340ee8e2022-03-18 17:33:24 -070021python_binary_host {
22 name: "gen_provenance_metadata",
23 srcs: [
24 "gen_provenance_metadata.py",
25 ],
Wei Li340ee8e2022-03-18 17:33:24 -070026 libs: [
27 "provenance_metadata_proto",
28 "libprotobuf-python",
29 ],
30}
31
32python_test_host {
33 name: "gen_provenance_metadata_test",
34 main: "gen_provenance_metadata_test.py",
35 srcs: [
36 "gen_provenance_metadata_test.py",
37 ],
38 data: [
39 ":gen_provenance_metadata",
40 ],
41 libs: [
42 "provenance_metadata_proto",
43 "libprotobuf-python",
44 ],
45 test_suites: ["general-tests"],
46}