add minimal build support (#12145)

This commit is contained in:
江战
2022-07-22 12:42:47 +08:00
committed by GitHub
parent 74cf745db8
commit 3335bff2aa
2 changed files with 83 additions and 0 deletions
+21
View File
@@ -137,6 +137,27 @@ if(ANDROID)
endif()
endif()
if(CI_FORCE_MINIMAL_FEATURES)
set(USE_V8_DEBUGGER_FORCE OFF)
set(USE_V8_DEBUGGER OFF)
set(USE_AUDIO OFF)
set(USE_EDIT_BOX OFF)
set(USE_VIDEO OFF)
set(USE_WEBVIEW OFF)
set(USE_MIDDLEWARE OFF)
set(USE_DRAGONBONES OFF)
set(USE_SPINE OFF)
set(USE_SOCKET OFF)
set(USE_WEBSOCKET_SERVER OFF)
set(USE_PHYSICS_PHYSX OFF)
set(USE_JOB_SYSTEM_TBB OFF)
set(USE_JOB_SYSTEM_TASKFLOW OFF)
set(USE_PLUGINS OFF)
set(USE_OCCLUSION_QUERY OFF)
set(USE_DEBUG_RENDERER OFF)
set(USE_GEOMETRY_RENDERER OFF)
set(USE_WEBP OFF)
endif()
################################# list all option values ##############################
cc_inspect_values(