Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete android-vulkan config #4124

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions starboard/android/apk/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,25 +131,3 @@ add_library(native SHARED ${CMAKE_CURRENT_BINARY_DIR}/phony.cpp)
# Add a dependency to run the external cobalt build as a side effect of
# building the phony native library.
add_dependencies(native external_cobalt_build)

if (ENABLE_VULKAN)
# Add angle shared libraries.
list(APPEND angle_libs EGL_angle GLESv1_CM_angle
GLESv2_angle feature_support_angle c++_shared)

# Copy each library into APK.
foreach(angle_lib IN LISTS angle_libs)
add_dependencies(native ${angle_lib}_lib)
add_library(${angle_lib} SHARED IMPORTED)
set_target_properties(${angle_lib} PROPERTIES
IMPORTED_LOCATION
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/lib${angle_lib}.so
)
add_custom_target(${angle_lib}_lib
DEPENDS external_cobalt_build
COMMAND ${CMAKE_COMMAND} -E copy
${COBALT_PRODUCT_DIR}/lib/lib${angle_lib}.so
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/lib${angle_lib}.so
)
endforeach()
endif()
3 changes: 0 additions & 3 deletions starboard/android/apk/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ ext {
project.hasProperty('cobaltContentDir') ? new File(cobaltContentDir).canonicalPath : ''
cobaltLibraryDir =
project.hasProperty('cobaltLibraryDir') ? new File(cobaltLibraryDir).canonicalPath : ''
enableVulkan =
project.hasProperty('enableVulkan') ? enableVulkan : 0
evergreenCompatible =
project.hasProperty('evergreenCompatible') ? evergreenCompatible : "false"

Expand Down Expand Up @@ -93,7 +91,6 @@ android {
arguments "-DCOBALT_CONTENT_DIR=${cobaltContentDir}"
arguments "-DCOBALT_LIBRARY_DIR=${cobaltLibraryDir}"
arguments "-DCOBALT_PLATFORM_DEPLOY=${project.hasProperty('cobaltDeployApk')}"
arguments "-DENABLE_VULKAN=${enableVulkan}"
arguments "-DEVERGREEN_COMPATIBLE=${evergreenCompatible}"
}
}
Expand Down
19 changes: 0 additions & 19 deletions starboard/android/arm64/vulkan/BUILD.gn

This file was deleted.

17 changes: 0 additions & 17 deletions starboard/android/arm64/vulkan/args.gn

This file was deleted.

20 changes: 0 additions & 20 deletions starboard/android/arm64/vulkan/atomic_public.h

This file was deleted.

20 changes: 0 additions & 20 deletions starboard/android/arm64/vulkan/configuration_public.h

This file was deleted.

20 changes: 0 additions & 20 deletions starboard/android/arm64/vulkan/gyp_configuration.py

This file was deleted.

31 changes: 0 additions & 31 deletions starboard/android/arm64/vulkan/platform_configuration/BUILD.gn

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions starboard/android/arm64/vulkan/test_filters.py

This file was deleted.

31 changes: 0 additions & 31 deletions starboard/android/arm64/vulkan/toolchain/BUILD.gn

This file was deleted.

2 changes: 0 additions & 2 deletions starboard/android/shared/install_target.gni
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ template("install_target") {
"-P",
"cobaltTarget=$installable_target_name",
"-P",
"enableVulkan=$enable_vulkan",
"-P",
"evergreenCompatible=$sb_is_evergreen_compatible",
"assembleCobalt_$gradle_build_type",
"-Dorg.gradle.workers.max=$num_gradle_workers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@

import("//starboard/build/config/base_configuration.gni")

declare_args() {
enable_vulkan = false
}

final_executable_type = "shared_library"
gtest_target_type = "shared_library"
starboard_level_final_executable_type = "shared_library"
Expand Down
1 change: 0 additions & 1 deletion starboard/build/platforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
'linux-x64x11-clang-3-9': 'starboard/linux/x64x11/clang/3.9',
'android-arm': 'starboard/android/arm',
'android-arm64': 'starboard/android/arm64',
'android-arm64-vulkan': 'starboard/android/arm64/vulkan',
'android-x86': 'starboard/android/x86',
'raspi-2': 'starboard/raspi/2',
'raspi-2-skia': 'starboard/raspi/2/skia',
Expand Down
Loading