blob: 48fa48ed1dd2ae42eada5f14137f78b8fff642e4 [file] [log] [blame]
<!-- -->
<!-- Copyright 2009 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. -->
<!-- Deferred binding rules for core classes based on user agent. -->
<module>
<inherits name="com.google.gwt.core.Core"/>
<!-- Disable source maps for non-Chrome browsers -->
<!-- TODO(goktug): enable source maps for non-Chrome browsers -->
<set-property name="compiler.useSourceMaps" value="false">
<none>
<when-property-is name="user.agent" value="safari"/>
</none>
</set-property>
<replace-with class="com.google.gwt.core.client.impl.StackTraceCreator.CollectorModern">
<when-type-is class="com.google.gwt.core.client.impl.StackTraceCreator.Collector" />
<when-property-is name="compiler.stackMode" value="native" />
<when-property-is name="user.agent" value="safari" />
<when-property-is name="compiler.useSourceMaps" value="true"/>
</replace-with>
</module>