blob: 9deba01dc852496cade741b3e08bde3277ce415d [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
Eino-Ville Talvalac25d8b82023-07-21 15:30:56 -070017 default_applicable_licenses: [
18 "frameworks_native_license",
19 "adobe_hdr_gain_map_license",
20 ],
Dichen Zhang85b37562022-10-11 11:08:28 -070021}
22
Dichen Zhangb27d06d2022-12-14 19:57:50 +000023cc_library {
Dichen Zhangdbceb0e2023-04-14 19:03:18 +000024 name: "libultrahdr",
Dichen Zhang72fd2b12022-11-01 06:11:50 +000025 host_supported: true,
Dichen Zhang1ae310a2023-03-23 11:56:23 -070026 vendor_available: true,
Dichen Zhang85b37562022-10-11 11:08:28 -070027 export_include_dirs: ["include"],
28 local_include_dirs: ["include"],
29
30 srcs: [
Dichen Zhange46f9bb2023-02-23 19:34:53 +000031 "icc.cpp",
Dichen Zhang761b52d2023-02-10 22:38:38 +000032 "jpegr.cpp",
Dichen Zhang10959a42023-04-10 16:28:16 -070033 "gainmapmath.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 Zhang4a66b3c2022-10-19 18:04:47 +000046}
47
Dichen Zhangb27d06d2022-12-14 19:57:50 +000048cc_library {
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000049 name: "libjpegencoder",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000050 host_supported: true,
Dichen Zhang1ae310a2023-03-23 11:56:23 -070051 vendor_available: true,
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000052
53 shared_libs: [
54 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000055 "liblog",
Dichen Zhang1ae310a2023-03-23 11:56:23 -070056 "libutils",
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 Zhang1ae310a2023-03-23 11:56:23 -070069 vendor_available: true,
Dichen Zhang0d12ba82022-10-19 20:44:51 +000070
71 shared_libs: [
72 "libjpeg",
Dichen Zhangb27d06d2022-12-14 19:57:50 +000073 "liblog",
Dichen Zhang1ae310a2023-03-23 11:56:23 -070074 "libutils",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000075 ],
76
77 export_include_dirs: ["include"],
78
79 srcs: [
Dichen Zhang02dd0592023-02-10 20:16:57 +000080 "jpegdecoderhelper.cpp",
Dichen Zhang0d12ba82022-10-19 20:44:51 +000081 ],
Nick Deakinf6bca5a2022-11-04 10:43:43 -040082}