[Webkit-unassigned] [Bug 218042] New: Build error with ENABLE_VIDEO=OFF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 11:53:40 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=218042

            Bug ID: 218042
           Summary: Build error with ENABLE_VIDEO=OFF
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bst at pengutronix.de

Various errors occur when building the WPE port via:

$ cmake -DPORT=WPE -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DCMAKE_BUILD_TYPE=Release -DANALYZERS=OFF -DDEBUG_FISSION=OFF -DENABLE_ACCELERATED_2D_CANVAS=OFF -DENABLE_ACCESSIBILITY=OFF -DENABLE_BUBBLEWRAP_SANDBOX=OFF -DENABLE_ENCRYPTED_MEDIA=OFF -DENABLE_GTKDOC=OFF -DENABLE_MEDIA_SOURCE=OFF -DENABLE_SHAREABLE_RESOURCE=ON -DENABLE_VIDEO=OFF -DENABLE_WEBDRIVER=ON -DENABLE_WEB_AUDIO=OFF -DENABLE_WEB_CRYPTO=ON -DENABLE_WPE_QT_API=OFF -DENABLE_XSLT=ON -DGCC_OFFLINEASM_SOURCE_MAP=OFF -DSHOULD_INSTALL_JS_SHELL=OFF -DSHOW_BINDINGS_GENERATION_PROGRESS=ON -DUSE_LD_GOLD=OFF -DUSE_OPENJPEG=OFF -DUSE_SYSTEMD=OFF -DUSE_THIN_ARCHIVES=ON -DUSE_WOFF2=OFF -DWTF_CPU_ARM64_CORTEXA53=OFF
$ ninja

Source/WebCore/editing/markup.cpp: In function ‘std::unique_ptr<WebCore::Page> WebCore::createPageForSanitizingWebContent()’:
Source/WebCore/editing/markup.cpp:181:22: error: ‘class WebCore::Settings’ has no member named ‘setMediaEnabled’; did you mean ‘setJavaEnabled’?
     page->settings().setMediaEnabled(false);
                      ^~~~~~~~~~~~~~~
                      setJavaEnabled

Source/WebCore/platform/graphics/GraphicsContext.cpp:1283:5: error: invalid use of incomplete type ‘class WebCore::MediaPlayer’
     player.playerPrivate()->paintCurrentFrameInContext(*this, destination);

Source/WebCore/page/Page.cpp:2049:23: error: ‘class WebCore::ChromeClient’ has no member named ‘playbackControlsMediaEngineChanged’
     chrome().client().playbackControlsMediaEngineChanged();

Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:1260:20: error: invalid use of incomplete type ‘class WebCore::MediaPlayer’
     , m_identifier(player.identifier())


I guess most of them can be fixed with #if ENABLE(VIDEO) ... #endif.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201021/353e8659/attachment-0001.htm>


More information about the webkit-unassigned mailing list