diff --git a/cobalt/site/docs/reference/starboard/gn-configuration.md b/cobalt/site/docs/reference/starboard/gn-configuration.md index 37f5889ad55d..437575c1d454 100644 --- a/cobalt/site/docs/reference/starboard/gn-configuration.md +++ b/cobalt/site/docs/reference/starboard/gn-configuration.md @@ -5,7 +5,6 @@ Book: /youtube/cobalt/_book.yaml | Variables | | :--- | -| **`abort_on_allocation_failure`**

Halt execution on failure to allocate memory.

The default value is `true`. | | **`asan_symbolizer_path`**

A symbolizer path for ASAN can be added to allow translation of callstacks.

The default value is `"/bin/llvm-symbolizer"`. | | **`cobalt_licenses_platform`**

Sub-directory to copy license file to.

The default value is `"default"`. | | **`cobalt_platform_dependencies`**

List of platform-specific targets that get compiled into cobalt.

The default value is `[]`. | diff --git a/starboard/CHANGELOG.md b/starboard/CHANGELOG.md index 216a39f3d7d7..1694030dcfb5 100644 --- a/starboard/CHANGELOG.md +++ b/starboard/CHANGELOG.md @@ -9,6 +9,10 @@ since the version previous to it. ## Version 16 +### Removed configuration for `abort_on_allocation_failure` +This flag has no effect in builds, and checked allocations are removed +in Starboard 16. + ### Removed SB_HAS_NV12_TEXTURE_SUPPORT This flag is resolved at run-time. diff --git a/starboard/build/config/BUILD.gn b/starboard/build/config/BUILD.gn index 79a31096b6ca..f414d05e221c 100644 --- a/starboard/build/config/BUILD.gn +++ b/starboard/build/config/BUILD.gn @@ -140,10 +140,6 @@ config("starboard") { ] } - if (abort_on_allocation_failure) { - defines += [ "SB_ABORT_ON_ALLOCATION_FAILURE" ] - } - if (is_internal_build) { defines += [ "INTERNAL_BUILD" ] } diff --git a/starboard/build/config/base_configuration.gni b/starboard/build/config/base_configuration.gni index 8f71a1a45d1d..e88ac20e9146 100644 --- a/starboard/build/config/base_configuration.gni +++ b/starboard/build/config/base_configuration.gni @@ -71,9 +71,6 @@ declare_args() { starboard_level_gtest_target_type = "executable" starboard_level_final_executable_type = "executable" - # Halt execution on failure to allocate memory. - abort_on_allocation_failure = true - # The source of EGL and GLES headers and libraries. # Valid values (case and everything sensitive!): # "system_gles2" - Use the system implementation of EGL + GLES2. The