blob: a9248ab2e8b4fd893b83b62c10b017e9f43bba4c [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_library_static {
25 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: [
32 "recoverymap.cpp",
33 ],
Dichen Zhang6947d532022-10-22 02:16:21 +000034
35 shared_libs: [
Dichen Zhang72fd2b12022-11-01 06:11:50 +000036 "libimage_io",
Dichen Zhang6947d532022-10-22 02:16:21 +000037 "libutils",
38 ],
Dichen Zhang4a66b3c2022-10-19 18:04:47 +000039}
40
41cc_library_static {
42 name: "libjpegencoder",
43
44 shared_libs: [
45 "libjpeg",
46 ],
47
48 export_include_dirs: ["include"],
49
50 srcs: [
51 "jpegencoder.cpp",
52 ],
Dichen Zhang0d12ba82022-10-19 20:44:51 +000053}
54
55cc_library_static {
56 name: "libjpegdecoder",
57
58 shared_libs: [
59 "libjpeg",
60 ],
61
62 export_include_dirs: ["include"],
63
64 srcs: [
65 "jpegdecoder.cpp",
66 ],
Dichen Zhang85b37562022-10-11 11:08:28 -070067}