<?xml version="1.0" encoding="UTF-8"?>
<!--

 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You 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.  See the License for the
 specific language governing permissions and limitations
 under the License.

-->

<module rename-to='webclient'>
  <inherits name="org.waveprotocol.box.webclient.WebClient"/>

  <inherits name='com.google.gwt.user.theme.chrome.Chrome'/>

  <!-- Specification of permutation restrictions suitable for production.
       In general, this should support as many permutations as possible -->

  <!-- Stack emulation is too slow to use in production. -->
  <set-property name="compiler.emulatedStack" value="false"/>

  <!-- Specify the app entry point class.                         -->
  <entry-point class='org.waveprotocol.box.webclient.client.WebClient'/>

  <!-- Only build supported clients. -->
  <set-property name="user.agent" value="safari,gecko1_8,ie6,ie8"/>
  <set-property name="mobile.user.agent" value="not_mobile" />

  <!-- Turn off logging, because it's really slow. -->
  <set-property name="loglevel" value="none" />

  <extend-property name="locale" values="en,ru,sl,fr,es,de,zh_TW"/>
  <set-property-fallback name="locale" value="en"/>
</module>
