title: Where can I find documentation for Android build options related to proguard
body: <p>I have been doing a lot of work with the android build system and I ran into a situation that proguard was removing required classes causing a NoClassDefFoundError.  I could tell the class was not being found however it took me a while to figure out that proguard was messing up the classes that were build with my code.</p>
  
  <p>I finally found that I could prevent proguard from running by adding <code>LOCAL_PROGUARD_ENABLED := disabled</code> to the Android.mk file.</p>
  
  <p>I was only able to do this because I happened to chance accross someone elses Android.mk file that did the same.</p>
  
  <p>I have not been able to find any documentation for the following</p>
  
  <pre><code>LOCAL_PROGUARD_FLAGS
  LOCAL_PROGUARD_ENABLED
  LOCAL_PROGUARD_FLAG_FILES
  </code></pre>
  
  <p>As best I can tell the typical usage of <code>LOCAL_PROGUARD_FLAGS</code> is to identify the location of the proguard configuration file used as follows:</p>
  
  <pre><code>LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
  </code></pre>
  
  <p>Problem is I cannot figure out how it differs from the <code>LOCAL_PROGUARD_FLAG_FILES</code> used as follows:</p>
  
  <pre><code>LOCAL_PROGUARD_FLAG_FILES := proguard.flags
  </code></pre>
  
  <p>The <code>LOCAL_PROGUARD_ENABLED</code> can be used to disable proguard however other than the <code>disabled</code> option I don't know what else can be used with this option.</p>
  
  <pre><code>LOCAL_PROGUARD_ENABLED := disabled
  </code></pre>
  
  <p>Does anyone know where I can find documentation (official or unofficial) for these build options?  Google does not seem to return anything useful for my searches.</p>