• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_encoder",
19    defaults: [
20        "libmediabenchmark_common-defaults",
21        "libmediabenchmark_soft_sanitize_all-defaults",
22    ],
23
24    srcs: ["Encoder.cpp"],
25
26    static_libs: [
27        "libmediabenchmark_extractor",
28        "libmediabenchmark_decoder",
29    ],
30
31    export_include_dirs: ["."],
32
33    ldflags: ["-Wl,-Bsymbolic"],
34}
35
36cc_library_static {
37    name: "libmediabenchmark_codec2_encoder",
38    defaults: [
39        "libmediabenchmark_codec2_common-defaults",
40    ],
41
42    srcs: ["C2Encoder.cpp"],
43
44    static_libs: [
45        "libmediabenchmark_codec2_common",
46        "libmediabenchmark_codec2_extractor",
47        "libmediabenchmark_codec2_decoder",
48    ],
49
50    export_include_dirs: ["."],
51
52    ldflags: ["-Wl,-Bsymbolic"],
53}
54