Skip to content

Commit

Permalink
Make android builds pass with is_cobalt = false
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjanyardi committed Oct 25, 2024
1 parent 13b2675 commit e6f48fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build/build_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@
#define BUILDFLAG_INTERNAL_USE_STARBOARD() (0)
#endif

#if defined(USE_STARBOARD_MEDIA)
#define BUILDFLAG_INTERNAL_USE_STARBOARD_MEDIA() (1)
#else
#define BUILDFLAG_INTERNAL_USE_STARBOARD_MEDIA() (0)
#endif
// Compiler detection. Note: clang masquerades as GCC on POSIX and as MSVC on
// Windows.
#if defined(__GNUC__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
#include "media/base/supported_types.h"
#include "media/base/video_decoder_config.h"
#include "media/media_buildflags.h"
// For BUILDFLAG(USE_STARBOARD_MEDIA)
#if defined(IS_COBALT)
#include "starboard/build/starboard_buildflags.h"
#endif
#include "third_party/blink/public/common/privacy_budget/identifiability_metric_builder.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_study_settings.h"
#include "third_party/blink/public/common/privacy_budget/identifiable_surface.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@
#include "net/base/data_url.h"
#include "services/device/public/mojom/battery_monitor.mojom-blink.h"
// For BUILDFLAG(USE_STARBOARD_MEDIA)
#if defined(IS_COBALT)
#include "starboard/build/starboard_buildflags.h"
#endif
#include "third_party/blink/public/common/media/display_type.h"
#include "third_party/blink/public/common/media/watch_time_reporter.h"
#include "third_party/blink/public/common/thread_safe_browser_interface_broker_proxy.h"
Expand Down

0 comments on commit e6f48fb

Please sign in to comment.