| <!-- --> | |
| <!-- Copyright 2014 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. --> | |
| <module> | |
| <inherits name="com.google.gwt.useragent.UserAgent" /> | |
| <source path="test" /> | |
| <define-property name="collapsedProperty" values="one"/> | |
| <property-provider name="collapsedProperty"><![CDATA[ | |
| return 'one'; | |
| ]]></property-provider> | |
| <replace-with class="com.google.gwt.dev.jjs.test.CodeSplitterCollapsedPropertiesTest.Bar"> | |
| <when-type-is class="com.google.gwt.dev.jjs.test.CodeSplitterCollapsedPropertiesTest.Foo" /> | |
| <when-property-is name="collapsedProperty" value="two"/> | |
| </replace-with> | |
| <replace-with class="com.google.gwt.dev.jjs.test.CodeSplitterCollapsedPropertiesTest.Baz"> | |
| <when-type-is class="com.google.gwt.dev.jjs.test.CodeSplitterCollapsedPropertiesTest.Foo" /> | |
| <when-property-is name="collapsedProperty" value="one"/> | |
| </replace-with> | |
| <collapse-property name="collapsedProperty" values="*" /> | |
| </module> |