Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b64c131f
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b64c131f
编写于
6月 08, 2023
作者:
H
hekun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix the build.gn
Signed-off-by:
N
hekun
<
hekun18@huawei.com
>
上级
cf2d6ef8
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
25 addition
and
13 deletion
+25
-13
arkui/ace_ets_xcomponent/BUILD.gn
arkui/ace_ets_xcomponent/BUILD.gn
+4
-0
arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn
arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn
+14
-10
arkui/ace_napi_test/entry/src/main/cpp/BUILD.gn
arkui/ace_napi_test/entry/src/main/cpp/BUILD.gn
+4
-2
arkui/libuv/BUILD.gn
arkui/libuv/BUILD.gn
+3
-1
未找到文件。
arkui/ace_ets_xcomponent/BUILD.gn
浏览文件 @
b64c131f
...
...
@@ -16,6 +16,8 @@ import("//build/ohos.gni")
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsAceXComponentEtsTest") {
subsystem_name = "arkui"
part_name = "ace_engine"
hap_profile = "./entry/src/main/config.json"
deps = [
":ace_ets_xcomponent_assets",
...
...
@@ -33,6 +35,8 @@ ohos_js_hap_suite("ActsAceXComponentEtsTest") {
ohos_prebuilt_shared_library("libcppsharedso") {
source = rebase_path(libcxx_ndk_shared_file)
subsystem_name = "arkui"
part_name = "ace_engine"
}
ohos_js_assets("ace_ets_xcomponent_assets") {
...
...
arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn
浏览文件 @
b64c131f
...
...
@@ -13,7 +13,9 @@
import("//build/config/ohos/config.gni")
import("//build/ohos.gni")
import("//foundation/arkui/napi/napi.gni")
comPath = "../../../../../../../../../foundation/arkui/ace_engine/interfaces/native"
compath2 = "../../../../../../../../../foundation/graphic/graphic_2d/frameworks/opengl_wrapper"
compath3 = "../../../../../../../../../base/hiviewdfx/hilog"
config("config") {
visibility = [ ":*" ]
...
...
@@ -35,6 +37,8 @@ ohos_shared_library("nativerender") {
"./render/egl_core.cpp",
"./render/plugin_render.cpp",
]
subsystem_name = "arkui"
part_name = "ace_engine"
if (use_musl) {
stl = "c++_shared"
}
...
...
@@ -43,22 +47,22 @@ ohos_shared_library("nativerender") {
"./common",
"./napi",
"./render",
"//foundation/arkui/napi/interfaces/inner_api/napi",
"//foundation/arkui/ace_engine/interfaces/native",
"//base/hiviewdfx/hilog/interfaces/native/kits/include",
"$comPath",
"$compath3/interfaces/native/kits/include",
]
configs = [
":config",
"//third_party/EGL:libEGL_public_config",
"//third_party/openGLES:libGLES_public_config",
]
external_deps = [
"napi:ace_napi",
]
deps = [
"//base/hiviewdfx/hilog/frameworks/hilog_ndk:hilog_ndk",
"//foundation/arkui/ace_engine/interfaces/native:ace_ndk",
"//foundation/arkui/napi:ace_napi",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3",
"$compath3/frameworks/hilog_ndk:hilog_ndk",
"$comPath:ace_ndk",
"$compath2:EGL",
"$compath2:GLESv3",
]
output_extension = "so"
...
...
arkui/ace_napi_test/entry/src/main/cpp/BUILD.gn
浏览文件 @
b64c131f
...
...
@@ -30,15 +30,17 @@ config("public_config") {
}
ohos_shared_library("napitest") {
subsystem_name = "arkui"
part_name = "napi"
sources = [ "./napi/napi_test.cpp" ]
if (!(product_name == "m40")) {
libs = [ rebase_path(libcxx_ndk_shared_file) ]
}
include_dirs = [ "
//test/xts/acts/arkui/ace_napi_test/entry/src/main
/cpp" ]
include_dirs = [ "
..
/cpp" ]
configs = [ ":config" ]
deps = [ "//foundation/arkui/
napi:ace_napi" ]
external_deps = [ "
napi:ace_napi" ]
output_extension = "so"
}
arkui/libuv/BUILD.gn
浏览文件 @
b64c131f
...
...
@@ -21,6 +21,8 @@ ohos_static_library("libuvTestStatic") {
"//third_party/libuv/src",
"//third_party/libuv/src/unix",
]
part_name = "libuv"
subsystem_name = "thirdparty"
sources = [
"//third_party/libuv/test/blackhole-server.c",
"//third_party/libuv/test/echo-server.c",
...
...
@@ -212,7 +214,7 @@ ohos_moduletest_suite("ActsLibuvTest") {
sources = [ "src/ActsLibuvTest.cpp" ]
include_dirs = [
"
//test/xts/acts/arkui/libuv
/src",
"
..
/src",
"//third_party/libuv/test",
"//third_party/libuv/include",
"//third_party/libuv/src",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录