123b3eb3cSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
223b3eb3cSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
323b3eb3cSopenharmony_ci# you may not use this file except in compliance with the License.
423b3eb3cSopenharmony_ci# You may obtain a copy of the License at
523b3eb3cSopenharmony_ci#
623b3eb3cSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
723b3eb3cSopenharmony_ci#
823b3eb3cSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
923b3eb3cSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1023b3eb3cSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1123b3eb3cSopenharmony_ci# See the License for the specific language governing permissions and
1223b3eb3cSopenharmony_ci# limitations under the License.
1323b3eb3cSopenharmony_ci
1423b3eb3cSopenharmony_ciimport("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
1523b3eb3cSopenharmony_ci
1623b3eb3cSopenharmony_ciohos_unittest("viewport_config_test") {
1723b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
1823b3eb3cSopenharmony_ci
1923b3eb3cSopenharmony_ci  sources = [ "viewport_config_test.cpp" ]
2023b3eb3cSopenharmony_ci
2123b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
2223b3eb3cSopenharmony_ci}
2323b3eb3cSopenharmony_ci
2423b3eb3cSopenharmony_ciohos_unittest("ui_content_test") {
2523b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
2623b3eb3cSopenharmony_ci
2723b3eb3cSopenharmony_ci  sources = [
2823b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/common/container_scope.cpp",
2923b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/ace/ui_content.cpp",
3023b3eb3cSopenharmony_ci    "ui_content_test.cpp",
3123b3eb3cSopenharmony_ci  ]
3223b3eb3cSopenharmony_ci
3323b3eb3cSopenharmony_ci  deps = [
3423b3eb3cSopenharmony_ci    "$ace_root/frameworks/base:ace_memory_monitor_ohos",
3523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/ace:ace_forward_compatibility",
3623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_engine_unittest_flutter_deps",
3723b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_log",
3823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_trace",
3923b3eb3cSopenharmony_ci    "//third_party/googletest:gmock_main",
4023b3eb3cSopenharmony_ci  ]
4123b3eb3cSopenharmony_ci
4223b3eb3cSopenharmony_ci  external_deps = [
4323b3eb3cSopenharmony_ci    "ability_runtime:abilitykit_native",
4423b3eb3cSopenharmony_ci    "cJSON:cjson",
4523b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
4623b3eb3cSopenharmony_ci    "image_framework:image",
4723b3eb3cSopenharmony_ci    "input:libmmi-client",
4823b3eb3cSopenharmony_ci    "ipc:ipc_single",
4923b3eb3cSopenharmony_ci    "window_manager:libdm",
5023b3eb3cSopenharmony_ci    "window_manager:libwm",
5123b3eb3cSopenharmony_ci    "window_manager:scene_session",
5223b3eb3cSopenharmony_ci    "window_manager:scene_session_manager",
5323b3eb3cSopenharmony_ci  ]
5423b3eb3cSopenharmony_ci
5523b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
5623b3eb3cSopenharmony_ci}
5723b3eb3cSopenharmony_ci
5823b3eb3cSopenharmony_ciohos_unittest("form_render_test") {
5923b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
6023b3eb3cSopenharmony_ci  include_dirs = [ "$ace_root/interfaces/inner_api/form_render/include" ]
6123b3eb3cSopenharmony_ci  sources = [
6223b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer.cpp",
6323b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_impl.cpp",
6423b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_proxy.cpp",
6523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_stub.cpp",
6623b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_impl.cpp",
6723b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_proxy.cpp",
6823b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_stub.cpp",
6923b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_group.cpp",
7023b3eb3cSopenharmony_ci    "$ace_root/test/mock/interfaces/mock_uicontent_creator.cpp",
7123b3eb3cSopenharmony_ci    "form_render_test.cpp",
7223b3eb3cSopenharmony_ci    "form_renderer_dispatcher_proxy_test.cpp",
7323b3eb3cSopenharmony_ci  ]
7423b3eb3cSopenharmony_ci
7523b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
7623b3eb3cSopenharmony_ci
7723b3eb3cSopenharmony_ci  deps = [
7823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_base",
7923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_base",
8023b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_event",
8123b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_gestures",
8223b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_layout",
8323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_manager",
8423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_mock",
8523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_pattern",
8623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_property",
8723b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_render",
8823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_syntax",
8923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_animation",
9023b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_extra",
9123b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_engine_unittest_flutter_deps",
9223b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_log",
9323b3eb3cSopenharmony_ci    "//third_party/googletest:gmock_main",
9423b3eb3cSopenharmony_ci  ]
9523b3eb3cSopenharmony_ci
9623b3eb3cSopenharmony_ci  external_deps = [
9723b3eb3cSopenharmony_ci    "ability_base:want",
9823b3eb3cSopenharmony_ci    "ability_runtime:ability_context_native",
9923b3eb3cSopenharmony_ci    "ability_runtime:ability_manager",
10023b3eb3cSopenharmony_ci    "ability_runtime:runtime",
10123b3eb3cSopenharmony_ci    "accessibility:accessibility_common",
10223b3eb3cSopenharmony_ci    "ace_engine:ace_uicontent",
10323b3eb3cSopenharmony_ci    "cJSON:cjson",
10423b3eb3cSopenharmony_ci    "c_utils:utils",
10523b3eb3cSopenharmony_ci    "eventhandler:libeventhandler",
10623b3eb3cSopenharmony_ci    "form_fwk:form_manager",
10723b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
10823b3eb3cSopenharmony_ci    "graphic_surface:surface",
10923b3eb3cSopenharmony_ci    "hilog:libhilog",
11023b3eb3cSopenharmony_ci    "input:libmmi-client",
11123b3eb3cSopenharmony_ci    "ipc:ipc_core",
11223b3eb3cSopenharmony_ci    "napi:ace_napi",
11323b3eb3cSopenharmony_ci  ]
11423b3eb3cSopenharmony_ci}
11523b3eb3cSopenharmony_ci
11623b3eb3cSopenharmony_ciohos_unittest("form_render_group_test") {
11723b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
11823b3eb3cSopenharmony_ci  include_dirs = [ "$ace_root/interfaces/inner_api/form_render/include" ]
11923b3eb3cSopenharmony_ci  sources = [
12023b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer.cpp",
12123b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_impl.cpp",
12223b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_proxy.cpp",
12323b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_stub.cpp",
12423b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_impl.cpp",
12523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_proxy.cpp",
12623b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_stub.cpp",
12723b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_group.cpp",
12823b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ace_performance_check.cpp",
12923b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ace_performance_monitor.cpp",
13023b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_engine_helper.cpp",
13123b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_frame_trace_adapter.cpp",
13223b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ressched_report.cpp",
13323b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_system_properties.cpp",
13423b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_ace_application_info.cpp",
13523b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_container.cpp",
13623b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_frame_report.cpp",
13723b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_raw_recognizer.cpp",
13823b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/image_provider/mock_image_source_info.cpp",
13923b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/package/mock_package_event_proxy.cpp",
14023b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/pipeline/mock_element_register.cpp",
14123b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/pipeline/mock_pipeline_context.cpp",
14223b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/render/mock_animation_utils.cpp",
14323b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/render/mock_modifier_adapter.cpp",
14423b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/render/mock_render_context_creator.cpp",
14523b3eb3cSopenharmony_ci    "$ace_root/test/mock/interfaces/mock_uicontent_creator.cpp",
14623b3eb3cSopenharmony_ci    "form_render_group_test.cpp",
14723b3eb3cSopenharmony_ci  ]
14823b3eb3cSopenharmony_ci
14923b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
15023b3eb3cSopenharmony_ci
15123b3eb3cSopenharmony_ci  deps = [
15223b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_base",
15323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_base",
15423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_event",
15523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_gestures",
15623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_layout",
15723b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_manager",
15823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_pattern",
15923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_property",
16023b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_render",
16123b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_syntax",
16223b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_animation",
16323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_extra",
16423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_engine_unittest_flutter_deps",
16523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_log",
16623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_trace",
16723b3eb3cSopenharmony_ci    "//third_party/googletest:gmock_main",
16823b3eb3cSopenharmony_ci  ]
16923b3eb3cSopenharmony_ci
17023b3eb3cSopenharmony_ci  external_deps = [
17123b3eb3cSopenharmony_ci    "ability_base:want",
17223b3eb3cSopenharmony_ci    "ability_runtime:ability_context_native",
17323b3eb3cSopenharmony_ci    "ability_runtime:ability_manager",
17423b3eb3cSopenharmony_ci    "ability_runtime:runtime",
17523b3eb3cSopenharmony_ci    "accessibility:accessibility_common",
17623b3eb3cSopenharmony_ci    "ace_engine:ace_uicontent",
17723b3eb3cSopenharmony_ci    "cJSON:cjson",
17823b3eb3cSopenharmony_ci    "c_utils:utils",
17923b3eb3cSopenharmony_ci    "eventhandler:libeventhandler",
18023b3eb3cSopenharmony_ci    "form_fwk:form_manager",
18123b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
18223b3eb3cSopenharmony_ci    "graphic_surface:surface",
18323b3eb3cSopenharmony_ci    "hilog:libhilog",
18423b3eb3cSopenharmony_ci    "input:libmmi-client",
18523b3eb3cSopenharmony_ci    "ipc:ipc_core",
18623b3eb3cSopenharmony_ci    "napi:ace_napi",
18723b3eb3cSopenharmony_ci  ]
18823b3eb3cSopenharmony_ci}
18923b3eb3cSopenharmony_ci
19023b3eb3cSopenharmony_ciohos_unittest("form_render_delegate_proxy_test") {
19123b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
19223b3eb3cSopenharmony_ci  include_dirs = [ "$ace_root/interfaces/inner_api/form_render/include" ]
19323b3eb3cSopenharmony_ci  sources = [
19423b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_impl.cpp",
19523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_proxy.cpp",
19623b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_stub.cpp",
19723b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ace_performance_monitor.cpp",
19823b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_system_properties.cpp",
19923b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_container.cpp",
20023b3eb3cSopenharmony_ci    "form_render_delegate_proxy_test.cpp",
20123b3eb3cSopenharmony_ci  ]
20223b3eb3cSopenharmony_ci
20323b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
20423b3eb3cSopenharmony_ci
20523b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
20623b3eb3cSopenharmony_ci
20723b3eb3cSopenharmony_ci  external_deps = [
20823b3eb3cSopenharmony_ci    "ability_base:want",
20923b3eb3cSopenharmony_ci    "ability_runtime:ability_context_native",
21023b3eb3cSopenharmony_ci    "ability_runtime:ability_manager",
21123b3eb3cSopenharmony_ci    "ability_runtime:runtime",
21223b3eb3cSopenharmony_ci    "accessibility:accessibility_common",
21323b3eb3cSopenharmony_ci    "ace_engine:ace_uicontent",
21423b3eb3cSopenharmony_ci    "cJSON:cjson",
21523b3eb3cSopenharmony_ci    "c_utils:utils",
21623b3eb3cSopenharmony_ci    "eventhandler:libeventhandler",
21723b3eb3cSopenharmony_ci    "form_fwk:form_manager",
21823b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
21923b3eb3cSopenharmony_ci    "graphic_surface:surface",
22023b3eb3cSopenharmony_ci    "hilog:libhilog",
22123b3eb3cSopenharmony_ci    "input:libmmi-client",
22223b3eb3cSopenharmony_ci    "ipc:ipc_core",
22323b3eb3cSopenharmony_ci    "napi:ace_napi",
22423b3eb3cSopenharmony_ci  ]
22523b3eb3cSopenharmony_ci}
22623b3eb3cSopenharmony_ci
22723b3eb3cSopenharmony_ciohos_unittest("form_render_delegate_stub_test") {
22823b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
22923b3eb3cSopenharmony_ci  include_dirs = [ "$ace_root/interfaces/inner_api/form_render/include" ]
23023b3eb3cSopenharmony_ci  sources = [
23123b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_impl.cpp",
23223b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_stub.cpp",
23323b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ace_performance_monitor.cpp",
23423b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_system_properties.cpp",
23523b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_container.cpp",
23623b3eb3cSopenharmony_ci    "form_render_delegate_stub_test.cpp",
23723b3eb3cSopenharmony_ci  ]
23823b3eb3cSopenharmony_ci
23923b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
24023b3eb3cSopenharmony_ci
24123b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
24223b3eb3cSopenharmony_ci
24323b3eb3cSopenharmony_ci  external_deps = [
24423b3eb3cSopenharmony_ci    "ability_base:want",
24523b3eb3cSopenharmony_ci    "cJSON:cjson",
24623b3eb3cSopenharmony_ci    "c_utils:utils",
24723b3eb3cSopenharmony_ci    "eventhandler:libeventhandler",
24823b3eb3cSopenharmony_ci    "form_fwk:form_manager",
24923b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
25023b3eb3cSopenharmony_ci    "graphic_surface:surface",
25123b3eb3cSopenharmony_ci    "hilog:libhilog",
25223b3eb3cSopenharmony_ci    "ipc:ipc_core",
25323b3eb3cSopenharmony_ci    "napi:ace_napi",
25423b3eb3cSopenharmony_ci  ]
25523b3eb3cSopenharmony_ci}
25623b3eb3cSopenharmony_ci
25723b3eb3cSopenharmony_ciohos_unittest("form_render_dispatcher_stub_test") {
25823b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
25923b3eb3cSopenharmony_ci  include_dirs = [ "$ace_root/interfaces/inner_api/form_render/include" ]
26023b3eb3cSopenharmony_ci  sources = [
26123b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer.cpp",
26223b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_impl.cpp",
26323b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_proxy.cpp",
26423b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_stub.cpp",
26523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_impl.cpp",
26623b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_proxy.cpp",
26723b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_stub.cpp",
26823b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_group.cpp",
26923b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ace_performance_check.cpp",
27023b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ace_performance_monitor.cpp",
27123b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_engine_helper.cpp",
27223b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_frame_trace_adapter.cpp",
27323b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ressched_report.cpp",
27423b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_system_properties.cpp",
27523b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_ace_application_info.cpp",
27623b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_container.cpp",
27723b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_frame_report.cpp",
27823b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_raw_recognizer.cpp",
27923b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/event/mock_touch_event.cpp",
28023b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/image_provider/mock_image_source_info.cpp",
28123b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/pipeline/mock_element_register.cpp",
28223b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/pipeline/mock_pipeline_context.cpp",
28323b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/render/mock_animation_utils.cpp",
28423b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/render/mock_modifier_adapter.cpp",
28523b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/render/mock_render_context_creator.cpp",
28623b3eb3cSopenharmony_ci    "$ace_root/test/mock/interfaces/mock_uicontent_creator.cpp",
28723b3eb3cSopenharmony_ci    "form_render_dispatcher_stub_test.cpp",
28823b3eb3cSopenharmony_ci  ]
28923b3eb3cSopenharmony_ci
29023b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
29123b3eb3cSopenharmony_ci
29223b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
29323b3eb3cSopenharmony_ci
29423b3eb3cSopenharmony_ci  external_deps = [
29523b3eb3cSopenharmony_ci    "ability_base:want",
29623b3eb3cSopenharmony_ci    "ability_runtime:ability_context_native",
29723b3eb3cSopenharmony_ci    "ability_runtime:ability_manager",
29823b3eb3cSopenharmony_ci    "ability_runtime:runtime",
29923b3eb3cSopenharmony_ci    "accessibility:accessibility_common",
30023b3eb3cSopenharmony_ci    "ace_engine:ace_uicontent",
30123b3eb3cSopenharmony_ci    "cJSON:cjson",
30223b3eb3cSopenharmony_ci    "c_utils:utils",
30323b3eb3cSopenharmony_ci    "eventhandler:libeventhandler",
30423b3eb3cSopenharmony_ci    "form_fwk:form_manager",
30523b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
30623b3eb3cSopenharmony_ci    "graphic_surface:surface",
30723b3eb3cSopenharmony_ci    "hilog:libhilog",
30823b3eb3cSopenharmony_ci    "input:libmmi-client",
30923b3eb3cSopenharmony_ci    "ipc:ipc_core",
31023b3eb3cSopenharmony_ci    "napi:ace_napi",
31123b3eb3cSopenharmony_ci  ]
31223b3eb3cSopenharmony_ci}
31323b3eb3cSopenharmony_ci
31423b3eb3cSopenharmony_ciohos_unittest("form_render_delegate_impl_test") {
31523b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
31623b3eb3cSopenharmony_ci  include_dirs = [ "$ace_root/interfaces/inner_api/form_render/include" ]
31723b3eb3cSopenharmony_ci  sources = [
31823b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_impl.cpp",
31923b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_stub.cpp",
32023b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_ace_performance_monitor.cpp",
32123b3eb3cSopenharmony_ci    "$ace_root/test/mock/base/mock_system_properties.cpp",
32223b3eb3cSopenharmony_ci    "$ace_root/test/mock/core/common/mock_container.cpp",
32323b3eb3cSopenharmony_ci    "form_render_delegate_impl_test.cpp",
32423b3eb3cSopenharmony_ci  ]
32523b3eb3cSopenharmony_ci
32623b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
32723b3eb3cSopenharmony_ci
32823b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
32923b3eb3cSopenharmony_ci
33023b3eb3cSopenharmony_ci  external_deps = [
33123b3eb3cSopenharmony_ci    "ability_base:want",
33223b3eb3cSopenharmony_ci    "cJSON:cjson",
33323b3eb3cSopenharmony_ci    "c_utils:utils",
33423b3eb3cSopenharmony_ci    "eventhandler:libeventhandler",
33523b3eb3cSopenharmony_ci    "form_fwk:form_manager",
33623b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
33723b3eb3cSopenharmony_ci    "graphic_surface:surface",
33823b3eb3cSopenharmony_ci    "hilog:libhilog",
33923b3eb3cSopenharmony_ci    "ipc:ipc_core",
34023b3eb3cSopenharmony_ci    "napi:ace_napi",
34123b3eb3cSopenharmony_ci  ]
34223b3eb3cSopenharmony_ci}
34323b3eb3cSopenharmony_ci
34423b3eb3cSopenharmony_ciohos_unittest("form_render_dispatcher_impl_test") {
34523b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
34623b3eb3cSopenharmony_ci  include_dirs = [ "$ace_root/interfaces/inner_api/form_render/include" ]
34723b3eb3cSopenharmony_ci  sources = [
34823b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer.cpp",
34923b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_impl.cpp",
35023b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_stub.cpp",
35123b3eb3cSopenharmony_ci    "form_render_dispatcher_impl_test.cpp",
35223b3eb3cSopenharmony_ci  ]
35323b3eb3cSopenharmony_ci
35423b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
35523b3eb3cSopenharmony_ci
35623b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
35723b3eb3cSopenharmony_ci
35823b3eb3cSopenharmony_ci  external_deps = [
35923b3eb3cSopenharmony_ci    "ability_base:want",
36023b3eb3cSopenharmony_ci    "ability_runtime:ability_context_native",
36123b3eb3cSopenharmony_ci    "ability_runtime:ability_manager",
36223b3eb3cSopenharmony_ci    "ability_runtime:runtime",
36323b3eb3cSopenharmony_ci    "accessibility:accessibility_common",
36423b3eb3cSopenharmony_ci    "ace_engine:ace_uicontent",
36523b3eb3cSopenharmony_ci    "cJSON:cjson",
36623b3eb3cSopenharmony_ci    "c_utils:utils",
36723b3eb3cSopenharmony_ci    "eventhandler:libeventhandler",
36823b3eb3cSopenharmony_ci    "form_fwk:form_manager",
36923b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
37023b3eb3cSopenharmony_ci    "graphic_surface:surface",
37123b3eb3cSopenharmony_ci    "hilog:libhilog",
37223b3eb3cSopenharmony_ci    "input:libmmi-client",
37323b3eb3cSopenharmony_ci    "ipc:ipc_core",
37423b3eb3cSopenharmony_ci    "napi:ace_napi",
37523b3eb3cSopenharmony_ci  ]
37623b3eb3cSopenharmony_ci}
37723b3eb3cSopenharmony_ci
37823b3eb3cSopenharmony_ciohos_unittest("drawable_descriptor_test") {
37923b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
38023b3eb3cSopenharmony_ci
38123b3eb3cSopenharmony_ci  sources = [
38223b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor/drawable_descriptor.cpp",
38323b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor/image_converter.cpp",
38423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_drawable_descriptor.cpp",
38523b3eb3cSopenharmony_ci    "drawable_descriptor_test.cpp",
38623b3eb3cSopenharmony_ci  ]
38723b3eb3cSopenharmony_ci
38823b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
38923b3eb3cSopenharmony_ci
39023b3eb3cSopenharmony_ci  include_dirs = [
39123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
39223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
39323b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor",
39423b3eb3cSopenharmony_ci  ]
39523b3eb3cSopenharmony_ci
39623b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
39723b3eb3cSopenharmony_ci
39823b3eb3cSopenharmony_ci  external_deps = [
39923b3eb3cSopenharmony_ci    "cJSON:cjson",
40023b3eb3cSopenharmony_ci    "c_utils:utils",
40123b3eb3cSopenharmony_ci    "graphic_2d:2d_graphics",
40223b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
40323b3eb3cSopenharmony_ci    "hilog:libhilog",
40423b3eb3cSopenharmony_ci    "image_framework:image",
40523b3eb3cSopenharmony_ci    "image_framework:image_native",
40623b3eb3cSopenharmony_ci    "napi:ace_napi",
40723b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
40823b3eb3cSopenharmony_ci  ]
40923b3eb3cSopenharmony_ci}
41023b3eb3cSopenharmony_ci
41123b3eb3cSopenharmony_ciohos_unittest("ui_event_test") {
41223b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
41323b3eb3cSopenharmony_ci
41423b3eb3cSopenharmony_ci  sources = [
41523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/ace/ui_event.cpp",
41623b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/ace/ui_event_func.cpp",
41723b3eb3cSopenharmony_ci    "ui_event_test.cpp",
41823b3eb3cSopenharmony_ci  ]
41923b3eb3cSopenharmony_ci
42023b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
42123b3eb3cSopenharmony_ci  include_dirs = [ "${ace_root}/interfaces/inner_api/ace" ]
42223b3eb3cSopenharmony_ci  deps = [
42323b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/components/theme:build_theme_code",
42423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_base",
42523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_base",
42623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_event",
42723b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_gestures",
42823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_layout",
42923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_manager",
43023b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_mock",
43123b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_pattern",
43223b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_property",
43323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_render",
43423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_syntax",
43523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_animation",
43623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_extra",
43723b3eb3cSopenharmony_ci    "//third_party/googletest:gmock_main",
43823b3eb3cSopenharmony_ci  ]
43923b3eb3cSopenharmony_ci  external_deps = [
44023b3eb3cSopenharmony_ci    "hilog:libhilog",
44123b3eb3cSopenharmony_ci    "init:libbegetutil",
44223b3eb3cSopenharmony_ci  ]
44323b3eb3cSopenharmony_ci}
44423b3eb3cSopenharmony_ci
44523b3eb3cSopenharmony_ciace_unittest("extension_custom_node_test_ng") {
44623b3eb3cSopenharmony_ci  type = "new"
44723b3eb3cSopenharmony_ci  module_output = "basic"
44823b3eb3cSopenharmony_ci  sources = [
44923b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/native/node/extension_custom_node.cpp",
45023b3eb3cSopenharmony_ci    "extension_custom_node_test_ng.cpp",
45123b3eb3cSopenharmony_ci  ]
45223b3eb3cSopenharmony_ci}
45323b3eb3cSopenharmony_ci
45423b3eb3cSopenharmony_ciohos_unittest("ace_forward_compatibility_test") {
45523b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
45623b3eb3cSopenharmony_ci
45723b3eb3cSopenharmony_ci  sources = [
45823b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/ace/ace_forward_compatibility.cpp",
45923b3eb3cSopenharmony_ci    "ace_forward_compatibility_test.cpp",
46023b3eb3cSopenharmony_ci  ]
46123b3eb3cSopenharmony_ci
46223b3eb3cSopenharmony_ci  include_dirs = [ "${ace_root}/interfaces/inner_api/ace" ]
46323b3eb3cSopenharmony_ci
46423b3eb3cSopenharmony_ci  external_deps = [
46523b3eb3cSopenharmony_ci    "hilog:libhilog",
46623b3eb3cSopenharmony_ci    "init:libbegetutil",
46723b3eb3cSopenharmony_ci  ]
46823b3eb3cSopenharmony_ci}
46923b3eb3cSopenharmony_ci
47023b3eb3cSopenharmony_ciohos_unittest("navigation_controller_test") {
47123b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
47223b3eb3cSopenharmony_ci
47323b3eb3cSopenharmony_ci  sources = [ "navigation_controller_test.cpp" ]
47423b3eb3cSopenharmony_ci
47523b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
47623b3eb3cSopenharmony_ci  include_dirs = [ "${ace_root}/interfaces/inner_api/ace" ]
47723b3eb3cSopenharmony_ci
47823b3eb3cSopenharmony_ci  external_deps = [
47923b3eb3cSopenharmony_ci    "hilog:libhilog",
48023b3eb3cSopenharmony_ci    "init:libbegetutil",
48123b3eb3cSopenharmony_ci  ]
48223b3eb3cSopenharmony_ci}
48323b3eb3cSopenharmony_ci
48423b3eb3cSopenharmony_ciconfig("c_api_configs") {
48523b3eb3cSopenharmony_ci  cflags = [ "-Wno-missing-braces" ]
48623b3eb3cSopenharmony_ci}
48723b3eb3cSopenharmony_ci
48823b3eb3cSopenharmony_ciohos_unittest("native_node_napi_test") {
48923b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
49023b3eb3cSopenharmony_ci
49123b3eb3cSopenharmony_ci  sources = [
49223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/animate_impl.cpp",
49323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/dialog_model.cpp",
49423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/event_converter.cpp",
49523b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/gesture_impl.cpp",
49623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_impl.cpp",
49723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_node_napi.cpp",
49823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_extened.cpp",
49923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_model.cpp",
50023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_node_relative_container.cpp",
50123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition.cpp",
50223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/style_modifier.cpp",
50323b3eb3cSopenharmony_ci    "native_gesture_test.cpp",
50423b3eb3cSopenharmony_ci    "native_node_napi_test.cpp",
50523b3eb3cSopenharmony_ci    "native_node_test.cpp",
50623b3eb3cSopenharmony_ci  ]
50723b3eb3cSopenharmony_ci
50823b3eb3cSopenharmony_ci  configs = [
50923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
51023b3eb3cSopenharmony_ci    ":c_api_configs",
51123b3eb3cSopenharmony_ci  ]
51223b3eb3cSopenharmony_ci
51323b3eb3cSopenharmony_ci  include_dirs = [
51423b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
51523b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
51623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
51723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
51823b3eb3cSopenharmony_ci    "$ace_root",
51923b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor",
52023b3eb3cSopenharmony_ci  ]
52123b3eb3cSopenharmony_ci
52223b3eb3cSopenharmony_ci  deps = [
52323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_base",
52423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_base",
52523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_event",
52623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_gestures",
52723b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_layout",
52823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_manager",
52923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_mock",
53023b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_pattern",
53123b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_property",
53223b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_render",
53323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_syntax",
53423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_animation",
53523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_extra",
53623b3eb3cSopenharmony_ci    "//third_party/googletest:gmock_main",
53723b3eb3cSopenharmony_ci  ]
53823b3eb3cSopenharmony_ci
53923b3eb3cSopenharmony_ci  public_deps = [
54023b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
54123b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
54223b3eb3cSopenharmony_ci  ]
54323b3eb3cSopenharmony_ci
54423b3eb3cSopenharmony_ci  external_deps = [
54523b3eb3cSopenharmony_ci    "cJSON:cjson",
54623b3eb3cSopenharmony_ci    "c_utils:utils",
54723b3eb3cSopenharmony_ci    "hilog:libhilog",
54823b3eb3cSopenharmony_ci    "image_framework:image",
54923b3eb3cSopenharmony_ci    "image_framework:image_native",
55023b3eb3cSopenharmony_ci    "napi:ace_napi",
55123b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
55223b3eb3cSopenharmony_ci  ]
55323b3eb3cSopenharmony_ci}
55423b3eb3cSopenharmony_ci
55523b3eb3cSopenharmony_ciohos_unittest("drag_and_drop_test") {
55623b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
55723b3eb3cSopenharmony_ci
55823b3eb3cSopenharmony_ci  sources = [
55923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/event/drag_and_drop_impl.cpp",
56023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/animate_impl.cpp",
56123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/dialog_model.cpp",
56223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/event_converter.cpp",
56323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/gesture_impl.cpp",
56423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_impl.cpp",
56523b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_node_napi.cpp",
56623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_extened.cpp",
56723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_model.cpp",
56823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_node_relative_container.cpp",
56923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition.cpp",
57023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/style_modifier.cpp",
57123b3eb3cSopenharmony_ci    "drag_and_drop_test.cpp",
57223b3eb3cSopenharmony_ci  ]
57323b3eb3cSopenharmony_ci
57423b3eb3cSopenharmony_ci  configs = [
57523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
57623b3eb3cSopenharmony_ci    ":c_api_configs",
57723b3eb3cSopenharmony_ci  ]
57823b3eb3cSopenharmony_ci
57923b3eb3cSopenharmony_ci  include_dirs = [
58023b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
58123b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
58223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
58323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
58423b3eb3cSopenharmony_ci    "$ace_root",
58523b3eb3cSopenharmony_ci  ]
58623b3eb3cSopenharmony_ci
58723b3eb3cSopenharmony_ci  deps = [
58823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_base",
58923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_base",
59023b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_event",
59123b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_gestures",
59223b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_layout",
59323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_manager",
59423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_mock",
59523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_pattern",
59623b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_property",
59723b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_render",
59823b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_components_syntax",
59923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_animation",
60023b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_core_extra",
60123b3eb3cSopenharmony_ci    "//third_party/googletest:gmock_main",
60223b3eb3cSopenharmony_ci  ]
60323b3eb3cSopenharmony_ci
60423b3eb3cSopenharmony_ci  public_deps = [
60523b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
60623b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
60723b3eb3cSopenharmony_ci  ]
60823b3eb3cSopenharmony_ci
60923b3eb3cSopenharmony_ci  external_deps = [
61023b3eb3cSopenharmony_ci    "cJSON:cjson",
61123b3eb3cSopenharmony_ci    "c_utils:utils",
61223b3eb3cSopenharmony_ci    "hilog:libhilog",
61323b3eb3cSopenharmony_ci    "image_framework:image",
61423b3eb3cSopenharmony_ci    "image_framework:image_native",
61523b3eb3cSopenharmony_ci    "image_framework:pixelmap",
61623b3eb3cSopenharmony_ci    "napi:ace_napi",
61723b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
61823b3eb3cSopenharmony_ci    "udmf:udmf_client",
61923b3eb3cSopenharmony_ci  ]
62023b3eb3cSopenharmony_ci}
62123b3eb3cSopenharmony_ci
62223b3eb3cSopenharmony_ciohos_unittest("node_transition_test") {
62323b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
62423b3eb3cSopenharmony_ci
62523b3eb3cSopenharmony_ci  sources = [
62623b3eb3cSopenharmony_ci    "$ace_root/adapter/ohos/osal/log_wrapper.cpp",
62723b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/components/common/properties/color.cpp",
62823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/animate_impl.cpp",
62923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/dialog_model.cpp",
63023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/event_converter.cpp",
63123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/gesture_impl.cpp",
63223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_impl.cpp",
63323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_node_napi.cpp",
63423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_animate.cpp",
63523b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_extened.cpp",
63623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_model.cpp",
63723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition.cpp",
63823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition_imp.cpp",
63923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/style_modifier.cpp",
64023b3eb3cSopenharmony_ci    "$ace_root/test/mock/adapter/mock_log_wrapper.cpp",
64123b3eb3cSopenharmony_ci    "node_transition_test.cpp",
64223b3eb3cSopenharmony_ci  ]
64323b3eb3cSopenharmony_ci
64423b3eb3cSopenharmony_ci  configs = [
64523b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
64623b3eb3cSopenharmony_ci    ":c_api_configs",
64723b3eb3cSopenharmony_ci  ]
64823b3eb3cSopenharmony_ci
64923b3eb3cSopenharmony_ci  include_dirs = [
65023b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
65123b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
65223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
65323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
65423b3eb3cSopenharmony_ci    "$ace_root",
65523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor",
65623b3eb3cSopenharmony_ci  ]
65723b3eb3cSopenharmony_ci
65823b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
65923b3eb3cSopenharmony_ci
66023b3eb3cSopenharmony_ci  public_deps = [
66123b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
66223b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
66323b3eb3cSopenharmony_ci  ]
66423b3eb3cSopenharmony_ci
66523b3eb3cSopenharmony_ci  external_deps = [
66623b3eb3cSopenharmony_ci    "cJSON:cjson",
66723b3eb3cSopenharmony_ci    "c_utils:utils",
66823b3eb3cSopenharmony_ci    "hilog:libhilog",
66923b3eb3cSopenharmony_ci    "image_framework:image",
67023b3eb3cSopenharmony_ci    "image_framework:image_native",
67123b3eb3cSopenharmony_ci    "napi:ace_napi",
67223b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
67323b3eb3cSopenharmony_ci  ]
67423b3eb3cSopenharmony_ci}
67523b3eb3cSopenharmony_ci
67623b3eb3cSopenharmony_ciohos_unittest("animate_impl_test") {
67723b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
67823b3eb3cSopenharmony_ci
67923b3eb3cSopenharmony_ci  sources = [
68023b3eb3cSopenharmony_ci    "$ace_root/adapter/ohos/osal/log_wrapper.cpp",
68123b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/components/common/properties/color.cpp",
68223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/animate_impl.cpp",
68323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/dialog_model.cpp",
68423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/event_converter.cpp",
68523b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/gesture_impl.cpp",
68623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_impl.cpp",
68723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_node_napi.cpp",
68823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_animate.cpp",
68923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_extened.cpp",
69023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_model.cpp",
69123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition.cpp",
69223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition_imp.cpp",
69323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/style_modifier.cpp",
69423b3eb3cSopenharmony_ci    "$ace_root/test/mock/adapter/mock_log_wrapper.cpp",
69523b3eb3cSopenharmony_ci    "animate_impl_test.cpp",
69623b3eb3cSopenharmony_ci  ]
69723b3eb3cSopenharmony_ci
69823b3eb3cSopenharmony_ci  configs = [
69923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
70023b3eb3cSopenharmony_ci    ":c_api_configs",
70123b3eb3cSopenharmony_ci  ]
70223b3eb3cSopenharmony_ci
70323b3eb3cSopenharmony_ci  include_dirs = [
70423b3eb3cSopenharmony_ci    "$ace_root/frameworks/base/error",
70523b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
70623b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
70723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
70823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
70923b3eb3cSopenharmony_ci    "$ace_root",
71023b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor",
71123b3eb3cSopenharmony_ci  ]
71223b3eb3cSopenharmony_ci
71323b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
71423b3eb3cSopenharmony_ci
71523b3eb3cSopenharmony_ci  public_deps = [
71623b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
71723b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
71823b3eb3cSopenharmony_ci  ]
71923b3eb3cSopenharmony_ci
72023b3eb3cSopenharmony_ci  external_deps = [
72123b3eb3cSopenharmony_ci    "cJSON:cjson",
72223b3eb3cSopenharmony_ci    "c_utils:utils",
72323b3eb3cSopenharmony_ci    "hilog:libhilog",
72423b3eb3cSopenharmony_ci    "image_framework:image",
72523b3eb3cSopenharmony_ci    "image_framework:image_native",
72623b3eb3cSopenharmony_ci    "napi:ace_napi",
72723b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
72823b3eb3cSopenharmony_ci  ]
72923b3eb3cSopenharmony_ci}
73023b3eb3cSopenharmony_ci
73123b3eb3cSopenharmony_ciohos_unittest("dialog_model_test") {
73223b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
73323b3eb3cSopenharmony_ci
73423b3eb3cSopenharmony_ci  sources = [
73523b3eb3cSopenharmony_ci    "$ace_root/adapter/ohos/osal/log_wrapper.cpp",
73623b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/components/common/properties/color.cpp",
73723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/animate_impl.cpp",
73823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/dialog_model.cpp",
73923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/event_converter.cpp",
74023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/gesture_impl.cpp",
74123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_impl.cpp",
74223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_node_napi.cpp",
74323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_animate.cpp",
74423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_extened.cpp",
74523b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_model.cpp",
74623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition.cpp",
74723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition_imp.cpp",
74823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/style_modifier.cpp",
74923b3eb3cSopenharmony_ci    "$ace_root/test/mock/adapter/mock_log_wrapper.cpp",
75023b3eb3cSopenharmony_ci    "dialog_model_test.cpp",
75123b3eb3cSopenharmony_ci  ]
75223b3eb3cSopenharmony_ci
75323b3eb3cSopenharmony_ci  configs = [
75423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
75523b3eb3cSopenharmony_ci    ":c_api_configs",
75623b3eb3cSopenharmony_ci  ]
75723b3eb3cSopenharmony_ci
75823b3eb3cSopenharmony_ci  include_dirs = [
75923b3eb3cSopenharmony_ci    "$ace_root/frameworks/base/error",
76023b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
76123b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
76223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
76323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
76423b3eb3cSopenharmony_ci    "$ace_root",
76523b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor",
76623b3eb3cSopenharmony_ci  ]
76723b3eb3cSopenharmony_ci
76823b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
76923b3eb3cSopenharmony_ci
77023b3eb3cSopenharmony_ci  public_deps = [
77123b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
77223b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
77323b3eb3cSopenharmony_ci  ]
77423b3eb3cSopenharmony_ci
77523b3eb3cSopenharmony_ci  external_deps = [
77623b3eb3cSopenharmony_ci    "cJSON:cjson",
77723b3eb3cSopenharmony_ci    "c_utils:utils",
77823b3eb3cSopenharmony_ci    "hilog:libhilog",
77923b3eb3cSopenharmony_ci    "image_framework:image",
78023b3eb3cSopenharmony_ci    "image_framework:image_native",
78123b3eb3cSopenharmony_ci    "napi:ace_napi",
78223b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
78323b3eb3cSopenharmony_ci  ]
78423b3eb3cSopenharmony_ci}
78523b3eb3cSopenharmony_ci
78623b3eb3cSopenharmony_ciohos_unittest("node_extened_test") {
78723b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
78823b3eb3cSopenharmony_ci
78923b3eb3cSopenharmony_ci  sources = [
79023b3eb3cSopenharmony_ci    "$ace_root/adapter/ohos/osal/log_wrapper.cpp",
79123b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/components/common/properties/color.cpp",
79223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/animate_impl.cpp",
79323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/dialog_model.cpp",
79423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/event_converter.cpp",
79523b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/gesture_impl.cpp",
79623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_impl.cpp",
79723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_node_napi.cpp",
79823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_animate.cpp",
79923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_extened.cpp",
80023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_model.cpp",
80123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition.cpp",
80223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition_imp.cpp",
80323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/style_modifier.cpp",
80423b3eb3cSopenharmony_ci    "$ace_root/test/mock/adapter/mock_log_wrapper.cpp",
80523b3eb3cSopenharmony_ci    "node_extened_test.cpp",
80623b3eb3cSopenharmony_ci  ]
80723b3eb3cSopenharmony_ci
80823b3eb3cSopenharmony_ci  configs = [
80923b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
81023b3eb3cSopenharmony_ci    ":c_api_configs",
81123b3eb3cSopenharmony_ci  ]
81223b3eb3cSopenharmony_ci
81323b3eb3cSopenharmony_ci  include_dirs = [
81423b3eb3cSopenharmony_ci    "$ace_root/frameworks/base/error",
81523b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
81623b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
81723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
81823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
81923b3eb3cSopenharmony_ci    "$ace_root",
82023b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor",
82123b3eb3cSopenharmony_ci  ]
82223b3eb3cSopenharmony_ci
82323b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
82423b3eb3cSopenharmony_ci
82523b3eb3cSopenharmony_ci  public_deps = [
82623b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
82723b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
82823b3eb3cSopenharmony_ci  ]
82923b3eb3cSopenharmony_ci
83023b3eb3cSopenharmony_ci  external_deps = [
83123b3eb3cSopenharmony_ci    "cJSON:cjson",
83223b3eb3cSopenharmony_ci    "c_utils:utils",
83323b3eb3cSopenharmony_ci    "hilog:libhilog",
83423b3eb3cSopenharmony_ci    "image_framework:image",
83523b3eb3cSopenharmony_ci    "image_framework:image_native",
83623b3eb3cSopenharmony_ci    "napi:ace_napi",
83723b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
83823b3eb3cSopenharmony_ci  ]
83923b3eb3cSopenharmony_ci}
84023b3eb3cSopenharmony_ci
84123b3eb3cSopenharmony_ciohos_unittest("node_animate_test") {
84223b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
84323b3eb3cSopenharmony_ci
84423b3eb3cSopenharmony_ci  sources = [
84523b3eb3cSopenharmony_ci    "$ace_root/adapter/ohos/osal/log_wrapper.cpp",
84623b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/components/common/properties/color.cpp",
84723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/animate_impl.cpp",
84823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/dialog_model.cpp",
84923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/event_converter.cpp",
85023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/gesture_impl.cpp",
85123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_impl.cpp",
85223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_node_napi.cpp",
85323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_animate.cpp",
85423b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_extened.cpp",
85523b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_model.cpp",
85623b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition.cpp",
85723b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/node_transition_imp.cpp",
85823b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/style_modifier.cpp",
85923b3eb3cSopenharmony_ci    "$ace_root/test/mock/adapter/mock_log_wrapper.cpp",
86023b3eb3cSopenharmony_ci    "node_animate_test.cpp",
86123b3eb3cSopenharmony_ci  ]
86223b3eb3cSopenharmony_ci
86323b3eb3cSopenharmony_ci  configs = [
86423b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
86523b3eb3cSopenharmony_ci    ":c_api_configs",
86623b3eb3cSopenharmony_ci  ]
86723b3eb3cSopenharmony_ci
86823b3eb3cSopenharmony_ci  include_dirs = [
86923b3eb3cSopenharmony_ci    "$ace_root/frameworks/base/error",
87023b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
87123b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
87223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
87323b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
87423b3eb3cSopenharmony_ci    "$ace_root",
87523b3eb3cSopenharmony_ci  ]
87623b3eb3cSopenharmony_ci
87723b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
87823b3eb3cSopenharmony_ci
87923b3eb3cSopenharmony_ci  public_deps = [
88023b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
88123b3eb3cSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
88223b3eb3cSopenharmony_ci  ]
88323b3eb3cSopenharmony_ci
88423b3eb3cSopenharmony_ci  external_deps = [
88523b3eb3cSopenharmony_ci    "cJSON:cjson",
88623b3eb3cSopenharmony_ci    "c_utils:utils",
88723b3eb3cSopenharmony_ci    "hilog:libhilog",
88823b3eb3cSopenharmony_ci    "image_framework:image",
88923b3eb3cSopenharmony_ci    "image_framework:image_native",
89023b3eb3cSopenharmony_ci    "napi:ace_napi",
89123b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
89223b3eb3cSopenharmony_ci  ]
89323b3eb3cSopenharmony_ci}
89423b3eb3cSopenharmony_ci
89523b3eb3cSopenharmony_ciohos_unittest("js_drawable_descriptor_test") {
89623b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
89723b3eb3cSopenharmony_ci
89823b3eb3cSopenharmony_ci  sources = [
89923b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor/drawable_descriptor.cpp",
90023b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor/image_converter.cpp",
90123b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor/js_drawable_descriptor.cpp",
90223b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node/native_drawable_descriptor.cpp",
90323b3eb3cSopenharmony_ci    "js_drawable_descriptor_test.cpp",
90423b3eb3cSopenharmony_ci  ]
90523b3eb3cSopenharmony_ci
90623b3eb3cSopenharmony_ci  configs = [ "$ace_root/test/unittest:ace_unittest_config" ]
90723b3eb3cSopenharmony_ci
90823b3eb3cSopenharmony_ci  include_dirs = [
90923b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
91023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
91123b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/drawable_descriptor",
91223b3eb3cSopenharmony_ci  ]
91323b3eb3cSopenharmony_ci
91423b3eb3cSopenharmony_ci  deps = [ "//third_party/googletest:gmock_main" ]
91523b3eb3cSopenharmony_ci
91623b3eb3cSopenharmony_ci  cflags = [
91723b3eb3cSopenharmony_ci    "-Dprivate=public",
91823b3eb3cSopenharmony_ci    "-Dprotected=public",
91923b3eb3cSopenharmony_ci  ]
92023b3eb3cSopenharmony_ci
92123b3eb3cSopenharmony_ci  external_deps = [
92223b3eb3cSopenharmony_ci    "cJSON:cjson",
92323b3eb3cSopenharmony_ci    "c_utils:utils",
92423b3eb3cSopenharmony_ci    "graphic_2d:2d_graphics",
92523b3eb3cSopenharmony_ci    "graphic_2d:librender_service_client",
92623b3eb3cSopenharmony_ci    "hilog:libhilog",
92723b3eb3cSopenharmony_ci    "image_framework:image",
92823b3eb3cSopenharmony_ci    "image_framework:image_native",
92923b3eb3cSopenharmony_ci    "napi:ace_napi",
93023b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
93123b3eb3cSopenharmony_ci  ]
93223b3eb3cSopenharmony_ci}
93323b3eb3cSopenharmony_ci
93423b3eb3cSopenharmony_ciohos_unittest("xcomponent_controller_test") {
93523b3eb3cSopenharmony_ci  module_out_path = interface_test_output_path
93623b3eb3cSopenharmony_ci
93723b3eb3cSopenharmony_ci  sources = [
93823b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/xcomponent_controller/xcomponent_controller.cpp",
93923b3eb3cSopenharmony_ci    "xcomponent_controller_test.cpp",
94023b3eb3cSopenharmony_ci  ]
94123b3eb3cSopenharmony_ci
94223b3eb3cSopenharmony_ci  configs = [
94323b3eb3cSopenharmony_ci    "$ace_root/test/unittest:ace_unittest_config",
94423b3eb3cSopenharmony_ci    ":c_api_configs",
94523b3eb3cSopenharmony_ci  ]
94623b3eb3cSopenharmony_ci
94723b3eb3cSopenharmony_ci  include_dirs = [
94823b3eb3cSopenharmony_ci    "$ace_root/frameworks/core/interfaces/arkoala",
94923b3eb3cSopenharmony_ci    "$ace_root/frameworks/",
95023b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/",
95123b3eb3cSopenharmony_ci    "$ace_root/interfaces/native/node",
95223b3eb3cSopenharmony_ci    "$ace_root",
95323b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/xcomponent_controller",
95423b3eb3cSopenharmony_ci  ]
95523b3eb3cSopenharmony_ci
95623b3eb3cSopenharmony_ci  deps = [
95723b3eb3cSopenharmony_ci    "$ace_root/interfaces/inner_api/xcomponent_controller:ace_xcomponent_controller",
95823b3eb3cSopenharmony_ci    "//third_party/googletest:gmock_main",
95923b3eb3cSopenharmony_ci  ]
96023b3eb3cSopenharmony_ci
96123b3eb3cSopenharmony_ci  external_deps = [
96223b3eb3cSopenharmony_ci    "cJSON:cjson",
96323b3eb3cSopenharmony_ci    "c_utils:utils",
96423b3eb3cSopenharmony_ci    "ets_runtime:libark_jsruntime",
96523b3eb3cSopenharmony_ci    "hilog:libhilog",
96623b3eb3cSopenharmony_ci    "image_framework:image",
96723b3eb3cSopenharmony_ci    "image_framework:image_native",
96823b3eb3cSopenharmony_ci    "napi:ace_napi",
96923b3eb3cSopenharmony_ci    "resource_management:global_resmgr",
97023b3eb3cSopenharmony_ci  ]
97123b3eb3cSopenharmony_ci}
97223b3eb3cSopenharmony_ci
97323b3eb3cSopenharmony_cigroup("interfaces_unittest") {
97423b3eb3cSopenharmony_ci  testonly = true
97523b3eb3cSopenharmony_ci  deps = [
97623b3eb3cSopenharmony_ci    ":ace_forward_compatibility_test",
97723b3eb3cSopenharmony_ci    ":animate_impl_test",
97823b3eb3cSopenharmony_ci    ":dialog_model_test",
97923b3eb3cSopenharmony_ci    ":drag_and_drop_test",
98023b3eb3cSopenharmony_ci    ":drawable_descriptor_test",
98123b3eb3cSopenharmony_ci    ":extension_custom_node_test_ng",
98223b3eb3cSopenharmony_ci    ":form_render_delegate_impl_test",
98323b3eb3cSopenharmony_ci    ":form_render_delegate_proxy_test",
98423b3eb3cSopenharmony_ci    ":form_render_delegate_stub_test",
98523b3eb3cSopenharmony_ci    ":form_render_dispatcher_impl_test",
98623b3eb3cSopenharmony_ci    ":form_render_dispatcher_stub_test",
98723b3eb3cSopenharmony_ci    ":form_render_group_test",
98823b3eb3cSopenharmony_ci    ":form_render_test",
98923b3eb3cSopenharmony_ci    ":js_drawable_descriptor_test",
99023b3eb3cSopenharmony_ci    ":native_node_napi_test",
99123b3eb3cSopenharmony_ci    ":navigation_controller_test",
99223b3eb3cSopenharmony_ci    ":node_animate_test",
99323b3eb3cSopenharmony_ci    ":node_extened_test",
99423b3eb3cSopenharmony_ci    ":node_transition_test",
99523b3eb3cSopenharmony_ci    ":ui_content_test",
99623b3eb3cSopenharmony_ci    ":ui_event_test",
99723b3eb3cSopenharmony_ci    ":viewport_config_test",
99823b3eb3cSopenharmony_ci    ":xcomponent_controller_test",
99923b3eb3cSopenharmony_ci  ]
100023b3eb3cSopenharmony_ci}
1001