Skip to content

Commit f84aec6

Browse files
authored
Remove #include MACRO (#9280)
Removes SB_PLAYER_DMP_WRITER_INCLUDE_PATH #include MACRO as the SISO scanner has difficulty uploading required dependenies for remote builds. Bug: 454374226
1 parent b61cf6c commit f84aec6

File tree

5 files changed

+1
-20
lines changed

5 files changed

+1
-20
lines changed

starboard/linux/shared/configuration_public.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,4 @@
4343
#define SB_IS_WCHAR_T_UNSIGNED 1
4444
#endif
4545

46-
// --- Media Configuration ---------------------------------------------------
47-
48-
// The path of video_dmp_writer.h. Defined here to avoid errors building on
49-
// platforms that do not include the video_dmp library.
50-
#define SB_PLAYER_DMP_WRITER_INCLUDE_PATH \
51-
"starboard/shared/starboard/player/video_dmp_writer.h"
52-
5346
#endif // STARBOARD_LINUX_SHARED_CONFIGURATION_PUBLIC_H_

starboard/shared/starboard/player/player_create.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
#include "starboard/shared/starboard/player/player_internal.h"
3333
#include "starboard/shared/starboard/player/player_worker.h"
3434

35-
#if SB_PLAYER_ENABLE_VIDEO_DUMPER
36-
#include SB_PLAYER_DMP_WRITER_INCLUDE_PATH
37-
#endif // SB_PLAYER_ENABLE_VIDEO_DUMPER
38-
3935
using ::starboard::MimeType;
4036

4137
SbPlayer SbPlayerCreate(SbWindow /*window*/,

starboard/shared/starboard/player/player_destroy.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
#include "starboard/shared/media_session/playback_state.h"
2020
#include "starboard/shared/starboard/player/player_internal.h"
2121

22-
#if SB_PLAYER_ENABLE_VIDEO_DUMPER
23-
#include SB_PLAYER_DMP_WRITER_INCLUDE_PATH
24-
#endif // SB_PLAYER_ENABLE_VIDEO_DUMPER
25-
2622
void SbPlayerDestroy(SbPlayer player) {
2723
if (!SbPlayerIsValid(player)) {
2824
return;

starboard/shared/starboard/player/player_internal.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
#include "starboard/common/media.h"
2525
#include "starboard/common/time.h"
2626

27-
#if SB_PLAYER_ENABLE_VIDEO_DUMPER
28-
#include SB_PLAYER_DMP_WRITER_INCLUDE_PATH
29-
#endif // SB_PLAYER_ENABLE_VIDEO_DUMPER
30-
3127
namespace starboard {
3228
namespace {
3329

starboard/shared/starboard/player/player_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include "starboard/window.h"
3030

3131
#if SB_PLAYER_ENABLE_VIDEO_DUMPER
32-
#include SB_PLAYER_DMP_WRITER_INCLUDE_PATH
32+
#include "starboard/shared/starboard/player/video_dmp_writer.h" // nogncheck
3333
#endif // SB_PLAYER_ENABLE_VIDEO_DUMPER
3434

3535
struct SbPlayerPrivate {

0 commit comments

Comments
 (0)