Inseob Kim | eb92a49 | 2021-10-14 13:08:27 +0900 | [diff] [blame] | 1 | // Copyright (C) 2021 The Android Open Source Project |
| 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 | 7b1df9e | 2021-11-18 12:53:28 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "system_security_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["system_security_license"], |
| 22 | } |
| 23 | |
Inseob Kim | eb92a49 | 2021-10-14 13:08:27 +0900 | [diff] [blame] | 24 | python_library_host { |
| 25 | name: "fsverity_digests_proto_python", |
| 26 | srcs: [ |
| 27 | "fsverity_digests.proto", |
| 28 | ], |
| 29 | required: [ |
| 30 | "fsverity", |
| 31 | ], |
| 32 | proto: { |
| 33 | canonical_path_from_root: false, |
| 34 | }, |
| 35 | version: { |
| 36 | py2: { |
| 37 | enabled: true, |
| 38 | }, |
| 39 | py3: { |
| 40 | enabled: true, |
| 41 | }, |
| 42 | }, |
| 43 | } |
Victor Hsieh | d3309f5 | 2022-01-05 15:34:20 -0800 | [diff] [blame] | 44 | |
| 45 | rust_protobuf { |
| 46 | name: "libfsverity_digests_proto_rust", |
| 47 | crate_name: "fsverity_digests_proto", |
| 48 | source_stem: "fsverity_digests_proto", |
| 49 | protos: [ |
| 50 | "fsverity_digests.proto", |
| 51 | ], |
| 52 | apex_available: [ |
| 53 | "com.android.compos", |
| 54 | ], |
| 55 | } |
Inseob Kim | 7667122 | 2022-01-20 13:23:36 +0900 | [diff] [blame^] | 56 | |
| 57 | cc_library_static { |
| 58 | name: "libfsverity_digests_proto_cc", |
| 59 | proto: { |
| 60 | type: "lite", |
| 61 | static: true, |
| 62 | canonical_path_from_root: false, |
| 63 | export_proto_headers: true, |
| 64 | }, |
| 65 | srcs: ["fsverity_digests.proto"], |
| 66 | } |