1// Copyright (C) 2013 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15
16package {
17    // See: http://go/android-license-faq
18    // A large-scale-change added 'default_applicable_licenses' to import
19    // all of the 'license_kinds' from "frameworks_base_license"
20    // to get the below license kinds:
21    //   SPDX-license-identifier-Apache-2.0
22    default_applicable_licenses: ["frameworks_base_license"],
23}
24
25cc_test_library {
26    name: "libsmartcamera_jni",
27    sdk_version: "14",
28    srcs: [
29        "contrast.cpp",
30        "brightness.cpp",
31        "exposure.cpp",
32        "colorspace.cpp",
33        "histogram.cpp",
34        "frametovalues.cpp",
35        "pixelutils.cpp",
36        "sobeloperator.cpp",
37        "stats_scorer.cpp",
38    ],
39    cflags: [
40        "-Wall",
41        "-Wextra",
42        "-Werror",
43        "-Wno-unused-parameter",
44    ],
45    header_libs: ["jni_headers"],
46    stl: "c++_static",
47}
48