xref: /aosp_15_r20/tools/security/fuzzing/llm/xz_fuzzer/Android.bp (revision d9ecfb0f4d734c9ce41cde8ac4d585b094fd4222)
1/*
2 * Copyright (C) 2024 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17cc_fuzz {
18    name: "xz_decoder_fuzzer",
19    srcs: [
20        "xz_decoder_fuzzer.cpp",
21    ],
22
23    static_libs: [
24        "libxz",
25    ],
26
27    fuzz_config: {
28        cc: [
29            "[email protected]",
30        ],
31        componentid: 330367,
32    },
33
34    include_dirs: [
35        "external/xz-embedded/linux/include/linux/",
36        "external/xz-embedded/linux/lib/xz/",
37    ],
38
39    corpus: ["xz_corpus/*"],
40    dictionary: "xz_fuzzer.dict",
41}
42