blob: 61b3db9c62e117c7a08cb9924ee5de459fc86ef8 [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 Zhang61ede362023-02-22 18:50:13 +000043 "libutils",
Dichen Zhang85b37562022-10-11 11:08:28 -070044 ],
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000045}
46
47cc_test {
Dichen Zhang02dd0592023-02-10 20:16:57 +000048 name: "libjpegencoderhelper_test",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000049 test_suites: ["device-tests"],
50 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000051 "jpegencoderhelper_test.cpp",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000052 ],
53 shared_libs: [
54 "libjpeg",
55 "liblog",
56 ],
57 static_libs: [
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000058 "libgtest",
Nick Deakin62be1e92023-02-02 16:09:53 -050059 "libjpegencoder",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000060 ],
Dichen Zhang0d12ba82022-10-19 20:44:51 +000061}
62
63cc_test {
Dichen Zhang02dd0592023-02-10 20:16:57 +000064 name: "libjpegdecoderhelper_test",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000065 test_suites: ["device-tests"],
66 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000067 "jpegdecoderhelper_test.cpp",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000068 ],
69 shared_libs: [
70 "libjpeg",
71 "liblog",
72 ],
73 static_libs: [
Dichen Zhang0d12ba82022-10-19 20:44:51 +000074 "libgtest",
Nick Deakin62be1e92023-02-02 16:09:53 -050075 "libjpegdecoder",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000076 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040077}