blob: e3f709b7f567d53c5bdeac283246291f68bd3cdb [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 Zhangdbceb0e2023-04-14 19:03:18 +000025 name: "libultrahdr",
Dichen Zhang72fd2b12022-11-01 06:11:50 +000026 host_supported: true,
Dichen Zhang1ae310a2023-03-23 11:56:23 -070027 vendor_available: true,
Dichen Zhang85b37562022-10-11 11:08:28 -070028 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",
Dichen Zhang10959a42023-04-10 16:28:16 -070034 "gainmapmath.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 Zhang1ae310a2023-03-23 11:56:23 -070052 vendor_available: true,
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000053
54 shared_libs: [
55 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000056 "liblog",
Dichen Zhang1ae310a2023-03-23 11:56:23 -070057 "libutils",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000058 ],
59
60 export_include_dirs: ["include"],
61
62 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000063 "jpegencoderhelper.cpp",
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000064 ],
Dichen Zhang0d12ba82022-10-19 20:44:51 +000065}
66
Dichen Zhangb27d06d2022-12-14 19:57:50 +000067cc_library {
Dichen Zhang0d12ba82022-10-19 20:44:51 +000068 name: "libjpegdecoder",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000069 host_supported: true,
Dichen Zhang1ae310a2023-03-23 11:56:23 -070070 vendor_available: true,
Dichen Zhang0d12ba82022-10-19 20:44:51 +000071
72 shared_libs: [
73 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000074 "liblog",
Dichen Zhang1ae310a2023-03-23 11:56:23 -070075 "libutils",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000076 ],
77
78 export_include_dirs: ["include"],
79
80 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000081 "jpegdecoderhelper.cpp",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000082 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040083}