Compare commits

...
3 Commits
Author SHA1 Message Date
PPandGitHub 8e867c50ca remove spine.js (#365) 2023-06-19 14:46:45 +08:00
PPandGitHub 9d201cd6d3 add spine js mem (#364)
update
2023-06-16 14:14:17 +08:00
qiuguohuaandGitHub 712e10655a Fix harmonyos platform compilation failure. (#356) (#363) 2023-06-14 10:28:03 +08:00
8 changed files with 63 additions and 24 deletions
+9 -1
View File
@@ -1,7 +1,15 @@
declare module 'external:emscripten/*.wasm' {
/**
* This is a url relative from build output chunk.
* This is a wasm url relative from build output chunk.
*/
const wasmPath: string;
export default wasmPath;
}
declare module 'external:emscripten/*.js.mem' {
/**
* This is a js.mem url relative from build output chunk.
*/
const jsMemPath: string;
export default jsMemPath;
}
File diff suppressed because one or more lines are too long
+1 -4
View File
@@ -2,7 +2,7 @@ declare module 'external:emscripten/spine/spine.asm.js' {
export default SpineWasm;
}
declare module 'external:emscripten/spine/spine.js' {
declare module 'external:emscripten/spine/spine.wasm.js' {
export default SpineWasm;
}
@@ -10,10 +10,7 @@ declare module 'external:emscripten/spine/spine.js' {
declare function SpineWasm (moduleOptions?: any): Promise<void>;
declare namespace SpineWasm {
type ptr = number;
interface instance {
spine: any;
memory: any;
spineWasmInit(): void;
spineWasmDestroy(): void;
}
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
+4 -2
View File
@@ -143,7 +143,8 @@ add_library(glslang-default-resource-limits STATIC IMPORTED GLOBAL)
set_target_properties(glslang-default-resource-limits PROPERTIES
IMPORTED_LOCATION ${ohos_lib_dir}/libglslang-default-resource-limits.a
)
set(glslang_libs_name glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits MachineIndependent GenericCodeGen)
# Unable to link MachineIndependent with GenericCodeGen
set(glslang_libs_name glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits)
if(USE_PHYSICS_PHYSX)
set(PhysXSDK PhysXCooking PhysXCharacterKinematic PhysXVehicle PhysXExtensions PhysX PhysXPvdSDK PhysXCommon PhysXFoundation)
@@ -214,7 +215,8 @@ list(APPEND CC_EXTERNAL_INCLUDES
${platform_spec_path}/include/v8
${platform_spec_path}/include/sqlite
${platform_spec_path}/include/png16
${platform_spec_path}/include/uv
# Will conflict with the header file of harmonyos' standard library (error.h).
# ${platform_spec_path}/include/uv
)
#TODO: remove in future version