Skip to content

Commit

Permalink
Upload swiftshader, angle and ffavc libraries to the repository inste…
Browse files Browse the repository at this point in the history
…ad of downloading them by depsync.

Co-authored-by: kevingpqi <[email protected]>
  • Loading branch information
kevingpqi123 and kevingpqi123 authored Jan 19, 2022
1 parent c600d5f commit 8002eac
Show file tree
Hide file tree
Showing 138 changed files with 199,406 additions and 31 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ local.properties

/third_party
/out
/vendor
cmake-build-debug
cmake-build-release
node_modules
Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ if (PAG_USE_LIBAVC)
list(APPEND PAG_INCLUDES third_party/libavc/common third_party/libavc/decoder)
endif ()

list(APPEND SWIFTSHADER_INCLUDE_DIRS third_party/swiftshader/include)
file(GLOB SWIFTSHADER_LIBRARIES third_party/out/swiftshader/${LIBRARY_ENTRY}/*${CMAKE_SHARED_LIBRARY_SUFFIX})
list(APPEND SWIFTSHADER_INCLUDE_DIRS vendor/swiftshader/include)
file(GLOB SWIFTSHADER_LIBRARIES vendor/swiftshader/${LIBRARY_ENTRY}/*${CMAKE_SHARED_LIBRARY_SUFFIX})

if (PAG_USE_QT)
# need to set the CMAKE_PREFIX_PATH to local QT installation path, for example :
Expand Down Expand Up @@ -376,7 +376,7 @@ elseif (WIN32)
add_definitions(-DNOMINMAX -D_USE_MATH_DEFINES)

if (USE_NATIVE_PLATFORM)
list(APPEND PAG_PLATFORM_INCLUDES vendor/angle/${PLATFORM}/include)
list(APPEND PAG_PLATFORM_INCLUDES vendor/angle/include)
file(GLOB_RECURSE PAG_PLATFORM_FILES src/platform/win/*.*)
file(GLOB GL_PLATFORM_FILES tgfx/src/gpu/opengl/egl/*.*)
list(APPEND PAG_PLATFORM_FILES ${GL_PLATFORM_FILES})
Expand Down Expand Up @@ -457,7 +457,7 @@ if (PAG_BUILD_TESTS)

file(GLOB FFAVC_LIB vendor/ffavc/${LIBRARY_ENTRY}/*${CMAKE_SHARED_LIBRARY_SUFFIX})
list(APPEND TEST_PLATFORM_LIBS ${FFAVC_LIB})
list(APPEND TEST_INCLUDES vendor/ffavc/${INCLUDE_ENTRY})
list(APPEND TEST_INCLUDES vendor/ffavc/include)

add_executable(PAGUnitTest ${Test_VENDOR_TARGET} ${PAG_TEST_FILES})
target_include_directories(PAGUnitTest PUBLIC ${TEST_INCLUDES})
Expand Down
26 changes: 0 additions & 26 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -72,32 +72,6 @@
}
]
},
"files": {
"mac": [
{
"url": "${PAG_GROUP}/swiftshader/releases/download/opengl/mac.zip",
"dir": "third_party/out/swiftshader",
"unzip": true
},
{
"url": "${PAG_GROUP}/ffavc/releases/download/0.9.0/ffavc_0.9.0_release_mac_x64.zip",
"dir": "vendor/ffavc",
"unzip": true
}
],
"win": [
{
"url": "${PAG_GROUP}/swiftshader/releases/download/opengl/win.zip",
"dir": "third_party/out/swiftshader",
"unzip": true
},
{
"url": "${PAG_GROUP}/angle/releases/download/chromium_4763/win.zip",
"dir": "vendor/angle",
"unzip": true
}
]
},
"actions": {
"common": [
{
Expand Down
3 changes: 3 additions & 0 deletions vendor/angle/include/CL/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@


DisableFormat: true
Loading

0 comments on commit 8002eac

Please sign in to comment.