blob: 811d66e750d224c6375c00fceb0c5b482b2b7e66 [file]
/*
* Copyright (C) 2026 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package {
default_applicable_licenses: ["frameworks_base_license"],
}
cc_library_shared {
name: "libimagedecoder_sandbox",
srcs: [
"ImageDecoderService.cpp",
":NinePatchPeeker_srcs",
],
defaults: [
"hwui_static_deps",
"skia_deps",
],
shared_libs: [
"libandroid",
"libbase",
"libbinder",
"libbinder_ndk",
"libhwui",
"liblog",
"libmedia",
"libmedia_codeclist",
"libmedia_codeclist_capabilities",
"libmediandk",
"libnativewindow",
"libstagefright",
"libstagefright_foundation",
"libutils",
],
header_libs: [
"libhwui_internal_headers",
],
include_dirs: [
"external/skia/include/private",
],
static_libs: [
"imagedecoder_aidl_interface-ndk",
"libhwui_static",
"libskia",
"libskia_renderengine",
],
ldflags: [
// The zuma tonemap prebuilts are missing BTI.
"-Wl,-z,bti-report=none",
],
target: {
android: {
shared_libs: [
"libandroidfw",
],
},
host: {
static_libs: [
"libandroidfw",
],
},
},
stl: "c++_shared",
}