File tree Expand file tree Collapse file tree
packages/webgpu/scripts/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const commonArgs = {
2323 DAWN_USE_GLFW : "OFF" ,
2424 DAWN_FETCH_DEPENDENCIES : "ON" ,
2525 DAWN_ENABLE_DESKTOP_GL : "OFF" ,
26+ DAWN_ENABLE_OPENGLES : "OFF" ,
2627 BUILD_SHARED_LIBS : "OFF" ,
2728} ;
2829
@@ -41,7 +42,6 @@ const android = {
4142 args : {
4243 CMAKE_TOOLCHAIN_FILE : "$ANDROID_NDK/build/cmake/android.toolchain.cmake" ,
4344 ANDROID_PLATFORM : "android-26" ,
44- DAWN_ENABLE_OPENGLES : "ON" ,
4545 DAWN_BUILD_MONOLITHIC_LIBRARY : "SHARED" ,
4646 CMAKE_EXE_LINKER_FLAGS : "-llog" ,
4747 CMAKE_SHARED_LINKER_FLAGS : "-llog" ,
@@ -57,7 +57,6 @@ const apple = {
5757 } ,
5858 args : {
5959 CMAKE_TOOLCHAIN_FILE : `${ __dirname } /apple.toolchain.cmake` ,
60- DAWN_ENABLE_OPENGLES : "OFF" ,
6160 DAWN_BUILD_MONOLITHIC_LIBRARY : "STATIC" ,
6261 // -DPLATFORM=OS64 -DDEPLOYMENT_TARGET=13.0 -DENABLE_BITCODE=OFF -DENABLE_ARC=OFF -DENABLE_VISIBILITY=OFF
6362 ...commonArgs ,
You can’t perform that action at this time.
0 commit comments