title: Build and reuse android open source Dialer source code in my project
body: <p>I have to integrate android opensource Dialer source code into my application and also need to do customizations on the same.</p>
  
  <ol>
  <li>Currently I cloned the Dialer source code from <a href="https://android.googlesource.com/platform/packages/apps/Dialer/" rel="noreferrer">https://android.googlesource.com/platform/packages/apps/Dialer/</a></li>
  <li><strong>It doesn't seems to be a gradle project. How can I build this project ?</strong></li>
  <li>I need to <strong>add this entire project as reusable module in my project</strong>. Could you please help me on this. How can I start with this ?</li>
  </ol>
  
  <p>This Answer seems very informative <a href="https://stackoverflow.com/a/8668334/3020568">https://stackoverflow.com/a/8668334/3020568</a> but I need to get some more help from guys those who tried to build this type of applications.</p>
  
  <p>WE tried below steps.</p>
  
  <ol>
  <li>Checked out source code from google source.</li>
  <li>Tried to import the project in Android Studio.</li>
  <li>It has dependencies outside the project which are not able to resolve. - Some classes and methods has no reference inside the source code.</li>
  </ol>
  
  <p>Thanks in advance.</p>