blob: 5a4edb2a25cfd8ce5367bb5e089e2eafec27600c [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 {
25 name: "libjpegrecoverymap_test",
26 test_suites: ["device-tests"],
27 srcs: [
Dichen Zhang761b52d2023-02-10 22:38:38 +000028 "jpegr_test.cpp",
Nick Deakin65f492a2022-11-29 22:47:40 -050029 "recoverymapmath_test.cpp",
Dichen Zhang85b37562022-10-11 11:08:28 -070030 ],
Nick Deakin594a4ca2022-11-16 20:57:42 -050031 shared_libs: [
Dichen Zhangb27d06d2022-12-14 19:57:50 +000032 "libimage_io",
Nick Deakin62be1e92023-02-02 16:09:53 -050033 "libjpeg",
Nick Deakin594a4ca2022-11-16 20:57:42 -050034 "liblog",
35 ],
Dichen Zhang85b37562022-10-11 11:08:28 -070036 static_libs: [
Nick Deakin65f492a2022-11-29 22:47:40 -050037 "libgmock",
Nick Deakin594a4ca2022-11-16 20:57:42 -050038 "libgtest",
Nick Deakin62be1e92023-02-02 16:09:53 -050039 "libjpegdecoder",
40 "libjpegencoder",
41 "libjpegrecoverymap",
42 "libskia",
Dichen Zhang85b37562022-10-11 11:08:28 -070043 ],
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000044}
45
46cc_test {
Dichen Zhang02dd0592023-02-10 20:16:57 +000047 name: "libjpegencoderhelper_test",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000048 test_suites: ["device-tests"],
49 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000050 "jpegencoderhelper_test.cpp",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000051 ],
52 shared_libs: [
53 "libjpeg",
54 "liblog",
55 ],
56 static_libs: [
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000057 "libgtest",
Nick Deakin62be1e92023-02-02 16:09:53 -050058 "libjpegencoder",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000059 ],
Dichen Zhang0d12ba82022-10-19 20:44:51 +000060}
61
62cc_test {
Dichen Zhang02dd0592023-02-10 20:16:57 +000063 name: "libjpegdecoderhelper_test",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000064 test_suites: ["device-tests"],
65 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000066 "jpegdecoderhelper_test.cpp",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000067 ],
68 shared_libs: [
69 "libjpeg",
70 "liblog",
71 ],
72 static_libs: [
Dichen Zhang0d12ba82022-10-19 20:44:51 +000073 "libgtest",
Nick Deakin62be1e92023-02-02 16:09:53 -050074 "libjpegdecoder",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000075 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040076}