Skip to content

Commit

Permalink
opengles removed
Browse files Browse the repository at this point in the history
Signed-off-by: 冰冰冰 <[email protected]>
  • Loading branch information
IceBBBBB committed Dec 16, 2024
1 parent c0ae793 commit 35dce2a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion cocos/audio/ohos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../cocos2dx/include
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../cocos2dx/kazmath/include
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../cocos2dx/platform/ohos
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../external/opengles/api
)
target_link_libraries(${PROJECT_NAME} PUBLIC cocos2dx_static OPENSLES pvmp3dec vorbisidec)
2 changes: 1 addition & 1 deletion cocos/platform/ohos/napi/modules/InputNapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class InputNapi {
public:
static napi_value editBoxOnFocusCB(napi_env env, napi_callback_info info);
static napi_value editBoxOnFocusCB(napi_env env, napi_callback_info info);
static napi_value editBoxOnChangeCB(napi_env env, napi_callback_info info);
static napi_value editBoxOnEnterCB(napi_env env, napi_callback_info info);
static napi_value textFieldTTFOnChangeCB(napi_env env, napi_callback_info info);
Expand Down
1 change: 0 additions & 1 deletion cocos/platform/ohos/napi/modules/MouseNapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "MouseNapi.h"
#include "platform/ohos/napi/plugin_manager.h"
#include "../../CCLogOhos.h"
#include "ui/UIEditBox/UIEditBoxImpl-ohos.h"
#include "base/CCIMEDispatcher.h"
#include "platform/ohos/napi/render/plugin_render.h"
#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ endif()

add_library(${PROJECT_NAME} SHARED napi_init.cpp)

include_directories(${COCOS2DX_ROOT_PATH}/external/opengles/api)
target_include_directories(${PROJECT_NAME} PUBLIC ${CLASSES_PATH}
PUBLIC ${COCOS2DX_ROOT_PATH}/cocos
PUBLIC ${COCOS2DX_ROOT_PATH}/cocos/platform/ohos)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ file(COPY ${ALL_SOURCE_FILES} DESTINATION ${res_raw_folders})

add_library(${PROJECT_NAME} SHARED napi_init.cpp)

include_directories(${COCOS2DX_ROOT_PATH}/external/opengles/api
include_directories(
${COCOS2DX_ROOT_PATH}/external/lua/luajit/include)
target_include_directories(${PROJECT_NAME} PUBLIC ${CLASSES_PATH}
PUBLIC ${COCOS2DX_ROOT_PATH}/cocos
Expand Down

0 comments on commit 35dce2a

Please sign in to comment.