14d949f91Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
24d949f91Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
34d949f91Sopenharmony_ci# you may not use this file except in compliance with the License.
44d949f91Sopenharmony_ci# You may obtain a copy of the License at
54d949f91Sopenharmony_ci#
64d949f91Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
74d949f91Sopenharmony_ci#
84d949f91Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
94d949f91Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
104d949f91Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114d949f91Sopenharmony_ci# See the License for the specific language governing permissions and
124d949f91Sopenharmony_ci# limitations under the License.
134d949f91Sopenharmony_ci
144d949f91Sopenharmony_ciimport("//build/ohos.gni")
154d949f91Sopenharmony_ciimport("//build/ohos/ndk/ndk.gni")
164d949f91Sopenharmony_ci
174d949f91Sopenharmony_ciohos_ndk_library("libimage_effect") {
184d949f91Sopenharmony_ci  ndk_description_file = "./libimage_effect.ndk.json"
194d949f91Sopenharmony_ci  min_compact_version = "12"
204d949f91Sopenharmony_ci  output_name = "image_effect"
214d949f91Sopenharmony_ci  output_extension = "so"
224d949f91Sopenharmony_ci  system_capability = "SystemCapability.Multimedia.ImageEffect.Core"
234d949f91Sopenharmony_ci  system_capability_headers = [
244d949f91Sopenharmony_ci    "multimedia/image_effect/image_effect_errors.h",
254d949f91Sopenharmony_ci    "multimedia/image_effect/image_effect_filter.h",
264d949f91Sopenharmony_ci    "multimedia/image_effect/image_effect.h",
274d949f91Sopenharmony_ci  ]
284d949f91Sopenharmony_ci}
294d949f91Sopenharmony_ci
304d949f91Sopenharmony_ciohos_ndk_headers("libimage_effect_header") {
314d949f91Sopenharmony_ci  dest_dir = "$ndk_headers_out_dir/multimedia/image_effect"
324d949f91Sopenharmony_ci  sources = [
334d949f91Sopenharmony_ci    "image_effect.h",
344d949f91Sopenharmony_ci    "image_effect_errors.h",
354d949f91Sopenharmony_ci    "image_effect_filter.h",
364d949f91Sopenharmony_ci  ]
374d949f91Sopenharmony_ci}
38