[Webkit-unassigned] [Bug 43863] New: Build with --enable-indexed-database fails on a missing file - JSIDBKey.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 11 10:52:42 PDT 2010


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

           Summary: Build with --enable-indexed-database fails on a
                    missing file - JSIDBKey.h
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: red47514f7 at yandex.ru


I tried to build latest WebKit nightly with maximal possible feature set. In particular, I passed --enable-indexed-database to autogen.sh

I go the following during compilation of DerivedSources/WebCore/JSIDBKeyRange.cpp :

DerivedSources/WebCore/JSIDBKeyRange.cpp:32:22: error: JSIDBKey.h: No such file or directory  
[some errors related to the lack of definitions expected to be in JSIDBKey.h follow]

The file is actually absent in the nightly itself. There is some code to generate this file (and some more bindings) in WebCore/Android.derived.jscbindings.mk .

The file is mentioned in the following files:

./WebCore/Android.derived.jscbindings.mk
./WebCore/WebCore.vcproj/WebCore.vcproj
./WebCore/WebCore.xcodeproj/project.pbxproj
./WebCore/bindings/js/JSIDBAnyCustom.cpp
./WebCore/bindings/js/JSIDBKeyCustom.cpp

The first one seems Android-specific, the next two are apparently just file list caches for IDEs, and the last two are users of the erroneously not-generated header.

Probably code from ./WebCore/Android.derived.jscbindings.mk could be generalized to generate the needed headers when --enable-indexed-database is passed. 

The Android-specific makefile generates the following headers:

    $(intermediates)/storage/JSIDBAny.h \
    $(intermediates)/storage/JSIDBCursor.h \
    $(intermediates)/storage/JSIDBDatabaseError.h \
    $(intermediates)/storage/JSIDBDatabaseException.h \
    $(intermediates)/storage/JSIDBDatabase.h \
    $(intermediates)/storage/JSIDBErrorEvent.h \
    $(intermediates)/storage/JSIDBEvent.h \
    $(intermediates)/storage/JSIDBFactory.h \
    $(intermediates)/storage/JSIDBIndex.h \
    $(intermediates)/storage/JSIDBKey.h \
    $(intermediates)/storage/JSIDBKeyRange.h \
    $(intermediates)/storage/JSIDBObjectStore.h \
    $(intermediates)/storage/JSIDBRequest.h \
    $(intermediates)/storage/JSIDBSuccessEvent.h \
    $(intermediates)/storage/JSIDBTransaction.h

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list