[Webkit-unassigned] [Bug 29114] New: ObjC binding dependencies not taken into account by DerivedSources.make

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 9 17:55:54 PDT 2009


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

           Summary: ObjC binding dependencies not taken into account by
                    DerivedSources.make
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cam at mcc.id.au
            Blocks: 28831


Since the Objective C bindings essentially flatten multiple inheritance in the
generated DOM*.mm files, there are dependencies on ancestor IDL files that
aren't noticed by DerivedSources.make.  For example, the SVGAnimationElement
interface inheritance hierarchy looks like:

  SVGAnimationElement
   |
   +--SVGElement
   |   |
   |   +--Element
   |       |
   |       +-- ...
   |
   +--SVGTests
   |
   +--SVGExternalResourcesRequired
   |
   +--ElementTimeControl

All of the attributes and operations in SVGTests, SVGExternalResourcesRequired
and ElementTimeControl will be implemented in SVGAnimationElement.mm, but make
doesn't know that SVGAnimationElement.mm depends on SVGTests.idl,
SVGExternalResourcesRequired.idl and ElementTimeControl.idl.

Thus, if a patch touches ElementTimeControl.idl, for example, the build will
break unless a clean is done first (or something else that forces the bindings
to be regenerated, such as touching CodeGenerator.pm).

This probably affects the V8 bindings too, but I haven't looked closely enough
to be sure.

-- 
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