platform_build_soong/java
Colin Cross 1b6a3cfea4 Set targetSdkVersion in manifest_fixer
If targetSdkVersion is not set in the manifest, set it to the
value it was implicitly using before changing minSdkVersion.
Requires passing --library to manifest_fixer.py to distinguish
between apps, where the implicit value was set by aapt2 to
current, or libraries where the implicit value was 1.
Fixes cases where the manifest does not specify targetSdkVersion
and was inheriting the minSdkVersion value until manifest merger
started merging a lower targetSdkVersion value from a library.

Bug: 111347801
Test: manifest_fixer_test.py
Change-Id: I8fcf0c5f452707565ba1808f6fe552ffed055c47
2018-07-26 11:09:24 -07:00
..
config Use manifest merger in Soong 2018-07-11 19:46:38 +00:00
aapt2.go Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
aar.go Set targetSdkVersion in manifest_fixer 2018-07-26 11:09:24 -07:00
android_manifest.go Set targetSdkVersion in manifest_fixer 2018-07-26 11:09:24 -07:00
android_resources.go Add support for android_library modules 2018-04-16 15:24:47 -07:00
androidmk.go Don't install java libraries by default 2018-07-11 05:35:59 +00:00
app.go Add missing properties to android_test 2018-07-16 17:23:35 -07:00
app_builder.go Add support for android_library modules 2018-04-16 15:24:47 -07:00
app_test.go Use manifest merger in Soong 2018-07-11 19:46:38 +00:00
builder.go Add exclude_files and exclude_dirs properties to java_import 2018-07-12 16:59:59 -07:00
dex.go Make merge_zips -stripFile use blueprint style globs 2018-07-16 15:24:43 -07:00
droiddoc.go Change classpath for droiddoc 2018-07-17 23:52:49 +00:00
gen.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
genrule.go Soong: add "java_genrule_host" 2018-04-13 16:37:22 -07:00
jacoco.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go Change classpath for droiddoc 2018-07-17 23:52:49 +00:00
java_resources.go Add support for android_library modules 2018-04-16 15:24:47 -07:00
java_test.go Add exclude_files and exclude_dirs properties to java_import 2018-07-12 16:59:59 -07:00
prebuilt_apis.go Add api_dirs property and use module name as prefix 2018-06-25 10:30:30 +09:00
proto.go Run dep_fixer for java too 2018-05-17 10:11:17 -07:00
sdk_library.go Change classpath for droiddoc 2018-07-17 23:52:49 +00:00
support_libraries.go Export lists of support libraries modules to Make 2018-05-03 16:48:13 -07:00
system_modules.go Generate system modules for any value of EXPERIMENTAL_USE_OPENJDK9. 2018-07-09 19:47:33 +01:00