blob: bda804ae31f94741deb83002ce261704bc5f6c61 [file] [log] [blame]
Dichen Zhang85b37562022-10-11 11:08:28 -07001// Copyright 2022 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
15package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_native_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_native_license"],
22}
23
24cc_test {
Harish Mahendrakar9b024022023-11-30 20:28:07 +000025 name: "ultrahdr_unit_test",
Dichen Zhang85b37562022-10-11 11:08:28 -070026 test_suites: ["device-tests"],
27 srcs: [
Dichen Zhang10959a42023-04-10 16:28:16 -070028 "gainmapmath_test.cpp",
Nick Deakin0db53ee2023-05-19 17:14:45 -040029 "icchelper_test.cpp",
30 "jpegr_test.cpp",
Harish Mahendrakar9b024022023-11-30 20:28:07 +000031 "jpegencoderhelper_test.cpp",
32 "jpegdecoderhelper_test.cpp",
Dichen Zhang85b37562022-10-11 11:08:28 -070033 ],
Nick Deakin594a4ca2022-11-16 20:57:42 -050034 shared_libs: [
Dichen Zhangb27d06d2022-12-14 19:57:50 +000035 "libimage_io",
Nick Deakin62be1e92023-02-02 16:09:53 -050036 "libjpeg",
Nick Deakin594a4ca2022-11-16 20:57:42 -050037 "liblog",
38 ],
Dichen Zhang85b37562022-10-11 11:08:28 -070039 static_libs: [
Nick Deakin65f492a2022-11-29 22:47:40 -050040 "libgmock",
Nick Deakin594a4ca2022-11-16 20:57:42 -050041 "libgtest",
Nick Deakin62be1e92023-02-02 16:09:53 -050042 "libjpegdecoder",
43 "libjpegencoder",
Dichen Zhangdbceb0e2023-04-14 19:03:18 +000044 "libultrahdr",
Dichen Zhang61ede362023-02-22 18:50:13 +000045 "libutils",
Dichen Zhang85b37562022-10-11 11:08:28 -070046 ],
Harish Mahendrakar9b024022023-11-30 20:28:07 +000047 data: [
48 "./data/*.*",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000049 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040050}