OLD | NEW |
1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> | 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> |
3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> | 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> |
5 # Copyright (C) 2006 Apple Computer, Inc. | 5 # Copyright (C) 2006 Apple Computer, Inc. |
6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. | 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. |
7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. | 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. |
9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 # Copyright (C) 2012 Ericsson AB. All rights reserved. | 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 } | 453 } |
454 | 454 |
455 sub HeaderFilesForInterface | 455 sub HeaderFilesForInterface |
456 { | 456 { |
457 my $interfaceName = shift; | 457 my $interfaceName = shift; |
458 my $implClassName = shift; | 458 my $implClassName = shift; |
459 | 459 |
460 my @includes = (); | 460 my @includes = (); |
461 if (IsTypedArrayType($interfaceName) or $interfaceName eq "ArrayBuffer") { | 461 if (IsTypedArrayType($interfaceName) or $interfaceName eq "ArrayBuffer") { |
462 push(@includes, "wtf/${interfaceName}.h"); | 462 push(@includes, "wtf/${interfaceName}.h"); |
463 } elsif ($interfaceName =~ /SVGPathSeg/) { | |
464 $interfaceName =~ s/Abs|Rel//; | |
465 push(@includes, "core/svg/${interfaceName}.h"); | |
466 } elsif (!SkipIncludeHeader($interfaceName)) { | 463 } elsif (!SkipIncludeHeader($interfaceName)) { |
467 my $idlFilename = IDLFileForInterface($interfaceName) or die("Could NOT
find IDL file for interface \"$interfaceName\" $!\n"); | 464 my $idlFilename = IDLFileForInterface($interfaceName) or die("Could NOT
find IDL file for interface \"$interfaceName\" $!\n"); |
468 my $idlRelPath= "bindings/" . File::Spec->abs2rel($idlFilename, $sourceR
oot); | 465 my $idlRelPath= "bindings/" . File::Spec->abs2rel($idlFilename, $sourceR
oot); |
469 push(@includes, dirname($idlRelPath) . "/" . $implClassName . ".h"); | 466 push(@includes, dirname($idlRelPath) . "/" . $implClassName . ".h"); |
470 } | 467 } |
471 return @includes; | 468 return @includes; |
472 } | 469 } |
473 | 470 |
474 sub NeedsOpaqueRootForGC | 471 sub NeedsOpaqueRootForGC |
475 { | 472 { |
(...skipping 5583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6059 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { | 6056 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { |
6060 $found = 1; | 6057 $found = 1; |
6061 } | 6058 } |
6062 return 1 if $found; | 6059 return 1 if $found; |
6063 }, 0); | 6060 }, 0); |
6064 | 6061 |
6065 return $found; | 6062 return $found; |
6066 } | 6063 } |
6067 | 6064 |
6068 1; | 6065 1; |
OLD | NEW |