blob: b470f351f4f2baf033f0757718295dd7ae6c552e [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
Dichen Zhangb27d06d2022-12-14 19:57:50 +000024cc_library {
Dichen Zhang85b37562022-10-11 11:08:28 -070025 name: "libjpegrecoverymap",
Dichen Zhang72fd2b12022-11-01 06:11:50 +000026 host_supported: true,
Dichen Zhang85b37562022-10-11 11:08:28 -070027
28 export_include_dirs: ["include"],
29 local_include_dirs: ["include"],
30
31 srcs: [
Dichen Zhange46f9bb2023-02-23 19:34:53 +000032 "icc.cpp",
Dichen Zhang761b52d2023-02-10 22:38:38 +000033 "jpegr.cpp",
Nick Deakinf6bca5a2022-11-04 10:43:43 -040034 "recoverymapmath.cpp",
Dichen Zhang761b52d2023-02-10 22:38:38 +000035 "jpegrutils.cpp",
Dichen Zhang61ede362023-02-22 18:50:13 +000036 "multipictureformat.cpp",
Dichen Zhang85b37562022-10-11 11:08:28 -070037 ],
Dichen Zhang6947d532022-10-22 02:16:21 +000038
39 shared_libs: [
Dichen Zhang72fd2b12022-11-01 06:11:50 +000040 "libimage_io",
Nick Deakinf6bca5a2022-11-04 10:43:43 -040041 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000042 "libjpegencoder",
43 "libjpegdecoder",
Dichen Zhang53751272023-01-17 19:09:01 -080044 "liblog",
Dichen Zhang61ede362023-02-22 18:50:13 +000045 "libutils",
Dichen Zhang6947d532022-10-22 02:16:21 +000046 ],
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000047}
48
Dichen Zhangb27d06d2022-12-14 19:57:50 +000049cc_library {
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000050 name: "libjpegencoder",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000051 host_supported: true,
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000052
53 shared_libs: [
54 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000055 "liblog",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000056 ],
57
58 export_include_dirs: ["include"],
59
60 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000061 "jpegencoderhelper.cpp",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000062 ],
Dichen Zhang0d12ba82022-10-19 20:44:51 +000063}
64
Dichen Zhangb27d06d2022-12-14 19:57:50 +000065cc_library {
Dichen Zhang0d12ba82022-10-19 20:44:51 +000066 name: "libjpegdecoder",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000067 host_supported: true,
Dichen Zhang0d12ba82022-10-19 20:44:51 +000068
69 shared_libs: [
70 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000071 "liblog",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000072 ],
73
74 export_include_dirs: ["include"],
75
76 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000077 "jpegdecoderhelper.cpp",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000078 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040079}