Skip to content

Commit

Permalink
Clean up config and build files
Browse files Browse the repository at this point in the history
Change-Id: I5219f7b54a2038d84f62ae7dc976b2255188776f
  • Loading branch information
madhurajayaraman committed Sep 3, 2024
1 parent 708c7ab commit b4eb6de
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 491 deletions.
7 changes: 0 additions & 7 deletions starboard/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ source_set("starboard_headers_only") {
sources = [
"atomic.h",
"audio_sink.h",
"byte_swap.h",
"condition_variable.h",
"configuration.h",
"configuration_constants.h",
"cpu_features.h",
Expand All @@ -196,20 +194,15 @@ source_set("starboard_headers_only") {
"media.h",
"memory.h",
"microphone.h",
"mutex.h",
"once.h",
"player.h",
"queue.h",
"socket.h",
"socket_waiter.h",
"storage.h",
"string.h",
"system.h",
"thread.h",
"time.h",
"time_zone.h",
"types.h",
"user.h",
"window.h",
]

Expand Down
26 changes: 0 additions & 26 deletions starboard/evergreen/arm/hardfp/configuration_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,6 @@
#define SB_IS_WCHAR_T_UNSIGNED 1
#endif

// --- Compiler Configuration ------------------------------------------------

#if SB_API_VERSION < 16
// The platform's annotation for forcing a C function to be inlined.
#define SB_C_FORCE_INLINE __inline__ __attribute__((always_inline))

// The platform's annotation for marking a C function as suggested to be
// inlined.
#define SB_C_INLINE inline

// The platform's annotation for marking a symbol as exported outside of the
// current shared library.
#define SB_EXPORT_PLATFORM __attribute__((visibility("default")))

// The platform's annotation for marking a symbol as imported from outside of
// the current linking unit.
#define SB_IMPORT_PLATFORM

// --- Memory Configuration --------------------------------------------------

// Whether this platform can map executable memory. Implies SB_HAS_MMAP. This is
// required for platforms that want to JIT.
#define SB_CAN_MAP_EXECUTABLE_MEMORY 1

#endif // SB_API_VERSION < 16

// --- Network Configuration -------------------------------------------------

// Specifies whether this platform supports IPV6.
Expand Down
26 changes: 0 additions & 26 deletions starboard/evergreen/arm/softfp/configuration_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,6 @@
#define SB_IS_WCHAR_T_UNSIGNED 1
#endif

// --- Compiler Configuration ------------------------------------------------

#if SB_API_VERSION < 16
// The platform's annotation for forcing a C function to be inlined.
#define SB_C_FORCE_INLINE __inline__ __attribute__((always_inline))

// The platform's annotation for marking a C function as suggested to be
// inlined.
#define SB_C_INLINE inline

// The platform's annotation for marking a symbol as exported outside of the
// current shared library.
#define SB_EXPORT_PLATFORM __attribute__((visibility("default")))

// The platform's annotation for marking a symbol as imported from outside of
// the current linking unit.
#define SB_IMPORT_PLATFORM

// --- Memory Configuration --------------------------------------------------

// Whether this platform can map executable memory. Implies SB_HAS_MMAP. This is
// required for platforms that want to JIT.
#define SB_CAN_MAP_EXECUTABLE_MEMORY 1

#endif // SB_API_VERSION < 16

// --- Network Configuration -------------------------------------------------

// Specifies whether this platform supports IPV6.
Expand Down
26 changes: 0 additions & 26 deletions starboard/evergreen/arm64/configuration_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,6 @@
#define SB_IS_WCHAR_T_UNSIGNED 1
#endif

// --- Compiler Configuration ------------------------------------------------

#if SB_API_VERSION < 16
// The platform's annotation for forcing a C function to be inlined.
#define SB_C_FORCE_INLINE __inline__ __attribute__((always_inline))

// The platform's annotation for marking a C function as suggested to be
// inlined.
#define SB_C_INLINE inline

// The platform's annotation for marking a symbol as exported outside of the
// current shared library.
#define SB_EXPORT_PLATFORM __attribute__((visibility("default")))

// The platform's annotation for marking a symbol as imported from outside of
// the current linking unit.
#define SB_IMPORT_PLATFORM

// --- Memory Configuration --------------------------------------------------

// Whether this platform can map executable memory. Implies SB_HAS_MMAP. This is
// required for platforms that want to JIT.
#define SB_CAN_MAP_EXECUTABLE_MEMORY 1

#endif // SB_API_VERSION < 16

// --- Network Configuration -------------------------------------------------

// Specifies whether this platform supports IPV6.
Expand Down
26 changes: 0 additions & 26 deletions starboard/evergreen/x64/configuration_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,6 @@
#define SB_IS_WCHAR_T_UNSIGNED 1
#endif

// --- Compiler Configuration ------------------------------------------------

#if SB_API_VERSION < 16
// The platform's annotation for forcing a C function to be inlined.
#define SB_C_FORCE_INLINE __inline__ __attribute__((always_inline))

// The platform's annotation for marking a C function as suggested to be
// inlined.
#define SB_C_INLINE inline

// The platform's annotation for marking a symbol as exported outside of the
// current shared library.
#define SB_EXPORT_PLATFORM __attribute__((visibility("default")))

// The platform's annotation for marking a symbol as imported from outside of
// the current linking unit.
#define SB_IMPORT_PLATFORM

// --- Memory Configuration --------------------------------------------------

// Whether this platform can map executable memory. Implies SB_HAS_MMAP. This is
// required for platforms that want to JIT.
#define SB_CAN_MAP_EXECUTABLE_MEMORY 1

#endif // SB_API_VERSION < 16

// --- Network Configuration -------------------------------------------------

// Specifies whether this platform supports IPV6.
Expand Down
84 changes: 0 additions & 84 deletions starboard/linux/shared/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ static_library("starboard_platform_sources") {
"//starboard/linux/shared/routes.h",
"//starboard/linux/shared/soft_mic_platform_service.cc",
"//starboard/linux/shared/soft_mic_platform_service.h",
"//starboard/linux/shared/system_get_device_type.cc",
"//starboard/linux/shared/system_get_extensions.cc",
"//starboard/linux/shared/system_get_path.cc",
"//starboard/linux/shared/system_has_capability.cc",
Expand All @@ -100,13 +99,9 @@ static_library("starboard_platform_sources") {
"//starboard/shared/egl/system_egl.cc",
"//starboard/shared/gcc/atomic_gcc_public.h",
"//starboard/shared/gles/system_gles2.cc",
"//starboard/shared/iso/directory_close.cc",
"//starboard/shared/iso/directory_get_next.cc",
"//starboard/shared/iso/directory_open.cc",
"//starboard/shared/iso/memory_allocate_unchecked.cc",
"//starboard/shared/iso/memory_free.cc",
"//starboard/shared/iso/memory_reallocate_unchecked.cc",
"//starboard/shared/iso/string_scan.cc",
"//starboard/shared/libdav1d/dav1d_video_decoder.cc",
"//starboard/shared/libdav1d/dav1d_video_decoder.h",
"//starboard/shared/libde265/de265_library_loader.cc",
Expand All @@ -127,7 +122,6 @@ static_library("starboard_platform_sources") {
"//starboard/shared/libfdkaac/libfdkaac_library_loader.h",
"//starboard/shared/libvpx/vpx_video_decoder.cc",
"//starboard/shared/libvpx/vpx_video_decoder.h",
"//starboard/shared/linux/byte_swap.cc",
"//starboard/shared/linux/cpu_features_get.cc",
"//starboard/shared/linux/dev_input/dev_input.cc",
"//starboard/shared/linux/dev_input/dev_input.h",
Expand All @@ -141,49 +135,25 @@ static_library("starboard_platform_sources") {
"//starboard/shared/linux/system_network_status.cc",
"//starboard/shared/linux/system_symbolize.cc",
"//starboard/shared/linux/thread_get_id.cc",
"//starboard/shared/linux/thread_get_name.cc",
"//starboard/shared/linux/thread_set_name.cc",
"//starboard/shared/linux/time_zone_get_name.cc",
"//starboard/shared/nouser/user_get_current.cc",
"//starboard/shared/nouser/user_get_property.cc",
"//starboard/shared/nouser/user_get_signed_in.cc",
"//starboard/shared/nouser/user_internal.cc",
"//starboard/shared/openh264/openh264_library_loader.cc",
"//starboard/shared/openh264/openh264_library_loader.h",
"//starboard/shared/openh264/openh264_video_decoder.cc",
"//starboard/shared/openh264/openh264_video_decoder.h",
"//starboard/shared/opus/opus_audio_decoder.cc",
"//starboard/shared/opus/opus_audio_decoder.h",
"//starboard/shared/posix/directory_create.cc",
"//starboard/shared/posix/environment.cc",
"//starboard/shared/posix/file_atomic_replace.cc",
"//starboard/shared/posix/file_can_open.cc",
"//starboard/shared/posix/file_close.cc",
"//starboard/shared/posix/file_delete.cc",
"//starboard/shared/posix/file_exists.cc",
"//starboard/shared/posix/file_flush.cc",
"//starboard/shared/posix/file_get_info.cc",
"//starboard/shared/posix/file_get_path_info.cc",
"//starboard/shared/posix/file_open.cc",
"//starboard/shared/posix/file_read.cc",
"//starboard/shared/posix/file_seek.cc",
"//starboard/shared/posix/file_truncate.cc",
"//starboard/shared/posix/file_write.cc",
"//starboard/shared/posix/free_space.cc",
"//starboard/shared/posix/free_space.h",
"//starboard/shared/posix/log.cc",
"//starboard/shared/posix/log_flush.cc",
"//starboard/shared/posix/log_format.cc",
"//starboard/shared/posix/log_is_tty.cc",
"//starboard/shared/posix/log_raw.cc",
"//starboard/shared/posix/memory_allocate_aligned_unchecked.cc",
"//starboard/shared/posix/memory_flush.cc",
"//starboard/shared/posix/memory_free_aligned.cc",
"//starboard/shared/posix/memory_map.cc",
"//starboard/shared/posix/memory_mapped_file.cc",
"//starboard/shared/posix/memory_mapped_file.h",
"//starboard/shared/posix/memory_protect.cc",
"//starboard/shared/posix/memory_unmap.cc",
"//starboard/shared/posix/page_internal.cc",
"//starboard/shared/posix/set_non_blocking_internal.cc",
"//starboard/shared/posix/socket_accept.cc",
Expand Down Expand Up @@ -212,46 +182,18 @@ static_library("starboard_platform_sources") {
"//starboard/shared/posix/socket_set_tcp_no_delay.cc",
"//starboard/shared/posix/socket_set_tcp_window_scaling.cc",
"//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_format.cc",
"//starboard/shared/posix/string_format_wide.cc",
"//starboard/shared/posix/system_break_into_debugger.cc",
"//starboard/shared/posix/system_clear_last_error.cc",
"//starboard/shared/posix/system_get_error_string.cc",
"//starboard/shared/posix/system_get_last_error.cc",
"//starboard/shared/posix/system_get_locale_id.cc",
"//starboard/shared/posix/system_get_number_of_processors.cc",
"//starboard/shared/posix/thread_sleep.cc",
"//starboard/shared/posix/time_get_monotonic_now.cc",
"//starboard/shared/posix/time_get_monotonic_thread_now.cc",
"//starboard/shared/posix/time_get_now.cc",
"//starboard/shared/posix/time_is_time_thread_now_supported.cc",
"//starboard/shared/posix/time_zone_get_current.cc",
"//starboard/shared/pthread/condition_variable_broadcast.cc",
"//starboard/shared/pthread/condition_variable_create.cc",
"//starboard/shared/pthread/condition_variable_destroy.cc",
"//starboard/shared/pthread/condition_variable_signal.cc",
"//starboard/shared/pthread/condition_variable_wait.cc",
"//starboard/shared/pthread/condition_variable_wait_timed.cc",
"//starboard/shared/pthread/mutex_acquire.cc",
"//starboard/shared/pthread/mutex_acquire_try.cc",
"//starboard/shared/pthread/mutex_create.cc",
"//starboard/shared/pthread/mutex_destroy.cc",
"//starboard/shared/pthread/mutex_release.cc",
"//starboard/shared/pthread/once.cc",
"//starboard/shared/pthread/thread_context_get_pointer.cc",
"//starboard/shared/pthread/thread_context_internal.cc",
"//starboard/shared/pthread/thread_context_internal.h",
"//starboard/shared/pthread/thread_create.cc",
"//starboard/shared/pthread/thread_create_local_key.cc",
"//starboard/shared/pthread/thread_create_priority.h",
"//starboard/shared/pthread/thread_destroy_local_key.cc",
"//starboard/shared/pthread/thread_detach.cc",
"//starboard/shared/pthread/thread_get_current.cc",
"//starboard/shared/pthread/thread_get_local_value.cc",
"//starboard/shared/pthread/thread_is_equal.cc",
"//starboard/shared/pthread/thread_join.cc",
"//starboard/shared/pthread/thread_priority.cc",
"//starboard/shared/pthread/thread_sampler_create.cc",
"//starboard/shared/pthread/thread_sampler_destroy.cc",
Expand All @@ -260,7 +202,6 @@ static_library("starboard_platform_sources") {
"//starboard/shared/pthread/thread_sampler_internal.h",
"//starboard/shared/pthread/thread_sampler_is_supported.cc",
"//starboard/shared/pthread/thread_sampler_thaw.cc",
"//starboard/shared/pthread/thread_set_local_value.cc",
"//starboard/shared/pthread/thread_yield.cc",
"//starboard/shared/pulse/pulse_audio_sink_type.cc",
"//starboard/shared/pulse/pulse_audio_sink_type.h",
Expand Down Expand Up @@ -291,12 +232,10 @@ static_library("starboard_platform_sources") {
"//starboard/shared/starboard/command_line.h",
"//starboard/shared/starboard/crash_handler.cc",
"//starboard/shared/starboard/crash_handler.h",
"//starboard/shared/starboard/directory_can_open.cc",
"//starboard/shared/starboard/event_cancel.cc",
"//starboard/shared/starboard/event_schedule.cc",
"//starboard/shared/starboard/file_atomic_replace_write_file.cc",
"//starboard/shared/starboard/file_atomic_replace_write_file.h",
"//starboard/shared/starboard/file_mode_string_to_flags.cc",
"//starboard/shared/starboard/file_storage/storage_close_record.cc",
"//starboard/shared/starboard/file_storage/storage_delete_record.cc",
"//starboard/shared/starboard/file_storage/storage_get_record_size.cc",
Expand All @@ -314,27 +253,20 @@ static_library("starboard_platform_sources") {
"//starboard/shared/starboard/media/media_get_buffer_allocation_unit.cc",
"//starboard/shared/starboard/media/media_get_buffer_garbage_collection_duration_threshold.cc",
"//starboard/shared/starboard/media/media_get_buffer_padding.cc",
"//starboard/shared/starboard/media/media_get_buffer_storage_type.cc",
"//starboard/shared/starboard/media/media_get_initial_buffer_capacity.cc",
"//starboard/shared/starboard/media/media_get_max_buffer_capacity.cc",
"//starboard/shared/starboard/media/media_get_progressive_buffer_budget.cc",
"//starboard/shared/starboard/media/media_get_video_buffer_budget.cc",
"//starboard/shared/starboard/media/media_is_buffer_pool_allocate_on_demand.cc",
"//starboard/shared/starboard/media/media_is_buffer_using_memory_pool.cc",
"//starboard/shared/starboard/memory.cc",
"//starboard/shared/starboard/queue_application.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_reveal.cc",
"//starboard/shared/starboard/system_request_stop.cc",
"//starboard/shared/starboard/system_supports_resume.cc",
"//starboard/shared/starboard/window_set_default_options.cc",
"//starboard/shared/stub/accessibility_get_caption_settings.cc",
"//starboard/shared/stub/accessibility_get_display_settings.cc",
"//starboard/shared/stub/accessibility_get_text_to_speech_settings.cc",
"//starboard/shared/stub/accessibility_set_captions_enabled.cc",
"//starboard/shared/stub/microphone_close.cc",
"//starboard/shared/stub/microphone_create.cc",
"//starboard/shared/stub/microphone_destroy.cc",
Expand All @@ -351,18 +283,7 @@ static_library("starboard_platform_sources") {
"//starboard/shared/stub/system_raise_platform_error.cc",
"//starboard/shared/stub/system_sign_with_certification_secret_key.cc",
"//starboard/shared/stub/thread_create_priority.cc",
"//starboard/shared/stub/ui_nav_get_interface.cc",
"//starboard/shared/stub/window_blur_on_screen_keyboard.cc",
"//starboard/shared/stub/window_focus_on_screen_keyboard.cc",
"//starboard/shared/stub/window_get_diagonal_size_in_inches.cc",
"//starboard/shared/stub/window_get_on_screen_keyboard_bounding_rect.cc",
"//starboard/shared/stub/window_hide_on_screen_keyboard.cc",
"//starboard/shared/stub/window_is_on_screen_keyboard_shown.cc",
"//starboard/shared/stub/window_on_screen_keyboard_is_supported.cc",
"//starboard/shared/stub/window_on_screen_keyboard_suggestions_supported.cc",
"//starboard/shared/stub/window_set_on_screen_keyboard_keep_focus.cc",
"//starboard/shared/stub/window_show_on_screen_keyboard.cc",
"//starboard/shared/stub/window_update_on_screen_keyboard_suggestions.cc",
]

sources += common_player_sources
Expand All @@ -376,11 +297,6 @@ static_library("starboard_platform_sources") {
]
}

if (sb_api_version < 15) {
sources -= [ "//starboard/shared/starboard/player/player_write_samples.cc" ]
sources += enhanced_audio_sources
}

configs += [
"//starboard/build/config:starboard_implementation",
"//third_party/dav1d:public_dav1d_config",
Expand Down
5 changes: 0 additions & 5 deletions starboard/linux/shared/configuration_constants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,6 @@ const char* kSbPathSepString = ":";
// generally prefer a byte order of RGBA, regardless of endianness.
const int kSbPreferredRgbaByteOrder = SB_PREFERRED_RGBA_BYTE_ORDER_RGBA;

#if SB_API_VERSION < 16
// The maximum number of users that can be signed in at the same time.
const uint32_t kSbUserMaxSignedIn = 1;
#endif // SB_API_VERSION < 16

// The maximum size the cache directory is allowed to use in bytes.
const uint32_t kSbMaxSystemPathCacheDirectorySize = 24 << 20; // 24MiB

Expand Down
Loading

0 comments on commit b4eb6de

Please sign in to comment.