Make building an empty static library work.

Handle the case where a static library is not built because it has no
input files (e.g. because they are conditionally included and it happens
that the computed list is empty). Previously, ar never ran because of
split-long-arguments, and anything that depended on the static library
would fail to link. Make sure that ar runs at least once.

Change-Id: If0071d7ae50c4e45fff1772dca43187af155db1f
Merge "Convert LOCAL_LOCAL_JNI_SHARED_LIBRARIES to LOCAL_REQUIRED_MODULES in a full build"
Merge "Make building an empty static library work."
am 43ca4a45: Remove the user tag and legacy prebuilts for the srec modules.

* commit '43ca4a45a43e2084b5a40af90ff523b0417d31c0':
  Remove the user tag and legacy prebuilts for the srec modules.
am 51125621: am 43ca4a45: Remove the user tag and legacy prebuilts for the srec modules.

* commit '51125621080c64b106abaeb414676cf51c0fd9c3':
  Remove the user tag and legacy prebuilts for the srec modules.
am 5d76a3f2: Merge "add uiautomator into system image" into jb-dev

* commit '5d76a3f2d53fceb883d84d214c28c51bc3e5b43c':
  add uiautomator into system image
am d214c7e4: am 5d76a3f2: Merge "add uiautomator into system image" into jb-dev

* commit 'd214c7e495f10f87d2834a3137c8c29512f7cfc5':
  add uiautomator into system image
clean up pdk_config.mk

- define ...JAVA_ZIP_... variables only when necessary
- fix missed case for TARGET_BUILD_JAVA_SUPPORT_LEVEL definition

Change-Id: I4f491ff212fd1e973a77499bbf3fd8d1940bb1f8
Revert "Convert LOCAL_LOCAL_JNI_SHARED_LIBRARIES to LOCAL_REQUIRED_MODULES in a full build"

This reverts commit 81f0fd6cdbf42d1034bf9e9f36991a131eca3f4f

The change broke the CTS build:
CTS does need the jni library embedded in the apk.
Merge "Revert "Convert LOCAL_LOCAL_JNI_SHARED_LIBRARIES to LOCAL_REQUIRED_MODULES in a full build""
lint support.

Bug: 6167394
$make lint-<app-name>       # to lint on a single module
$make lintall               # to lint on all packages in the source
                              tree.

Change-Id: I4decc76fb75793ce44809232b0ec72b766fbb434
Reconcile with jb-release

Change-Id: I7cea6b7dd25e75e4b0a738cfa890fcaa556c2d0b
am e8d1719b: Reconcile with jb-release

* commit 'e8d1719bd2f4acb51027d1da455acd1f54d3ecf7':
  JRN79C
  JRN79B
  JRN79
  JRN78B
  JRN78
  JRN77
  JRN75E
  JRN75D
  JRN75C
  JRN75B
  JRN75
  JRN74C
  JRN74B
  JRN74
  JRN73
  JRN72D
  JRN72C
  JRN72B
Reconcile with jb-release

Change-Id: Id011e3aaae44e404d9e7b75e5a52f097d2317126
am ef3a5321: Reconcile with jb-release

* commit 'ef3a532141e02d529dd5c61716c2fd4654ddc025':
  JRN80
Merge "lint support."
am 03bb0851: Remove references to packages that don\'t exist any more.

* commit '03bb0851d6a86ac51becaa132f96ed1d8f4b604c':
  Remove references to packages that don't exist any more.
am a644e7bb: am 03bb0851: Remove references to packages that don\'t exist any more.

* commit 'a644e7bb66ab590a8758f89febe228f2f8987b32':
  Remove references to packages that don't exist any more.
am 0872a010: Merge "More flexibility to keep/remove R.class in static Java library" into jb-dev

* commit '0872a010659d20633f07f4ef54cf61f8e4b6e030':
  More flexibility to keep/remove R.class in static Java library
resolved conflicts for merge of 9b76c054 to master

Change-Id: I4190ef6895b7ddb27d9a293cbacecdef1f4f20b8