# Copyright (c) 2024 Huawei Device Co., Ltd. # 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. import("//build/test.gni") import("//foundation/multimedia/media_library/media_library.gni") ohos_fuzztest("MediaLibraryUriSensitiveOperationsFuzzTest") { module_out_path = "media_library/media_library" fuzz_config_file = "." include_dirs = [ ".", "${MEDIALIB_INNERKITS_PATH}/medialibrary_data_extension/include", "${MEDIALIB_INTERFACES_PATH}/inner_api/media_library_helper/include", ] sources = [ "./medialibraryurisensitiveoperations_fuzzer.cpp" ] deps = [ "${MEDIALIB_INNERKITS_PATH}/media_library_helper:media_library", "${MEDIALIB_INNERKITS_PATH}/medialibrary_data_extension:medialibrary_data_extension", "../../../../../../../ability/ability_runtime/interfaces/inner_api/dataobs_manager:dataobs_manager", ] external_deps = [ "ability_base:zuri", "ability_runtime:ability_context_native", "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", "ability_runtime:app_context", "ability_runtime:dataobs_manager", "ability_runtime:runtime", "bundle_framework:appexecfwk_core", "c_utils:utils", "common_event_service:cesfwk_innerkits", "data_share:datashare_common", "data_share:datashare_consumer", "data_share:datashare_provider", "hilog:libhilog", "hitrace:hitrace_meter", "image_framework:image_native", "ipc:ipc_single", "kv_store:distributeddata_inner", "napi:ace_napi", "player_framework:media_client", "relational_store:native_rdb", "relational_store:rdb_data_share_adapter", "user_file_service:file_access_extension_ability_kit", ] }