• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5cc_library_shared {
6    name: "libjni_deviceAsWebcam",
7    stl: "c++_static",
8    shared_libs: [
9        "libandroid",
10        "libjpeg",
11        "liblog",
12        "libmediandk",
13        "libnativehelper",
14        "libyuv",
15    ],
16    static_libs: [
17        "libbase_ndk",
18    ],
19    srcs: [
20        "Buffer.cpp",
21        "DeviceAsWebcamNative.cpp",
22        "DeviceAsWebcamServiceManager.cpp",
23        "Encoder.cpp",
24        "SdkFrameProvider.cpp",
25        "UVCProvider.cpp",
26    ],
27    cflags: [
28        "-O3",
29        "-Wextra",
30        "-funroll-loops",
31    ],
32    // for including the jni.h file
33    header_libs: ["jni_headers"],
34}
35