blob: 8f37954841cfd03ebbe87ab725ea64ef6a778cba [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",
29 ],
Nick Deakin594a4ca2022-11-16 20:57:42 -050030 shared_libs: [
31 "libimage_io",
32 "libjpeg",
33 "liblog",
34 ],
Dichen Zhang85b37562022-10-11 11:08:28 -070035 static_libs: [
Nick Deakin594a4ca2022-11-16 20:57:42 -050036 "libgtest",
37 "libjpegdecoder",
38 "libjpegencoder",
Dichen Zhang85b37562022-10-11 11:08:28 -070039 "libjpegrecoverymap",
40 ],
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",
51 "liblog",
52 ],
53 static_libs: [
54 "libjpegencoder",
55 "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",
67 "liblog",
68 ],
69 static_libs: [
70 "libjpegdecoder",
71 "libgtest",
72 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040073}