Import Cobalt 24.master.0.1032339
diff --git a/starboard/linux/shared/BUILD.gn b/starboard/linux/shared/BUILD.gn
index c62aa23..7069517 100644
--- a/starboard/linux/shared/BUILD.gn
+++ b/starboard/linux/shared/BUILD.gn
@@ -89,43 +89,13 @@
     "//starboard/shared/egl/system_egl.cc",
     "//starboard/shared/gcc/atomic_gcc_public.h",
     "//starboard/shared/gles/system_gles2.cc",
-    "//starboard/shared/iso/character_is_alphanumeric.cc",
-    "//starboard/shared/iso/character_is_digit.cc",
-    "//starboard/shared/iso/character_is_hex_digit.cc",
-    "//starboard/shared/iso/character_is_space.cc",
-    "//starboard/shared/iso/character_is_upper.cc",
-    "//starboard/shared/iso/character_to_lower.cc",
-    "//starboard/shared/iso/character_to_upper.cc",
     "//starboard/shared/iso/directory_close.cc",
     "//starboard/shared/iso/directory_get_next.cc",
     "//starboard/shared/iso/directory_open.cc",
-    "//starboard/shared/iso/double_absolute.cc",
-    "//starboard/shared/iso/double_exponent.cc",
-    "//starboard/shared/iso/double_floor.cc",
-    "//starboard/shared/iso/double_is_finite.cc",
-    "//starboard/shared/iso/double_is_nan.cc",
     "//starboard/shared/iso/memory_allocate_unchecked.cc",
-    "//starboard/shared/iso/memory_compare.cc",
-    "//starboard/shared/iso/memory_copy.cc",
-    "//starboard/shared/iso/memory_find_byte.cc",
     "//starboard/shared/iso/memory_free.cc",
-    "//starboard/shared/iso/memory_move.cc",
     "//starboard/shared/iso/memory_reallocate_unchecked.cc",
-    "//starboard/shared/iso/memory_set.cc",
-    "//starboard/shared/iso/string_compare.cc",
-    "//starboard/shared/iso/string_compare_all.cc",
-    "//starboard/shared/iso/string_find_character.cc",
-    "//starboard/shared/iso/string_find_last_character.cc",
-    "//starboard/shared/iso/string_find_string.cc",
-    "//starboard/shared/iso/string_get_length.cc",
-    "//starboard/shared/iso/string_get_length_wide.cc",
-    "//starboard/shared/iso/string_parse_double.cc",
-    "//starboard/shared/iso/string_parse_signed_integer.cc",
-    "//starboard/shared/iso/string_parse_uint64.cc",
-    "//starboard/shared/iso/string_parse_unsigned_integer.cc",
     "//starboard/shared/iso/string_scan.cc",
-    "//starboard/shared/iso/system_binary_search.cc",
-    "//starboard/shared/iso/system_sort.cc",
     "//starboard/shared/libdav1d/dav1d_video_decoder.cc",
     "//starboard/shared/libdav1d/dav1d_video_decoder.h",
     "//starboard/shared/libde265/de265_library_loader.cc",
@@ -233,7 +203,6 @@
     "//starboard/shared/posix/storage_write_record.cc",
     "//starboard/shared/posix/string_compare_no_case.cc",
     "//starboard/shared/posix/string_compare_no_case_n.cc",
-    "//starboard/shared/posix/string_compare_wide.cc",
     "//starboard/shared/posix/string_format.cc",
     "//starboard/shared/posix/string_format_wide.cc",
     "//starboard/shared/posix/system_break_into_debugger.cc",
@@ -294,7 +263,6 @@
     "//starboard/shared/signal/suspend_signals.h",
     "//starboard/shared/signal/system_request_conceal.cc",
     "//starboard/shared/signal/system_request_freeze.cc",
-    "//starboard/shared/signal/system_request_suspend.cc",
     "//starboard/shared/starboard/application.cc",
     "//starboard/shared/starboard/audio_sink/audio_sink_create.cc",
     "//starboard/shared/starboard/audio_sink/audio_sink_destroy.cc",
@@ -329,7 +297,7 @@
     "//starboard/shared/starboard/log_raw_format.cc",
     "//starboard/shared/starboard/media/media_can_play_mime_and_key_system.cc",
     "//starboard/shared/starboard/media/media_get_audio_buffer_budget.cc",
-    "//starboard/shared/starboard/media/media_get_audio_configuration_5_1.cc",
+    "//starboard/shared/starboard/media/media_get_audio_configuration.cc",
     "//starboard/shared/starboard/media/media_get_audio_output_count_single_audio_output.cc",
     "//starboard/shared/starboard/media/media_get_buffer_alignment.cc",
     "//starboard/shared/starboard/media/media_get_buffer_allocation_unit.cc",
@@ -346,18 +314,12 @@
     "//starboard/shared/starboard/queue_application.cc",
     "//starboard/shared/starboard/starboard_switches.cc",
     "//starboard/shared/starboard/starboard_switches.h",
-    "//starboard/shared/starboard/string_concat.cc",
-    "//starboard/shared/starboard/string_concat_wide.cc",
-    "//starboard/shared/starboard/string_copy.cc",
-    "//starboard/shared/starboard/string_copy_wide.cc",
     "//starboard/shared/starboard/string_duplicate.cc",
     "//starboard/shared/starboard/system_get_random_uint64.cc",
     "//starboard/shared/starboard/system_request_blur.cc",
     "//starboard/shared/starboard/system_request_focus.cc",
-    "//starboard/shared/starboard/system_request_pause.cc",
     "//starboard/shared/starboard/system_request_reveal.cc",
     "//starboard/shared/starboard/system_request_stop.cc",
-    "//starboard/shared/starboard/system_request_unpause.cc",
     "//starboard/shared/starboard/system_supports_resume.cc",
     "//starboard/shared/starboard/window_set_default_options.cc",
     "//starboard/shared/stub/accessibility_get_caption_settings.cc",
@@ -429,8 +391,8 @@
 
   if (is_internal_build) {
     sources += [
+      "//internal/starboard/linux/shared/internal/oemcrypto_engine_device_properties_linux.cc",
       "//starboard/linux/shared/drm_create_system.cc",
-      "//starboard/linux/shared/internal/oemcrypto_engine_device_properties_linux.cc",
       "//starboard/shared/starboard/drm/drm_close_session.cc",
       "//starboard/shared/starboard/drm/drm_destroy_system.cc",
       "//starboard/shared/starboard/drm/drm_generate_session_update_request.cc",
@@ -449,7 +411,7 @@
     ]
     deps += [
       "//starboard/shared/widevine:oemcrypto",
-      "//third_party/ce_cdm/cdm:widevine_ce_cdm_static",
+      "//third_party/internal/ce_cdm/cdm:widevine_ce_cdm_static",
     ]
   } else {
     sources += [
@@ -464,6 +426,12 @@
       "//starboard/shared/stub/media_is_supported.cc",
     ]
   }
+
+  defines = []
+
+  if (is_debug || is_devel) {
+    defines += [ "SB_PLAYER_ENABLE_VIDEO_DUMPER" ]
+  }
 }
 
 target(gtest_target_type, "starboard_platform_tests") {