• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2024 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/test.gni")
15import("//foundation/multimedia/media_library/media_library.gni")
16
17ohos_fuzztest("MediaLibraryMediaPhotoAssetProxyFuzzTest") {
18  module_out_path = "media_library/media_library"
19  fuzz_config_file = "."
20
21  include_dirs = [
22    ".",
23    "${MEDIALIB_INTERFACES_PATH}/inner_api/media_library_helper/include",
24  ]
25
26  sources = [ "./medialibrarymediaphotoassetproxy_fuzzer.cpp" ]
27
28  deps = [
29    "${MEDIALIB_INNERKITS_PATH}/media_library_helper:media_library",
30    "${MEDIALIB_INNERKITS_PATH}/medialibrary_data_extension:medialibrary_data_extension",
31  ]
32
33  external_deps = [
34    "ability_base:configuration",
35    "ability_base:want",
36    "ability_base:zuri",
37    "ability_runtime:ability_context_native",
38    "ability_runtime:ability_manager",
39    "ability_runtime:abilitykit_native",
40    "ability_runtime:app_context",
41    "ability_runtime:app_manager",
42    "ability_runtime:dataobs_manager",
43    "ability_runtime:runtime",
44    "bundle_framework:appexecfwk_core",
45    "c_utils:utils",
46    "data_share:datashare_common",
47    "data_share:datashare_consumer",
48    "hilog:libhilog",
49    "image_framework:image_native",
50    "ipc:ipc_single",
51    "kv_store:distributeddata_inner",
52    "napi:ace_napi",
53    "relational_store:native_rdb",
54    "relational_store:rdb_data_share_adapter",
55    "samgr:samgr_proxy",
56    "user_file_service:file_access_extension_ability_kit",
57  ]
58}
59