1package {
2    default_applicable_licenses: ["packages_apps_Camera2_license"],
3}
4
5// See: http://go/android-license-faq
6license {
7    name: "packages_apps_Camera2_license",
8    visibility: [":__subpackages__"],
9    license_kinds: [
10        "SPDX-license-identifier-Apache-2.0",
11    ],
12    license_text: [
13        "NOTICE",
14    ],
15}
16
17// TinyPlanet
18cc_library_shared {
19    name: "libjni_tinyplanet",
20    shared_libs: [
21        "liblog",
22        "libjnigraphics",
23    ],
24    sdk_version: "17",
25    srcs: ["tinyplanet.cc"],
26    product_specific: true,
27    cflags: [
28        "-ffast-math",
29        "-O3",
30        "-funroll-loops",
31        "-Wextra",
32    ],
33    arch: {
34        arm: {
35            instruction_set: "arm",
36        },
37    },
38    // for including the jni.h file
39    header_libs: ["jni_headers"],
40}
41
42// JpegUtil
43cc_library_shared {
44    name: "libjni_jpegutil",
45    stl: "c++_static",
46    shared_libs: [
47        "liblog",
48        "libdl",
49        "libjnigraphics",
50    ],
51    sdk_version: "17",
52    product_specific: true,
53    srcs: [
54        "jpegutil.cpp",
55        "jpegutilnative.cpp",
56    ],
57    static_libs: ["libjpeg_static_ndk"],
58    cflags: [
59        "-ffast-math",
60        "-O3",
61        "-funroll-loops",
62        "-Wextra",
63    ],
64    arch: {
65        arm: {
66            instruction_set: "arm",
67        },
68    },
69    // for including the jni.h file
70    header_libs: ["jni_headers"],
71}
72