blob: 9676eb048a3aaf204a2aa2fa6cf9f53ea9704f96 [file] [log] [blame]
<!-- -->
<!-- Copyright 2011 Google Inc. -->
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you -->
<!-- may not use this file except in compliance with the License. You may -->
<!-- may obtain a copy of the License at -->
<!-- -->
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
<!-- -->
<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
<!-- implied. License for the specific language governing permissions and -->
<!-- limitations under the License. -->
<!-- Base module for Debug code. -->
<module>
<inherits name="com.google.gwt.core.Core" />
<source path="client" />
<public path="public" />
<!-- Enable or disable the UIObject.ensureDebugID method -->
<define-property name="gwt.enableDebugId" values="true, false"/>
<set-property name="gwt.enableDebugId" value="false"/>
<!-- Replace the DebugIdImpl -->
<replace-with class="com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled">
<when-type-is class="com.google.gwt.user.client.ui.UIObject.DebugIdImpl"/>
<when-property-is name="gwt.enableDebugId" value="true"/>
</replace-with>
<!-- Replace the DebugInfoImpl -->
<replace-with class="com.google.gwt.debug.client.DebugInfo.DebugInfoImplEnabled">
<when-type-is class="com.google.gwt.debug.client.DebugInfo.DebugInfoImpl"/>
<when-property-is name="gwt.enableDebugId" value="true"/>
</replace-with>
</module>