Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TestToolChainDemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
dsq
TestToolChainDemo
Commits
03f02d32
Commit
03f02d32
authored
Jun 22, 2026
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.4.0
parent
a717a769
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2403 additions
and
7 deletions
+2403
-7
app.json5
harmonyApp/AppScope/app.json5
+2
-2
build-profile.json5
harmonyApp/entry/build-profile.json5
+1
-1
libkn_api.h
harmonyApp/entry/src/main/cpp/include/arm64-v8a/libkn_api.h
+1198
-0
libkn_api.h
harmonyApp/entry/src/main/cpp/include/x86_64/libkn_api.h
+1198
-0
napi_init.cpp
harmonyApp/entry/src/main/cpp/napi_init.cpp
+3
-3
Index.d.ts
harmonyApp/entry/src/main/cpp/types/libentry/Index.d.ts
+1
-1
No files found.
harmonyApp/AppScope/app.json5
View file @
03f02d32
...
...
@@ -5,8 +5,8 @@
"versionCode": 1000000,
"versionName": "1.0.0",
"icon": "$media:layered_image",
"label": "$string:app_name"
"label": "$string:app_name"
,
//"hwasanEnabled": true
//
"asanEnabled": true
"asanEnabled": true
}
}
harmonyApp/entry/build-profile.json5
View file @
03f02d32
...
...
@@ -9,7 +9,7 @@
"externalNativeOptions": {
"path": "./src/main/cpp/CMakeLists.txt",
//"arguments": "-DOHOS_ENABLE_HWASAN=ON",
//"arguments": "-DOH0
S_ENABLE_ASAN=ON",
"arguments": "-DOHO
S_ENABLE_ASAN=ON",
"cppFlags": "",
"abiFilters": ["arm64-v8a","x86_64"]
},
...
...
harmonyApp/entry/src/main/cpp/include/arm64-v8a/libkn_api.h
0 → 100644
View file @
03f02d32
This diff is collapsed.
Click to expand it.
harmonyApp/entry/src/main/cpp/include/x86_64/libkn_api.h
0 → 100644
View file @
03f02d32
This diff is collapsed.
Click to expand it.
harmonyApp/entry/src/main/cpp/napi_init.cpp
View file @
03f02d32
...
...
@@ -9,8 +9,8 @@
#define LOG_DOMAIN 0x0000
#endif
static
napi_value
MainArkUIViewController
(
napi_env
env
,
napi_callback_info
info
)
{
return
reinterpret_cast
<
napi_value
>
(
MainArkUIViewController
(
env
));
static
napi_value
NapiMainArkUIViewController
(
napi_env
env
,
napi_callback_info
/*info*/
)
{
return
reinterpret_cast
<
napi_value
>
(
::
MainArkUIViewController
(
env
));
}
...
...
@@ -27,7 +27,7 @@ EXTERN_C_START
static
napi_value
Init
(
napi_env
env
,
napi_value
exports
)
{
androidx_compose_ui_arkui_init
(
env
,
exports
);
napi_property_descriptor
desc
[]
=
{
{
"MainArkUIViewController"
,
nullptr
,
MainArkUIViewController
,
nullptr
,
nullptr
,
nullptr
,
napi_default
,
nullptr
},
{
"MainArkUIViewController"
,
nullptr
,
Napi
MainArkUIViewController
,
nullptr
,
nullptr
,
nullptr
,
napi_default
,
nullptr
},
{
"testArkTsToKotin"
,
nullptr
,
nativeTestArkTsToKotin
,
nullptr
,
nullptr
,
nullptr
,
napi_default
,
nullptr
},
};
napi_define_properties
(
env
,
exports
,
sizeof
(
desc
)
/
sizeof
(
desc
[
0
]),
desc
);
...
...
harmonyApp/entry/src/main/cpp/types/libentry/Index.d.ts
View file @
03f02d32
import
{
ArkUIViewController
,
testArkTsToKotin
}
from
"compose/src/main/cpp/types/libcompose_arkui_utils"
;
import
{
ArkUIViewController
,
testArkTsToKotin
}
from
"
@cpf-kmp-cmp/
compose/src/main/cpp/types/libcompose_arkui_utils"
;
export
const
MainArkUIViewController
:
()
=>
ArkUIViewController
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment