Bug 134587 - Broken build with build-webkit --no-video
Summary: Broken build with build-webkit --no-video
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryuan Choi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-03 01:12 PDT by Ryuan Choi
Modified: 2014-07-10 07:56 PDT (History)
9 users (show)

See Also:


Attachments
Patch (2.66 KB, patch)
2014-07-03 01:15 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryuan Choi 2014-07-03 01:12:54 PDT
MEDIA_CONTROLS_SCRIPT requires VIDEO enabled.

There are several error messages including below when building with -no-video (Tested on the EFL port)

WebKit/Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp:228:1: error: control reaches end of non-void function [-Werror=return-type]
Comment 1 Ryuan Choi 2014-07-03 01:15:36 PDT
Created attachment 234325 [details]
Patch
Comment 2 WebKit Commit Bot 2014-07-03 13:07:11 PDT
Comment on attachment 234325 [details]
Patch

Clearing flags on attachment: 234325

Committed r170764: <http://trac.webkit.org/changeset/170764>
Comment 3 WebKit Commit Bot 2014-07-03 13:07:18 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Carlos Garcia Campos 2014-07-10 07:54:24 PDT
Comment on attachment 234325 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=234325&action=review

> Source/cmake/WebKitFeatures.cmake:134
> +    WEBKIT_OPTION_DEPEND(ENABLE_MEDIA_CONTROLS_SCRIPT ENABLE_VIDEO)

I think this is even more restrictive, MediaControlsHost uses TextTrack unconditionally, so I think ENABLE_MEDIA_CONTROLS_SCRIPT depends on ENABLE_VIDEO_TRACK