Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 1 | // Copyright (C) 2020 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 | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 19 | cc_library { |
| 20 | name: "libtrusty_coverage", |
Stephen Crane | c602562 | 2020-12-17 12:52:04 -0800 | [diff] [blame] | 21 | vendor_available: true, |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 22 | srcs: [ |
| 23 | "coverage.cpp", |
Tri Vo | 3c8a004 | 2021-02-26 15:54:47 -0800 | [diff] [blame] | 24 | "uuid.cpp", |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 25 | ], |
| 26 | export_include_dirs: [ |
| 27 | "include", |
| 28 | ], |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 29 | shared_libs: [ |
| 30 | "libbase", |
Tri Vo | 3c8a004 | 2021-02-26 15:54:47 -0800 | [diff] [blame] | 31 | "libext2_uuid", |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 32 | "liblog", |
Stephen Crane | 0d67131 | 2021-01-13 14:05:41 -0800 | [diff] [blame] | 33 | "libdmabufheap", |
Tri Vo | cb89889 | 2021-02-19 21:57:26 -0800 | [diff] [blame] | 34 | "libtrusty", |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 35 | ], |
| 36 | } |
| 37 | |
| 38 | cc_test { |
| 39 | name: "libtrusty_coverage_test", |
| 40 | srcs: [ |
| 41 | "coverage_test.cpp", |
| 42 | ], |
| 43 | static_libs: [ |
| 44 | "libtrusty_coverage", |
Stephen Crane | c602562 | 2020-12-17 12:52:04 -0800 | [diff] [blame] | 45 | "libtrusty", |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 46 | ], |
| 47 | shared_libs: [ |
| 48 | "libbase", |
| 49 | "liblog", |
Stephen Crane | 0d67131 | 2021-01-13 14:05:41 -0800 | [diff] [blame] | 50 | "libdmabufheap", |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 51 | ], |
Stephen Crane | e962930 | 2020-11-16 18:00:53 -0800 | [diff] [blame] | 52 | require_root: true, |
Tri Vo | 5b40e89 | 2020-11-01 13:01:29 -0800 | [diff] [blame] | 53 | } |