blob: ac49751ea09b3f3452bc649763e76ce6e01341ed [file] [log] [blame]
Tri Voe8823ff2020-10-13 21:59:07 -07001// 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_defaults {
16 name: "trusty_fuzzer_defaults",
Tri Voe8823ff2020-10-13 21:59:07 -070017 shared_libs: [
Tri Vo90c0e832020-11-18 16:17:09 -080018 "libtrusty_fuzz_utils",
Tri Voe8823ff2020-10-13 21:59:07 -070019 "libbase",
20 "liblog",
21 ],
22 cflags: [
23 "-Wall",
24 "-Werror",
25 ],
26 fuzz_config: {
27 fuzz_on_haiku_device: false,
28 fuzz_on_haiku_host: false,
29 },
30}
31
32cc_library {
33 name: "libtrusty_fuzz_utils",
34 srcs: ["utils.cpp"],
35 export_include_dirs: ["include"],
36 shared_libs: [
Tri Vo90c0e832020-11-18 16:17:09 -080037 "libtrusty_test",
Tri Voe8823ff2020-10-13 21:59:07 -070038 "libbase",
39 "liblog",
40 ],
41}