Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Graphic Ui
提交
d7cfdb57
G
Graphic Ui
项目概览
OpenHarmony
/
Graphic Ui
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
未验证
提交
d7cfdb57
编写于
4月 11, 2023
作者:
O
openharmony_ci
提交者:
Gitee
4月 11, 2023
浏览文件
操作
浏览文件
下载
差异文件
!911 轻图形部件名变更
Merge pull request !911 from Zhouyj/componentName
上级
4874a26c
a04815e0
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
13 addition
and
13 deletion
+13
-13
BUILD.gn
BUILD.gn
+5
-5
README.md
README.md
+2
-2
README_zh.md
README_zh.md
+2
-2
bundle.json
bundle.json
+2
-2
test/unittest/BUILD.gn
test/unittest/BUILD.gn
+2
-2
未找到文件。
BUILD.gn
浏览文件 @
d7cfdb57
...
...
@@ -13,12 +13,12 @@ import("//build/lite/config/component/lite_component.gni")
import("//build/lite/config/subsystem/graphic/config.gni")
import("//build/lite/ndk/ndk.gni")
lite_component("
lite_ui
") {
lite_component("
ui_lite
") {
features = [ ":ui" ]
public_deps = features
}
ndk_lib("
lite_ui
_ndk") {
ndk_lib("
ui_lite
_ndk") {
lib_extension = ".so"
deps = [ ":ui" ]
head_files = [ "interfaces/kits" ]
...
...
@@ -248,9 +248,9 @@ lite_library("ui") {
include_dirs = [ "frameworks" ]
deps = [
"//build/lite/config/component/cJSON:cjson_shared",
"//foundation/graphic/surface:
lite_surfac
e",
"//foundation/graphic/surface:
surface_lit
e",
"//foundation/graphic/utils:lite_graphic_hals",
"//foundation/graphic/wms:
lite_wms
",
"//foundation/graphic/wms:
window_manager_lite
",
"//third_party/bounds_checking_function:libsec_shared",
"//third_party/freetype:freetype",
"//third_party/giflib:libgif",
...
...
@@ -276,7 +276,7 @@ lite_library("ui") {
ldflags = [ "-Wl,-rpath-link=$ohos_root_path/$root_out_dir" ]
}
public_deps = [ "//foundation/graphic/utils:
lite_graphic_utils
" ]
public_deps = [ "//foundation/graphic/utils:
graphic_utils_lite
" ]
public_configs = [ ":graphic_define_config" ]
if (board_toolchain_type != "iccarm") {
cflags = [
...
...
README.md
浏览文件 @
d7cfdb57
...
...
@@ -72,9 +72,9 @@ Platform Constraints
```
# Generate the libui.so file in the out directory of the product folder through GN compilation.
hb build -T //foundation/graphic/ui:
lite_ui
-f #build libui.so
hb build -T //foundation/graphic/ui:
ui_lite
-f #build libui.so
hb build -T //foundation/graphic/wms/test:sample_ui -f # build UI demo
hb build -T //foundation/graphic/ui/test/unittest:
lite_graphic_ui
_test -f # build TDD testcases
hb build -T //foundation/graphic/ui/test/unittest:
arkui_ui_lite
_test -f # build TDD testcases
# To compile the Qt library, see the Qt simulator project at graphic/ui/tools/qt/simulator/simulator.pro.
```
...
...
README_zh.md
浏览文件 @
d7cfdb57
...
...
@@ -72,9 +72,9 @@
```
# 通过gn编译,在out目录下对应产品的文件夹中生成图形库
hb build -T //foundation/graphic/ui:
lite_ui
-f # 编译libui.so
hb build -T //foundation/graphic/ui:
ui_lite
-f # 编译libui.so
hb build -T //foundation/graphic/wms/test:sample_ui -f # 编译UI用例
hb build -T //foundation/graphic/ui/test/unittest:
lite_graphic_ui
_test -f # 编译TDD用例
hb build -T //foundation/graphic/ui/test/unittest:
arkui_ui_lite
_test -f # 编译TDD用例
# 编译qt库可直接参考qt模拟器工程:graphic/ui/tools/qt/simulator/simulator.pro
```
...
...
bundle.json
浏览文件 @
d7cfdb57
...
...
@@ -26,8 +26,8 @@
},
"build"
:
{
"sub_component"
:
[
"//foundation/graphic/ui:
lite_ui
"
,
"//foundation/graphic/ui/test/unittest:
lite_graphic_ui
_test"
"//foundation/graphic/ui:
ui_lite
"
,
"//foundation/graphic/ui/test/unittest:
arkui_ui_lite
_test"
],
"inner_kits"
:
[],
"test"
:
[]
...
...
test/unittest/BUILD.gn
浏览文件 @
d7cfdb57
...
...
@@ -13,7 +13,7 @@ if (ohos_kernel_type != "liteos_m") {
import("//build/lite/config/subsystem/graphic/config.gni")
import("//build/lite/config/test.gni")
group("
lite_graphic_ui
_test") {
group("
arkui_ui_lite
_test") {
if (ohos_build_type == "debug") {
deps = [ ":graphic_test_ui_door" ]
}
...
...
@@ -116,6 +116,6 @@ if (ohos_kernel_type != "liteos_m") {
}
}
} else {
group("
lite_graphic_ui
_test") {
group("
arkui_ui_lite
_test") {
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录