Add `when-linker-added` element definition Change-Id: Ib7e69be2d3b488ef41b30cfb63852bbf81857b16
diff --git a/distro-source/core/src/gwt-module.dtd b/distro-source/core/src/gwt-module.dtd index ebbfe31..3db5150 100644 --- a/distro-source/core/src/gwt-module.dtd +++ b/distro-source/core/src/gwt-module.dtd
@@ -106,7 +106,7 @@ <!-- VVV Deferred binding elements VVV --> <!-- All possible predicates --> -<!ENTITY % predicates "when-property-is | when-type-assignable | when-type-is | all | any | none"> +<!ENTITY % predicates "when-property-is | when-type-assignable | when-type-is | when-linker-added | all | any | none"> <!-- Define a property and allowable values (comma-separated identifiers) --> <!ELEMENT define-property EMPTY> <!ATTLIST define-property @@ -198,6 +198,11 @@ <!ATTLIST when-type-is class CDATA #REQUIRED > +<!-- Deferred binding predicate that is true when there are linker with such name --> +<!ELEMENT when-linker-added EMPTY> +<!ATTLIST when-linker-added + name CDATA #REQUIRED +> <!-- Predicate that ANDs all child conditions --> <!ELEMENT all (%predicates;)*> <!-- Predicate that ORs all child conditions -->