title: How to add project to Android Build?
body: <p>I'm having a problem with building an Android ROM (galaxys2att, gingerbread). I decided it was time to get smarter about makefile processing. So I created a simple test project to play with. But it's <strong>not</strong> getting compiled. Here's what I did:</p>
  
  <p>1 I create a directory ("<em>myproject/</em>") under a buildable module (I used "<em>Mms/</em>" but others had the same problem).<br>
  2 I create <code>Android.mk</code> in that directory containing  </p>
  
  <blockquote>
    <p>hello:</p>
  
  <pre><code>   echo "Hello from myproject"
  </code></pre>
  </blockquote>
  
  <p>(I have no blank line between hello: and echo: the page editor added these)</p>
  
  <p>3 I ran <code>mm</code> in the "<em>Mms/</em>" directory.</p>
  
  <p>Mms and other subproject compiled but no evidence of myproject.</p>
  
  <p>Android.mk in Mms contained line
  <code>include $(call all-makefiles-under, $(LOCAL_PATH))</code></p>
  
  <p>Of course I ran <code>envsetup.sh</code> originally.<br>
  What am I missing here?  </p>