Added support for expressing overlay manifest in tests

Added support in ManifestMergerTest for overlay manifest files
and added regression tests for :
- not providing a package in an overlay file
- providing a package with the same value as the main manifest file
package
- provided a different package name in an overlay (error)

Change-Id: I2503a220fe8afeaa09d4b3772a8a2a5ea77b83de
Use aapt ignore patterns when processig resources and assets

This CL updates the gradle resource merger's code which scans
through resource and asset folders such that it uses the same
ignore rules as the aapt tool. Among other things, this fixes
the scenario described in issue 69884 where a build will fail
if there is a .git folder in res/.

Change-Id: Ia6a9ccf8d1dcd5a84122751162f1360ee3c9b18e
Update NdkBuilder to find path of prebuilt base on host OS.

Change-Id: Icb6d59d2d19922c757030a335a266f22d7db45ab
Merge "Extend Eclipse importer" into idea133
Update recommended Gradle plugin version to 0.12.2

Change-Id: Ib9483ab9b485679911af504e9f20b888809d5b6a
Merge "Update recommended Gradle plugin version to 0.12.2" into idea133
Extend Eclipse importer

1. It is now possible to provide custom ubproject names
   when importing.
2. Added an API to find modules that given one depends on.

Change-Id: I5e479743c25d78e1d435c779e74d6346d67dadab
Revert "Extend Eclipse importer"

This reverts commit d10cbf3caa7bef6aec2ac91bda443a6fc4f6eda6.

Change-Id: I9cba0222a7b88251171e5e5688fea10311a14249
Merge "Revert "Extend Eclipse importer"" into idea133
Extend Eclipse importer

1. It is now possible to provide custom subproject names
   when importing.
2. Added an API to find modules that given one depends on.

Change-Id: Ib61e80adaf005f33fd61069079c61088abbfceed
Merge "Extend Eclipse importer" into idea133
73282: lintVital failure output should go to stderr

Allow lint reports to be written to stderr (and do so by default
for the lint vital task)

Change-Id: I27e81571a158abd6992f28fdd2ddb9c3d7e67c5c
Add validation to ListFragment template

The ListFragment template previously was using globals to calculate
its layout resource values. This is now handled by properly validated
parameters.

Fixes https://code.google.com/p/android/issues/detail?id=74253
Change-Id: I87ad3f72d047ce6af859d19a182838836327c916
Merge "Add validation to ListFragment template" into idea133
Allows exporting PreferenceActivities if it is deemed safe.

This turns off the PreferenceActivityDetector lint check in cases
where the target SDK version of the project is 19 or greater
and isValidFragment is overridden by the activity in question.
The security issue that PreferenceActivityDetector checks for
was patched in version 19 and so the lint check was being
a little too aggressive before this change.

Change-Id: I32cf749254aed5ba0321288ea662723b9c7862a2
Signed-off-by: Shannon Chen <shannonchen@google.com>
Merge "Allows exporting PreferenceActivities if it is deemed safe." into idea133
Merge "73282: lintVital failure output should go to stderr" into idea133
Add ability to fire a single HPIF request.

Change-Id: Ia730955d9ebd48d532762224c7ffbf988cbedd0f
Merge "Add ability to fire a single HPIF request." into idea133
Merge "Added support for expressing overlay manifest in tests" into idea133