title: Building static library in aosp
body: <p>I am trying to built a static library in aosp, which is then used by another program. </p>
  
  <p>Android.bp is for the static library is as follows:</p>
  
  <pre><code>cc_library_static {
      name: "libabc",
  
      srcs: [
          "src/abc.c",
          "src/abcd.c",
      ],
  
      include_dirs: [
          "my_folder/inc",
      ],
      vendor: true,
  }
  </code></pre>
  
  <p>Although the build is successful, I am not able to find my <em>libabc.a</em> in my outputs folder.</p>
  
  <p>Do I have to add <em>libabc.a</em> in PRODUCT_PACKAGES for it to be added to the build ? What am I missing here ?</p>