blob: cad273e437fe611fd45e1052b7fe42cd5f29bad8 [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: [
28 "recoverymap_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: [
Nick Deakin594a4ca2022-11-16 20:57:42 -050032 "libjpeg",
Dichen Zhang6438a192023-01-29 07:51:15 +000033 "libjpegrecoverymap",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000034 "libimage_io",
Nick Deakin594a4ca2022-11-16 20:57:42 -050035 "liblog",
36 ],
Dichen Zhang85b37562022-10-11 11:08:28 -070037 static_libs: [
Nick Deakin65f492a2022-11-29 22:47:40 -050038 "libgmock",
Nick Deakin594a4ca2022-11-16 20:57:42 -050039 "libgtest",
Dichen Zhang85b37562022-10-11 11:08:28 -070040 ],
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000041}
42
43cc_test {
44 name: "libjpegencoder_test",
45 test_suites: ["device-tests"],
46 srcs: [
47 "jpegencoder_test.cpp",
48 ],
49 shared_libs: [
50 "libjpeg",
Dichen Zhang6438a192023-01-29 07:51:15 +000051 "libjpegencoder",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000052 "liblog",
53 ],
54 static_libs: [
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000055 "libgtest",
56 ],
Dichen Zhang0d12ba82022-10-19 20:44:51 +000057}
58
59cc_test {
60 name: "libjpegdecoder_test",
61 test_suites: ["device-tests"],
62 srcs: [
63 "jpegdecoder_test.cpp",
64 ],
65 shared_libs: [
66 "libjpeg",
Dichen Zhang6438a192023-01-29 07:51:15 +000067 "libjpegdecoder",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000068 "liblog",
69 ],
70 static_libs: [
Dichen Zhang0d12ba82022-10-19 20:44:51 +000071 "libgtest",
72 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040073}