• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_av_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_av_license"],
8}
9
10cc_library_headers {
11    name: "libcodec2_client_headers",
12    export_include_dirs: ["include"],
13    vendor_available: true,
14    apex_available: [
15        "//apex_available:platform",
16        "com.android.media",
17        "com.android.media.swcodec",
18    ],
19    min_sdk_version: "29",
20    host_supported: true,
21    target: {
22        darwin: {
23            enabled: false,
24        },
25    },
26}
27
28cc_library {
29    name: "libcodec2_client",
30
31    srcs: [
32        "client.cpp",
33        "output.cpp",
34    ],
35
36    header_libs: [
37        "libcodec2_internal", // private
38    ],
39
40    shared_libs: [
41        "android.hardware.graphics.bufferqueue@1.0",
42        "android.hardware.media.bufferpool@2.0",
43        "android.hardware.media.c2@1.0",
44        "android.hardware.media.c2@1.1",
45        "android.hardware.media.c2@1.2",
46        "libbase",
47        "libbinder",
48        "libcodec2",
49        "libcodec2_hidl_client@1.0",
50        "libcodec2_hidl_client@1.1",
51        "libcodec2_hidl_client@1.2",
52        "libcodec2_vndk",
53        "libcutils",
54        "libgui",
55        "libhidlbase",
56        "liblog",
57        "libstagefright_bufferpool@2.0.1",
58        "libui",
59        "libutils",
60    ],
61
62    export_include_dirs: [
63        "include",
64    ],
65
66    export_shared_lib_headers: [
67        "android.hardware.media.c2@1.0",
68        "android.hardware.media.c2@1.1",
69        "android.hardware.media.c2@1.2",
70        "libcodec2",
71        "libcodec2_hidl_client@1.0",
72        "libcodec2_hidl_client@1.1",
73        "libcodec2_hidl_client@1.2",
74        "libcodec2_vndk",
75    ],
76
77}
78