blob: 0c03ede9e8aa84753533d2995d190c6a4cc73a01 [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 Zhang761b52d2023-02-10 22:38:38 +000032 "jpegr.cpp",
Nick Deakinf6bca5a2022-11-04 10:43:43 -040033 "recoverymapmath.cpp",
Dichen Zhang761b52d2023-02-10 22:38:38 +000034 "jpegrutils.cpp",
Dichen Zhang61ede362023-02-22 18:50:13 +000035 "multipictureformat.cpp",
Dichen Zhang85b37562022-10-11 11:08:28 -070036 ],
Dichen Zhang6947d532022-10-22 02:16:21 +000037
38 shared_libs: [
Dichen Zhang72fd2b12022-11-01 06:11:50 +000039 "libimage_io",
Nick Deakinf6bca5a2022-11-04 10:43:43 -040040 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000041 "libjpegencoder",
42 "libjpegdecoder",
Dichen Zhang53751272023-01-17 19:09:01 -080043 "liblog",
Dichen Zhang61ede362023-02-22 18:50:13 +000044 "libutils",
Dichen Zhang6947d532022-10-22 02:16:21 +000045 ],
Dichen Zhang6438a192023-01-29 07:51:15 +000046
47 static_libs: ["libskia"],
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000048}
49
Dichen Zhangb27d06d2022-12-14 19:57:50 +000050cc_library {
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000051 name: "libjpegencoder",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000052 host_supported: true,
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000053
54 shared_libs: [
55 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000056 "liblog",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000057 ],
58
59 export_include_dirs: ["include"],
60
61 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000062 "jpegencoderhelper.cpp",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000063 ],
Dichen Zhang0d12ba82022-10-19 20:44:51 +000064}
65
Dichen Zhangb27d06d2022-12-14 19:57:50 +000066cc_library {
Dichen Zhang0d12ba82022-10-19 20:44:51 +000067 name: "libjpegdecoder",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000068 host_supported: true,
Dichen Zhang0d12ba82022-10-19 20:44:51 +000069
70 shared_libs: [
71 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000072 "liblog",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000073 ],
74
75 export_include_dirs: ["include"],
76
77 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000078 "jpegdecoderhelper.cpp",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000079 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040080}