1/*
2 * Copyright (C) 2019 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_library_static {
18    name: "libmediabenchmark_decoder",
19    defaults: [
20        "libmediabenchmark_common-defaults",
21        "libmediabenchmark_soft_sanitize_all-defaults",
22    ],
23
24    srcs: ["Decoder.cpp"],
25
26    static_libs: ["libmediabenchmark_extractor"],
27
28    export_include_dirs: ["."],
29
30    ldflags: ["-Wl,-Bsymbolic"],
31}
32
33cc_library_static {
34    name: "libmediabenchmark_codec2_decoder",
35    defaults: [
36        "libmediabenchmark_codec2_common-defaults",
37    ],
38
39    srcs: [
40        "C2Decoder.cpp",
41        "Decoder.cpp",
42    ],
43
44    static_libs: [
45        "libmediabenchmark_codec2_common",
46        "libmediabenchmark_codec2_extractor",
47    ],
48
49    export_include_dirs: ["."],
50
51    ldflags: ["-Wl,-Bsymbolic"],
52}
53