Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Graphic Ui
提交
aa579a14
G
Graphic Ui
项目概览
OpenHarmony
/
Graphic Ui
10 个月 前同步成功
通知
13
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Graphic Ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
aa579a14
编写于
12月 03, 2021
作者:
O
openharmony_ci
提交者:
Gitee
12月 03, 2021
浏览文件
操作
浏览文件
下载
差异文件
!554 测试当前未适配LiteOS-M,先关闭,适配完成后再放开
Merge pull request !554 from SimonLi/master
上级
2d44c2ce
5b1b8bfe
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
98 addition
and
94 deletion
+98
-94
test/unittest/BUILD.gn
test/unittest/BUILD.gn
+98
-94
未找到文件。
test/unittest/BUILD.gn
浏览文件 @
aa579a14
...
...
@@ -8,107 +8,111 @@
# 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/lite/config/subsystem/graphic/config.gni")
import("//build/lite/config/test.gni")
group("lite_graphic_ui_test") {
if (ohos_build_type == "debug") {
deps = [ ":graphic_test_ui_door" ]
}
}
if (ohos_kernel_type != "liteos_m") {
import("//build/lite/config/subsystem/graphic/config.gni")
import("//build/lite/config/test.gni")
config("graphic_test_config") {
include_dirs = [
"../framework/include",
"//foundation/graphic/ui/frameworks",
"//foundation/graphic/surface/interfaces/kits",
"//third_party/bounds_checking_function/include",
"//third_party/freetype/include",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/registry",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/communication/broadcast",
"//foundation/multimedia/media_lite/interfaces/kits/player_lite",
"//foundation/multimedia/utils/lite/interfaces/kits",
]
ldflags = [
"-lstdc++",
"-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
]
}
group("lite_graphic_ui_test") {
if (ohos_build_type == "debug") {
deps = [ ":graphic_test_ui_door" ]
}
}
if (ohos_build_type == "debug") {
unittest("graphic_test_ui_door") {
output_extension = "bin"
output_dir = "$root_out_dir/test/unittest/graphic"
configs = [ ":graphic_test_config" ]
sources = [
"animator/animator_unit_test.cpp",
"animator/easing_equation_unit_test.cpp",
"animator/interpolation_unit_test.cpp",
"common/focus_manager_unit_test.cpp",
"common/hardware_acceleration_unit_test.cpp",
"common/screen_unit_test.cpp",
"common/text_unit_test.cpp",
"components/ui_abstract_progress_unit_test.cpp",
"components/ui_analog_clock_unit_test.cpp",
"components/ui_arc_label_unit_test.cpp",
"components/ui_axis_unit_test.cpp",
"components/ui_box_progress_unit_test.cpp",
"components/ui_button_unit_test.cpp",
"components/ui_canvas_unit_test.cpp",
"components/ui_chart_unit_test.cpp",
"components/ui_checkbox_unit_test.cpp",
"components/ui_circle_progress_unit_test.cpp",
"components/ui_dialog_unit_test.cpp",
"components/ui_digital_clock_unit_test.cpp",
"components/ui_image_animator_unit_test.cpp",
"components/ui_image_unit_test.cpp",
"components/ui_label_button_unit_test.cpp",
"components/ui_label_unit_test.cpp",
"components/ui_list_unit_test.cpp",
"components/ui_picker_unit_test.cpp",
"components/ui_qrcode_unit_test.cpp",
"components/ui_radio_button_unit_test.cpp",
"components/ui_repeat_button_unit_test.cpp",
"components/ui_scroll_bar_test.cpp",
"components/ui_scroll_view_unit_test.cpp",
"components/ui_slider_unit_test.cpp",
"components/ui_surface_view_unit_test.cpp",
"components/ui_swipe_view_unit_test.cpp",
"components/ui_time_picker_unit_test.cpp",
"components/ui_toggle_button_unit_test.cpp",
"components/ui_view_group_unit_test.cpp",
"components/ui_view_unit_test.cpp",
"dfx/event_injector_unit_test.cpp",
"dfx/view_bounds_unit_test.cpp",
"events/cancel_event_unit_test.cpp",
"events/click_event_unit_test.cpp",
"events/drag_event_unit_test.cpp",
"events/event_bubble_unit_test.cpp",
"events/event_unit_test.cpp",
"events/key_event_unit_test.cpp",
"events/long_press_event_unit_test.cpp",
"events/press_event_unit_test.cpp",
"events/release_event_unit_test.cpp",
"events/virtual_device_event_unit_test.cpp",
"font/ui_font_unit_test.cpp",
"image/image_load_unit_test.cpp",
"layout/flex_layout_unit_test.cpp",
"layout/grid_layout_unit_test.cpp",
"layout/list_layout_unit_test.cpp",
"render/render_uni_test.cpp",
"rotate/ui_rotate_input_unit_test.cpp",
"themes/theme_manager_unit_test.cpp",
config("graphic_test_config") {
include_dirs = [
"../framework/include",
"//foundation/graphic/ui/frameworks",
"//foundation/graphic/surface/interfaces/kits",
"//third_party/bounds_checking_function/include",
"//third_party/freetype/include",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/registry",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/communication/broadcast",
"//foundation/multimedia/media_lite/interfaces/kits/player_lite",
"//foundation/multimedia/utils/lite/interfaces/kits",
]
ldflags = [
"-lstdc++",
"-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
]
}
if (ohos_build_type == "debug") {
unittest("graphic_test_ui_door") {
output_extension = "bin"
output_dir = "$root_out_dir/test/unittest/graphic"
configs = [ ":graphic_test_config" ]
sources = [
"animator/animator_unit_test.cpp",
"animator/easing_equation_unit_test.cpp",
"animator/interpolation_unit_test.cpp",
"common/focus_manager_unit_test.cpp",
"common/hardware_acceleration_unit_test.cpp",
"common/screen_unit_test.cpp",
"common/text_unit_test.cpp",
"components/ui_abstract_progress_unit_test.cpp",
"components/ui_analog_clock_unit_test.cpp",
"components/ui_arc_label_unit_test.cpp",
"components/ui_axis_unit_test.cpp",
"components/ui_box_progress_unit_test.cpp",
"components/ui_button_unit_test.cpp",
"components/ui_canvas_unit_test.cpp",
"components/ui_chart_unit_test.cpp",
"components/ui_checkbox_unit_test.cpp",
"components/ui_circle_progress_unit_test.cpp",
"components/ui_dialog_unit_test.cpp",
"components/ui_digital_clock_unit_test.cpp",
"components/ui_image_animator_unit_test.cpp",
"components/ui_image_unit_test.cpp",
"components/ui_label_button_unit_test.cpp",
"components/ui_label_unit_test.cpp",
"components/ui_list_unit_test.cpp",
"components/ui_picker_unit_test.cpp",
"components/ui_qrcode_unit_test.cpp",
"components/ui_radio_button_unit_test.cpp",
"components/ui_repeat_button_unit_test.cpp",
"components/ui_scroll_bar_test.cpp",
"components/ui_scroll_view_unit_test.cpp",
"components/ui_slider_unit_test.cpp",
"components/ui_surface_view_unit_test.cpp",
"components/ui_swipe_view_unit_test.cpp",
"components/ui_time_picker_unit_test.cpp",
"components/ui_toggle_button_unit_test.cpp",
"components/ui_view_group_unit_test.cpp",
"components/ui_view_unit_test.cpp",
"dfx/event_injector_unit_test.cpp",
"dfx/view_bounds_unit_test.cpp",
"events/cancel_event_unit_test.cpp",
"events/click_event_unit_test.cpp",
"events/drag_event_unit_test.cpp",
"events/event_bubble_unit_test.cpp",
"events/event_unit_test.cpp",
"events/key_event_unit_test.cpp",
"events/long_press_event_unit_test.cpp",
"events/press_event_unit_test.cpp",
"events/release_event_unit_test.cpp",
"events/virtual_device_event_unit_test.cpp",
"font/ui_font_unit_test.cpp",
"image/image_load_unit_test.cpp",
"layout/flex_layout_unit_test.cpp",
"layout/grid_layout_unit_test.cpp",
"layout/list_layout_unit_test.cpp",
"render/render_uni_test.cpp",
"rotate/ui_rotate_input_unit_test.cpp",
"themes/theme_manager_unit_test.cpp",
]
deps = [ "//foundation/graphic/ui:ui" ]
deps = [ "//foundation/graphic/ui:ui" ]
if (enable_video_component) {
sources += [ "components/ui_video_unit_test.cpp" ]
if (enable_video_component) {
sources += [ "components/ui_video_unit_test.cpp" ]
deps += [
"//foundation/multimedia/media_lite/frameworks/player_lite:player_lite",
]
deps += [ "//foundation/multimedia/media_lite/frameworks/player_lite:player_lite" ]
}
}
}
} else {
group("lite_graphic_ui_test") {
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录