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/filemanagement/dfs_service/distributedfile.gni") 16 17ohos_unittest("clouddisk_rdb_utils_test") { 18 module_out_path = "filemanagement/dfs_service/tests" 19 20 sources = [ 21 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_transaction.cpp", 22 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_utils.cpp", 23 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdbstore.cpp", 24 "${distributedfile_path}/services/clouddisk_database/src/file_column.cpp", 25 "clouddisk_rdb_utils_test.cpp", 26 ] 27 28 include_dirs = [ 29 "${distributedfile_path}/services/clouddisk_database/include", 30 "${distributedfile_path}/interfaces/inner_api/native/cloudsync_kit_inner", 31 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/include", 32 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/include", 33 "${distributedfile_path}/adapter/cloud_adapter_example/include", 34 "${distributedfile_path}/test/unittests/cloud_disk_database/include", 35 "include", 36 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/include", 37 "${media_library_path}/frameworks/utils/include", 38 "${services_path}/cloudfiledaemon/include/cloud_disk", 39 "${distributedfile_path}/utils/log/include", 40 "//third_party/e2fsprogs/e2fsprogs/lib", 41 ] 42 43 deps = [ 44 "${innerkits_native_path}/cloud_file_kit_inner:cloudfile_kit", 45 "${services_path}/distributedfiledaemon:libdistributedfiledaemon", 46 "${utils_path}:libdistributedfiledentry", 47 "${utils_path}:libdistributedfileutils", 48 "${utils_path}:libdistributedfileutils_lite", 49 "//third_party/e2fsprogs:libext2_uuid", 50 "//third_party/googletest:gmock_main", 51 "//third_party/googletest:gtest_main", 52 ] 53 54 cflags = [ "--coverage" ] 55 56 ldflags = [ "--coverage" ] 57 58 cflags_cc = [ "--coverage" ] 59 60 external_deps = [ 61 "ability_base:zuri", 62 "ability_runtime:ability_manager", 63 "ability_runtime:dataobs_manager", 64 "app_file_service:sandbox_helper_native", 65 "c_utils:utils", 66 "eventhandler:libeventhandler", 67 "ffrt:libffrt", 68 "hilog:libhilog", 69 "hitrace:hitrace_meter", 70 "init:libbegetutil", 71 "ipc:ipc_core", 72 "libfuse:libfuse", 73 "netmanager_base:net_conn_manager_if", 74 "os_account:os_account_innerkits", 75 "power_manager:powermgr_client", 76 "preferences:native_preferences", 77 "relational_store:native_rdb", 78 "safwk:system_ability_fwk", 79 "samgr:samgr_proxy", 80 ] 81 82 defines = [ 83 "private=public", 84 "LOG_DOMAIN=0xD004308", 85 "LOG_TAG=\"CLOUD_DISK_DATABASE_TEST\"", 86 ] 87 88 use_exceptions = true 89} 90 91ohos_unittest("clouddisk_rdbstore_test") { 92 branch_protector_ret = "pac_ret" 93 sanitize = { 94 integer_overflow = true 95 cfi = true 96 cfi_cross_dso = true 97 debug = false 98 blocklist = "${distributedfile_path}/cfi_blocklist.txt" 99 } 100 module_out_path = "filemanagement/dfs_service" 101 102 sources = [ 103 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_download_callback_client.cpp", 104 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_download_callback_stub.cpp", 105 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_download_uri_manager.cpp", 106 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_optimize_callback_client.cpp", 107 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_optimize_callback_stub.cpp", 108 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_sync_callback_client.cpp", 109 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_sync_callback_stub.cpp", 110 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_sync_common.cpp", 111 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_impl_lite.cpp", 112 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_lite.cpp", 113 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_service_proxy_lite.cpp", 114 "${distributedfile_path}/test/unittests/clouddisk_database/mock/clouddisk_notify_utils_mock.cpp", 115 "${distributedfile_path}/test/unittests/clouddisk_database/mock/clouddisk_rdb_transaction_mock.cpp", 116 "${distributedfile_path}/test/unittests/clouddisk_database/mock/clouddisk_rdb_utils_mock.cpp", 117 "${distributedfile_path}/test/unittests/clouddisk_database/mock/meta_file_clouddisk_mock.cpp", 118 "${distributedfile_path}/test/unittests/clouddisk_database/mock/rdb_mock.cpp", 119 "${distributedfile_path}/test/unittests/clouddisk_database/mock/transaction_mock.cpp", 120 "${distributedfile_path}/test/unittests/cloudsync_sa/mock/cloud_file_utils_mock.cpp", 121 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/src/base_column.cpp", 122 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/src/media_column.cpp", 123 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/src/photo_album_column.cpp", 124 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/src/photo_map_column.cpp", 125 "clouddisk_rdbstore_test.cpp", 126 ] 127 128 clouddisk_database = [ 129 "${services_path}/clouddisk_database/src/clouddisk_rdbstore.cpp", 130 "${services_path}/clouddisk_database/src/file_column.cpp", 131 "${services_path}/clouddisk_database/src/clouddisk_sync_helper.cpp", 132 "${services_path}/clouddisk_database/src/clouddisk_notify.cpp", 133 ] 134 135 sources += clouddisk_database 136 137 include_dirs = [ 138 "${services_path}/clouddisk_database/include", 139 "${distributedfile_path}/adapter/cloud_adapter_example/include", 140 "${services_path}/cloudsyncservice/include", 141 "${services_path}/cloudfiledaemon/include", 142 "${distributedfile_path}/interfaces/inner_api/native/cloudsync_kit_inner", 143 "${distributedfile_path}/adapter/cloud_adapter_example/include", 144 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/include", 145 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/include", 146 "${media_library_path}/interfaces/inner_api/media_library_helper/include", 147 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/include", 148 "${media_library_path}/frameworks/services/media_thumbnail/include", 149 "${media_library_path}/frameworks/utils/include", 150 "${media_library_path}/interfaces/inner_api/media_library_helper/include", 151 "//third_party/e2fsprogs/e2fsprogs/lib", 152 "${utils_path}/log/include", 153 "${distributedfile_path}/test/unittests/clouddisk_database/include", 154 "${distributedfile_path}/test/unittests/clouddisk_database/mock", 155 "${services_path}/cloudfiledaemon/include/cloud_disk", 156 ] 157 158 deps = [ 159 "${innerkits_native_path}/cloud_file_kit_inner:cloudfile_kit", 160 "${utils_path}:libdistributedfileutils", 161 "${utils_path}:libdistributedfileutils_lite", 162 "//third_party/e2fsprogs:libext2_uuid", 163 "//third_party/googletest:gmock_main", 164 "//third_party/googletest:gtest_main", 165 ] 166 167 cflags = [ "--coverage" ] 168 169 ldflags = [ "--coverage" ] 170 171 cflags_cc = [ "--coverage" ] 172 173 external_deps = [ 174 "ability_base:zuri", 175 "ability_runtime:dataobs_manager", 176 "app_file_service:sandbox_helper_native", 177 "c_utils:utils", 178 "eventhandler:libeventhandler", 179 "ffrt:libffrt", 180 "hilog:libhilog", 181 "hisysevent:libhisysevent", 182 "hitrace:hitrace_meter", 183 "init:libbegetutil", 184 "ipc:ipc_single", 185 "libfuse:libfuse", 186 "netmanager_base:net_conn_manager_if", 187 "os_account:os_account_innerkits", 188 "preferences:native_preferences", 189 "relational_store:native_rdb", 190 "samgr:samgr_proxy", 191 ] 192 193 defines = [ 194 "private=public", 195 "LOG_DOMAIN=0xD004310", 196 "LOG_TAG=\"CLOUDDISK_DATABASE_TEST\"", 197 ] 198 199 if (cloudsync_service_hicollie_enable) { 200 external_deps += [ "hicollie:libhicollie" ] 201 defines += [ "HICOLLIE_ENABLE" ] 202 } 203 204 if (cloudsync_service_resource_schedule) { 205 external_deps += [ "resource_schedule_service:ressched_client" ] 206 defines += [ "CLOUDSYNC_SERVICE_RESOURCE_SCHEDULE" ] 207 } 208 209 use_exceptions = true 210} 211 212ohos_unittest("clouddisk_notify_test") { 213 branch_protector_ret = "pac_ret" 214 sanitize = { 215 integer_overflow = true 216 cfi = true 217 cfi_cross_dso = true 218 debug = false 219 blocklist = "${distributedfile_path}/cfi_blocklist.txt" 220 } 221 222 module_out_path = "filemanagement/dfs_service" 223 224 sources = [ 225 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_impl_lite.cpp", 226 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_lite.cpp", 227 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_service_proxy_lite.cpp", 228 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_notify.cpp", 229 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_utils.cpp", 230 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_sync_helper.cpp", 231 "${distributedfile_path}/services/clouddisk_database/src/file_column.cpp", 232 "${distributedfile_path}/test/unittests/cloud_disk/mock/clouddisk_rdbstore_mock.cpp", 233 "${distributedfile_path}/test/unittests/clouddisk_database/mock/clouddisk_notify_utils_mock.cpp", 234 "clouddisk_notify_test.cpp", 235 ] 236 237 include_dirs = [ 238 "${distributedfile_path}/services/clouddisk_database/include", 239 "${distributedfile_path}/interfaces/inner_api/native/cloudsync_kit_inner", 240 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/include", 241 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/include", 242 "${distributedfile_path}/adapter/cloud_adapter_example/include", 243 "${distributedfile_path}/test/unittests/cloud_disk_database/include", 244 "include", 245 "${services_path}/cloudfiledaemon/include/cloud_disk", 246 "${distributedfile_path}/utils/log/include", 247 "//third_party/e2fsprogs/e2fsprogs/lib", 248 ] 249 250 deps = [ 251 "${innerkits_native_path}/cloud_file_kit_inner:cloudfile_kit", 252 "${services_path}/distributedfiledaemon:libdistributedfiledaemon", 253 "${utils_path}:libdistributedfiledentry", 254 "${utils_path}:libdistributedfileutils", 255 "${utils_path}:libdistributedfileutils_lite", 256 "//third_party/e2fsprogs:libext2_uuid", 257 "//third_party/googletest:gmock_main", 258 "//third_party/googletest:gtest_main", 259 ] 260 261 cflags = [ "--coverage" ] 262 263 ldflags = [ "--coverage" ] 264 265 cflags_cc = [ "--coverage" ] 266 267 external_deps = [ 268 "ability_base:zuri", 269 "ability_runtime:ability_manager", 270 "ability_runtime:dataobs_manager", 271 "app_file_service:sandbox_helper_native", 272 "c_utils:utils", 273 "eventhandler:libeventhandler", 274 "ffrt:libffrt", 275 "hilog:libhilog", 276 "hitrace:hitrace_meter", 277 "init:libbegetutil", 278 "ipc:ipc_core", 279 "libfuse:libfuse", 280 "netmanager_base:net_conn_manager_if", 281 "os_account:os_account_innerkits", 282 "power_manager:powermgr_client", 283 "relational_store:native_rdb", 284 "safwk:system_ability_fwk", 285 "samgr:samgr_proxy", 286 ] 287 288 defines = [ 289 "private=public", 290 "LOG_DOMAIN=0xD004308", 291 "LOG_TAG=\"CLOUD_DISK_DATABASE_TEST\"", 292 ] 293 294 use_exceptions = true 295} 296 297ohos_unittest("clouddisk_rdb_transaction_test") { 298 module_out_path = "filemanagement/dfs_service" 299 300 sources = [ 301 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_transaction.cpp", 302 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_utils.cpp", 303 "${distributedfile_path}/services/clouddisk_database/src/file_column.cpp", 304 "${distributedfile_path}/test/unittests/clouddisk_database/include/clouddisk_rdbstore_mock.h", 305 "clouddisk_rdb_transaction_test.cpp", 306 ] 307 308 include_dirs = [ 309 "${distributedfile_path}/services/clouddisk_database/include", 310 "${distributedfile_path}/interfaces/inner_api/native/cloudsync_kit_inner", 311 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/include", 312 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/include", 313 "${distributedfile_path}/adapter/cloud_adapter_example/include", 314 "${distributedfile_path}/test/unittests/cloud_disk_database/include", 315 "include", 316 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/include", 317 "${media_library_path}/frameworks/utils/include", 318 "${services_path}/cloudfiledaemon/include/cloud_disk", 319 "${distributedfile_path}/utils/log/include", 320 "//third_party/e2fsprogs/e2fsprogs/lib", 321 ] 322 323 deps = [ 324 "${innerkits_native_path}/cloud_file_kit_inner:cloudfile_kit", 325 "${services_path}/distributedfiledaemon:libdistributedfiledaemon", 326 "${utils_path}:libdistributedfiledentry", 327 "${utils_path}:libdistributedfileutils", 328 "${utils_path}:libdistributedfileutils_lite", 329 "//third_party/e2fsprogs:libext2_uuid", 330 "//third_party/googletest:gmock_main", 331 "//third_party/googletest:gtest_main", 332 ] 333 334 cflags = [ "--coverage" ] 335 336 ldflags = [ "--coverage" ] 337 338 cflags_cc = [ "--coverage" ] 339 340 external_deps = [ 341 "ability_base:zuri", 342 "ability_runtime:ability_manager", 343 "ability_runtime:dataobs_manager", 344 "app_file_service:sandbox_helper_native", 345 "c_utils:utils", 346 "eventhandler:libeventhandler", 347 "ffrt:libffrt", 348 "hilog:libhilog", 349 "hitrace:hitrace_meter", 350 "init:libbegetutil", 351 "ipc:ipc_core", 352 "libfuse:libfuse", 353 "netmanager_base:net_conn_manager_if", 354 "os_account:os_account_innerkits", 355 "power_manager:powermgr_client", 356 "relational_store:native_rdb", 357 "safwk:system_ability_fwk", 358 "samgr:samgr_proxy", 359 ] 360 361 defines = [ 362 "private=public", 363 "LOG_DOMAIN=0xD004308", 364 "LOG_TAG=\"CLOUD_DISK_DATABASE_TEST\"", 365 ] 366 367 use_exceptions = true 368} 369 370ohos_unittest("clouddisk_sync_helper_test") { 371 module_out_path = "filemanagement/dfs_service" 372 373 sources = [ 374 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_download_uri_manager.cpp", 375 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/src/cloud_sync_service_proxy.cpp", 376 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_impl_lite.cpp", 377 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_lite.cpp", 378 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_transaction.cpp", 379 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_utils.cpp", 380 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_sync_helper.cpp", 381 "${distributedfile_path}/services/clouddisk_database/src/file_column.cpp", 382 "${distributedfile_path}/test/unittests/clouddisk_database/include/clouddisk_rdbstore_mock.h", 383 "clouddisk_sync_helper_test.cpp", 384 ] 385 386 include_dirs = [ 387 "${distributedfile_path}/services/clouddisk_database/include", 388 "${distributedfile_path}/interfaces/inner_api/native/cloudsync_kit_inner", 389 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/include", 390 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/include", 391 "${distributedfile_path}/adapter/cloud_adapter_example/include", 392 "${distributedfile_path}/test/unittests/cloud_disk_database/include", 393 "include", 394 "${media_library_path}/frameworks/innerkitsimpl/media_library_helper/include", 395 "${media_library_path}/frameworks/utils/include", 396 "${services_path}/cloudfiledaemon/include/cloud_disk", 397 "${distributedfile_path}/utils/log/include", 398 "//third_party/e2fsprogs/e2fsprogs/lib", 399 ] 400 401 deps = [ 402 "${innerkits_native_path}/cloud_file_kit_inner:cloudfile_kit", 403 "${services_path}/distributedfiledaemon:libdistributedfiledaemon", 404 "${utils_path}:libdistributedfiledentry", 405 "${utils_path}:libdistributedfileutils", 406 "${utils_path}:libdistributedfileutils_lite", 407 "//third_party/e2fsprogs:libext2_uuid", 408 "//third_party/googletest:gmock_main", 409 "//third_party/googletest:gtest_main", 410 ] 411 412 cflags = [ "--coverage" ] 413 414 ldflags = [ "--coverage" ] 415 416 cflags_cc = [ "--coverage" ] 417 418 external_deps = [ 419 "ability_base:zuri", 420 "ability_runtime:ability_manager", 421 "ability_runtime:dataobs_manager", 422 "app_file_service:sandbox_helper_native", 423 "c_utils:utils", 424 "eventhandler:libeventhandler", 425 "ffrt:libffrt", 426 "hilog:libhilog", 427 "hitrace:hitrace_meter", 428 "init:libbegetutil", 429 "ipc:ipc_core", 430 "libfuse:libfuse", 431 "netmanager_base:net_conn_manager_if", 432 "os_account:os_account_innerkits", 433 "power_manager:powermgr_client", 434 "relational_store:native_rdb", 435 "safwk:system_ability_fwk", 436 "samgr:samgr_proxy", 437 ] 438 439 defines = [ 440 "private=public", 441 "LOG_DOMAIN=0xD004308", 442 "LOG_TAG=\"CLOUD_DISK_DATABASE_TEST\"", 443 ] 444 445 use_exceptions = true 446} 447 448ohos_unittest("clouddisk_notify_utils_test") { 449 branch_protector_ret = "pac_ret" 450 sanitize = { 451 integer_overflow = true 452 cfi = true 453 cfi_cross_dso = true 454 debug = false 455 blocklist = "${distributedfile_path}/cfi_blocklist.txt" 456 } 457 458 module_out_path = "filemanagement/dfs_service" 459 460 sources = [ 461 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_impl_lite.cpp", 462 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_manager_lite.cpp", 463 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/src/cloud_sync_service_proxy_lite.cpp", 464 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_notify.cpp", 465 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_notify_utils.cpp", 466 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdb_utils.cpp", 467 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_rdbstore.cpp", 468 "${distributedfile_path}/services/clouddisk_database/src/clouddisk_sync_helper.cpp", 469 "${distributedfile_path}/services/clouddisk_database/src/file_column.cpp", 470 "clouddisk_notify_utils_test.cpp", 471 ] 472 473 include_dirs = [ 474 "${distributedfile_path}/services/clouddisk_database/include", 475 "${distributedfile_path}/interfaces/inner_api/native/cloudsync_kit_inner", 476 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner/include", 477 "${distributedfile_path}/frameworks/native/cloudsync_kit_inner_lite/include", 478 "${distributedfile_path}/adapter/cloud_adapter_example/include", 479 "${distributedfile_path}/test/unittests/cloud_disk_database/include", 480 "include", 481 "${services_path}/cloudfiledaemon/include/cloud_disk", 482 "${distributedfile_path}/utils/log/include", 483 "//third_party/e2fsprogs/e2fsprogs/lib", 484 ] 485 486 deps = [ 487 "${innerkits_native_path}/cloud_file_kit_inner:cloudfile_kit", 488 "${services_path}/distributedfiledaemon:libdistributedfiledaemon", 489 "${utils_path}:libdistributedfiledentry", 490 "${utils_path}:libdistributedfileutils", 491 "${utils_path}:libdistributedfileutils_lite", 492 "//third_party/e2fsprogs:libext2_uuid", 493 "//third_party/googletest:gmock_main", 494 "//third_party/googletest:gtest_main", 495 ] 496 497 cflags = [ "--coverage" ] 498 499 ldflags = [ "--coverage" ] 500 501 cflags_cc = [ "--coverage" ] 502 503 external_deps = [ 504 "ability_base:zuri", 505 "ability_runtime:ability_manager", 506 "ability_runtime:dataobs_manager", 507 "app_file_service:sandbox_helper_native", 508 "c_utils:utils", 509 "eventhandler:libeventhandler", 510 "ffrt:libffrt", 511 "hilog:libhilog", 512 "hitrace:hitrace_meter", 513 "init:libbegetutil", 514 "ipc:ipc_core", 515 "libfuse:libfuse", 516 "netmanager_base:net_conn_manager_if", 517 "os_account:os_account_innerkits", 518 "power_manager:powermgr_client", 519 "preferences:native_preferences", 520 "relational_store:native_rdb", 521 "safwk:system_ability_fwk", 522 "samgr:samgr_proxy", 523 ] 524 525 defines = [ 526 "private=public", 527 "LOG_DOMAIN=0xD004308", 528 "LOG_TAG=\"CLOUD_DISK_DATABASE_TEST\"", 529 ] 530 531 use_exceptions = true 532} 533 534group("clouddisk_database_test") { 535 testonly = true 536 deps = [ 537 ":clouddisk_notify_test", 538 ":clouddisk_notify_utils_test", 539 ":clouddisk_rdb_transaction_test", 540 ":clouddisk_rdb_utils_test", 541 ":clouddisk_rdbstore_test", 542 ":clouddisk_sync_helper_test", 543 ] 544} 545