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
15# Exclude coverage aggregator and its library dependencies. Otherwise, the
16# service will attempt to connect to itself, deadlocking the whole system.
17src:trusty/user/base/app/coverage/*
18src:trusty/kernel/lib/libc-ext/*
19src:trusty/user/base/lib/coverage/*
20src:trusty/user/base/lib/hwasan/*
21src:trusty/user/base/lib/libc-trusty/*
22src:trusty/user/base/lib/tipc/*
23src:external/trusty/*
24
25# TODO: ipc-unittest makes assumptions about the set of open handles, which
26# won't hold true, since instrumented code opens handles for TIPC and shared
27# memory.
28src:trusty/user/base/lib/unittest/*
29src:trusty/kernel/lib/unittest/*
30
31# NB: Be careful not to exclude trusty/user/base/lib/sancov/test/*. We need it
32# to be instrumented.
33