blob: 6038d449aaf635a4aaa14926622a4937b4f4b728 [file] [log] [blame]
Tri Vo5b40e892020-11-01 13:01:29 -08001// 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
15cc_library {
16 name: "libtrusty_coverage",
Stephen Cranec6025622020-12-17 12:52:04 -080017 vendor_available: true,
Tri Vo5b40e892020-11-01 13:01:29 -080018 srcs: [
19 "coverage.cpp",
20 ],
21 export_include_dirs: [
22 "include",
23 ],
24 static_libs: [
Stephen Cranec6025622020-12-17 12:52:04 -080025 "libtrusty",
Tri Vo5b40e892020-11-01 13:01:29 -080026 ],
Stephen Cranec6025622020-12-17 12:52:04 -080027
Tri Vo5b40e892020-11-01 13:01:29 -080028 shared_libs: [
29 "libbase",
30 "liblog",
31 ],
32}
33
34cc_test {
35 name: "libtrusty_coverage_test",
36 srcs: [
37 "coverage_test.cpp",
38 ],
39 static_libs: [
40 "libtrusty_coverage",
Stephen Cranec6025622020-12-17 12:52:04 -080041 "libtrusty",
Tri Vo5b40e892020-11-01 13:01:29 -080042 ],
43 shared_libs: [
44 "libbase",
45 "liblog",
46 ],
Stephen Cranee9629302020-11-16 18:00:53 -080047 require_root: true,
Tri Vo5b40e892020-11-01 13:01:29 -080048}