Commit 960a4c5d authored by dong's avatar dong

升级至0.4.0-12

parent 168c667c
...@@ -25,7 +25,7 @@ kotlin.debug.generateLineNumbers=true ...@@ -25,7 +25,7 @@ kotlin.debug.generateLineNumbers=true
kotlin.debug.generateLocalVariables=true kotlin.debug.generateLocalVariables=true
ohosSkikoVersion=0.9.22.2-0.4.0-03 ohosSkikoVersion=0.9.22.2-0.4.0-04
#rendererBackend=fusion-renderer #rendererBackend=fusion-renderer
#rendererBackend=skia #rendererBackend=skia
......
...@@ -15,18 +15,16 @@ androidx-espresso = "3.7.0" ...@@ -15,18 +15,16 @@ androidx-espresso = "3.7.0"
androidx-lifecycle = "2.9.6" androidx-lifecycle = "2.9.6"
androidx-material = "1.12.0" androidx-material = "1.12.0"
androidx-testExt = "1.3.0" androidx-testExt = "1.3.0"
junit = "4.13.2"
# Compose # Compose
compose = "1.9.4" compose = "1.9.4"
compose-material3 = "1.4.0" compose-material3 = "1.4.0"
composeMultiplatform = "1.9.2-0.4.0-04" composeMultiplatform = "1.9.2-0.4.0-12"
# Kotlin & testing # Kotlin & testing
junit = "4.13.2"
kotlin = "2.2.21-0.4.0-02" kotlin = "2.2.21-0.4.0-02"
kotlinx-coroutines = "1.10.2-0.4.0-01" kotlinx-coroutines = "1.10.2-0.4.0-02"
atomicFu = "0.31.0-0.4.0-01" atomicFu = "0.31.0-0.4.0-02"
skiko = "0.9.22.2-0.4.0-03"
[libraries] [libraries]
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
"versionCode": 1000000, "versionCode": 1000000,
"versionName": "1.0.0", "versionName": "1.0.0",
"icon": "$media:layered_image", "icon": "$media:layered_image",
"label": "$string:app_name" "label": "$string:app_name",
//"hwasanEnabled": true //"hwasanEnabled": true
//"asanEnabled": true "asanEnabled": true
} }
} }
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"externalNativeOptions": { "externalNativeOptions": {
"path": "./src/main/cpp/CMakeLists.txt", "path": "./src/main/cpp/CMakeLists.txt",
//"arguments": "-DOHOS_ENABLE_HWASAN=ON", //"arguments": "-DOHOS_ENABLE_HWASAN=ON",
//"arguments": "-DOH0S_ENABLE_ASAN=ON", "arguments": "-DOHOS_ENABLE_ASAN=ON",
"cppFlags": "", "cppFlags": "",
"abiFilters": ["arm64-v8a","x86_64"] "abiFilters": ["arm64-v8a","x86_64"]
}, },
......
...@@ -235,6 +235,9 @@ extern void androidx_compose_ui_arkui_ArkUIViewController_setRendererBackendId(v ...@@ -235,6 +235,9 @@ extern void androidx_compose_ui_arkui_ArkUIViewController_setRendererBackendId(v
extern void androidx_compose_ui_arkui_ArkUIViewController_setRootView(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView); extern void androidx_compose_ui_arkui_ArkUIViewController_setRootView(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView);
extern void androidx_compose_ui_arkui_ArkUIViewController_setUIContext(void* controllerRef, void* uiContext); extern void androidx_compose_ui_arkui_ArkUIViewController_setUIContext(void* controllerRef, void* uiContext);
extern void androidx_compose_ui_arkui_ArkUIViewController_setXComponentRender(void* controllerRef, void* render); extern void androidx_compose_ui_arkui_ArkUIViewController_setXComponentRender(void* controllerRef, void* render);
extern void androidx_compose_ui_platform_LowMemoryMonitor_notifyLowMemoryFromHost(libkn_KInt rawLevel);
extern libkn_KFloat androidx_compose_ui_arkui_ArkUIViewController_consumeOuterScroll(void* controllerRef, libkn_KFloat offsetVp, libkn_KInt sourceInt);
extern void androidx_compose_ui_arkui_ArkUIViewController_setParentScrollBridge(void* controllerRef, void* scroller);
extern void androidx_compose_ui_arkui_init(void* env, void* exports); extern void androidx_compose_ui_arkui_init(void* env, void* exports);
typedef struct { typedef struct {
...@@ -1147,7 +1150,10 @@ typedef struct { ...@@ -1147,7 +1150,10 @@ typedef struct {
void (*_Export_ArkUIViewController_setRootView)(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView); void (*_Export_ArkUIViewController_setRootView)(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView);
void (*_Export_ArkUIViewController_setUIContext)(void* controllerRef, void* uiContext); void (*_Export_ArkUIViewController_setUIContext)(void* controllerRef, void* uiContext);
void (*_Export_ArkUIViewController_setXComponentRender)(void* controllerRef, void* render); void (*_Export_ArkUIViewController_setXComponentRender)(void* controllerRef, void* render);
void (*_Export_LowMemoryMonitor_notifyLowMemoryFromHost)(libkn_KInt rawLevel);
libkn_KLong (*getCurrentTimeNanos)(); libkn_KLong (*getCurrentTimeNanos)();
libkn_KFloat (*_Export_ArkUIViewController_consumeOuterScroll)(void* controllerRef, libkn_KFloat offsetVp, libkn_KInt sourceInt);
void (*_Export_ArkUIViewController_setParentScrollBridge)(void* controllerRef, void* scroller);
void (*_Export_ArkUIViewInitializer_init)(void* env, void* exports); void (*_Export_ArkUIViewInitializer_init)(void* env, void* exports);
} arkui; } arkui;
} ui; } ui;
......
...@@ -235,6 +235,9 @@ extern void androidx_compose_ui_arkui_ArkUIViewController_setRendererBackendId(v ...@@ -235,6 +235,9 @@ extern void androidx_compose_ui_arkui_ArkUIViewController_setRendererBackendId(v
extern void androidx_compose_ui_arkui_ArkUIViewController_setRootView(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView); extern void androidx_compose_ui_arkui_ArkUIViewController_setRootView(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView);
extern void androidx_compose_ui_arkui_ArkUIViewController_setUIContext(void* controllerRef, void* uiContext); extern void androidx_compose_ui_arkui_ArkUIViewController_setUIContext(void* controllerRef, void* uiContext);
extern void androidx_compose_ui_arkui_ArkUIViewController_setXComponentRender(void* controllerRef, void* render); extern void androidx_compose_ui_arkui_ArkUIViewController_setXComponentRender(void* controllerRef, void* render);
extern void androidx_compose_ui_platform_LowMemoryMonitor_notifyLowMemoryFromHost(libkn_KInt rawLevel);
extern libkn_KFloat androidx_compose_ui_arkui_ArkUIViewController_consumeOuterScroll(void* controllerRef, libkn_KFloat offsetVp, libkn_KInt sourceInt);
extern void androidx_compose_ui_arkui_ArkUIViewController_setParentScrollBridge(void* controllerRef, void* scroller);
extern void androidx_compose_ui_arkui_init(void* env, void* exports); extern void androidx_compose_ui_arkui_init(void* env, void* exports);
typedef struct { typedef struct {
...@@ -1147,7 +1150,10 @@ typedef struct { ...@@ -1147,7 +1150,10 @@ typedef struct {
void (*_Export_ArkUIViewController_setRootView)(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView); void (*_Export_ArkUIViewController_setRootView)(void* controllerRef, void* backRootView, void* foreRootView, void* touchableRootView);
void (*_Export_ArkUIViewController_setUIContext)(void* controllerRef, void* uiContext); void (*_Export_ArkUIViewController_setUIContext)(void* controllerRef, void* uiContext);
void (*_Export_ArkUIViewController_setXComponentRender)(void* controllerRef, void* render); void (*_Export_ArkUIViewController_setXComponentRender)(void* controllerRef, void* render);
void (*_Export_LowMemoryMonitor_notifyLowMemoryFromHost)(libkn_KInt rawLevel);
libkn_KLong (*getCurrentTimeNanos)(); libkn_KLong (*getCurrentTimeNanos)();
libkn_KFloat (*_Export_ArkUIViewController_consumeOuterScroll)(void* controllerRef, libkn_KFloat offsetVp, libkn_KInt sourceInt);
void (*_Export_ArkUIViewController_setParentScrollBridge)(void* controllerRef, void* scroller);
void (*_Export_ArkUIViewInitializer_init)(void* env, void* exports); void (*_Export_ArkUIViewInitializer_init)(void* env, void* exports);
} arkui; } arkui;
} ui; } ui;
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
#define LOG_DOMAIN 0x0000 #define LOG_DOMAIN 0x0000
#endif #endif
static napi_value MainArkUIViewController(napi_env env, napi_callback_info info) { static napi_value NapiMainArkUIViewController(napi_env env, napi_callback_info /*info*/) {
return reinterpret_cast<napi_value>(MainArkUIViewController(env)); return reinterpret_cast<napi_value>(::MainArkUIViewController(env));
} }
...@@ -27,7 +27,7 @@ EXTERN_C_START ...@@ -27,7 +27,7 @@ EXTERN_C_START
static napi_value Init(napi_env env, napi_value exports) { static napi_value Init(napi_env env, napi_value exports) {
androidx_compose_ui_arkui_init(env, exports); androidx_compose_ui_arkui_init(env, exports);
napi_property_descriptor desc[] = { napi_property_descriptor desc[] = {
{"MainArkUIViewController", nullptr, MainArkUIViewController, nullptr, nullptr, nullptr, napi_default, nullptr}, {"MainArkUIViewController", nullptr, NapiMainArkUIViewController, nullptr, nullptr, nullptr, napi_default, nullptr},
{"testArkTsToKotin", nullptr, nativeTestArkTsToKotin, 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); napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment