platform_build_soong/java
Jiyong Park 6a927c4e6a Abstract sdk_version string using sdkSpec type
The value format that sdk_version (and min_sdk_version, etc.) can have
has consistently evolved and is quite complicated. Furthermore, with the
Mainline module effort, we are expected to have more sdk_versions like
'module-app-current', 'module-lib-current', etc.

The goal of this change is to abstract the various sdk versions, which
are currently represented in string and is parsed in various places,
into a type called sdkSpec, so that adding new sdk veresions becomes
easier than before.

The sdk_version string is now parsed in only one place 'SdkSpecFrom', in
which it is converted into the sdkSpec struct. The struct type provides
several methods that again converts sdkSpec into context-specific
information such as the effective version number, etc.

Bug: 146757305
Bug: 147879031
Test: m
Change-Id: I252f3706544f00ea71c61c23460f07561dd28ab0
2020-01-25 21:56:43 +09:00
..
config Add framework-sdkextensions to jars to instrument 2020-01-17 09:57:52 +00:00
OWNERS Add ART folks to owner of dexpreopt related file. 2019-04-30 15:33:49 +01:00
aapt2.go Move sharding functions for reuse 2019-09-29 23:26:37 -07:00
aar.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
android_manifest.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
android_resources.go Separate device and product overlays 2019-03-21 11:25:46 +00:00
androidmk.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
androidmk_test.go AndroidMk for the hostdex library has separate AndroidMkEntries 2019-12-11 17:27:07 +09:00
app.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
app_builder.go Reland "Also package recursive jni_libs deps of android_apps as well as direct deps." with bug fix. 2019-12-17 16:55:20 -08:00
app_test.go Do not remove RRO resources 2020-01-24 10:35:52 -08:00
builder.go Save compilation units in protobuf format. 2020-01-15 12:40:03 -08:00
device_host_converter.go jacoco correctly gathers info from APK-in-APEX 2020-01-08 14:49:31 +09:00
device_host_converter_test.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
dex.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
dexpreopt.go Move the Once cache for dexpreopt.GlobalConfig into the dexpreopt 2020-01-24 22:18:42 +00:00
dexpreopt_bootjars.go Move the Once cache for dexpreopt.GlobalConfig into the dexpreopt 2020-01-24 22:18:42 +00:00
dexpreopt_bootjars_test.go Move the Once cache for dexpreopt.GlobalConfig into the dexpreopt 2020-01-24 22:18:42 +00:00
dexpreopt_config.go Move the Once cache for dexpreopt.GlobalConfig into the dexpreopt 2020-01-24 22:18:42 +00:00
dexpreopt_test.go Add a rule about platform_apis 2019-07-29 20:48:30 +09:00
droiddoc.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
gen.go Shard aidl compiles into srcjars 2019-10-04 14:00:36 -07:00
genrule.go Dedup java genrule module type registration 2019-12-19 19:19:40 +00:00
hiddenapi.go Improve hiddenapi processing so it does not require white list 2019-02-28 16:13:20 +00:00
hiddenapi_singleton.go Revert submission 1194828-revert-1191937-art_apex_available-DWXQGTKMAR 2019-12-19 02:11:10 +00:00
jacoco.go Tune JVM, print full diagnostics on crash. 2019-06-11 13:30:13 -07:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
java_resources.go Track sources for srcjars across modules 2019-05-06 14:22:26 -07:00
java_test.go Get the dex2oat host tool path from module dependency on the binary 2020-01-24 22:18:42 +00:00
jdeps.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
jdeps_test.go jarjar_rules: accept file-group 2019-01-23 18:05:18 +00:00
kotlin.go Fix turbine classpath arguments 2019-11-07 02:05:06 +00:00
kotlin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
platform_compat_config.go Define a make variable for merged compat config. 2020-01-08 11:24:58 +00:00
plugin.go Replace annotation_processors with plugins 2019-01-23 20:17:51 +00:00
plugin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
prebuilt_apis.go Dedup prebuilt apis module type/mutator registration 2019-12-19 19:19:40 +00:00
proto.go Default to compiling lite protos 2019-10-26 20:35:13 +00:00
robolectric.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
sdk.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
sdk_library.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
sdk_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
support_libraries.go Allow other module types in androidx 2019-07-22 13:18:48 -07:00
sysprop.go Create public stub for platform's sysprop_library 2019-12-19 09:35:23 +09:00
system_modules.go Added java_system_modules_import 2020-01-15 11:17:57 +00:00
testing.go Remove unused system_modules 2020-01-03 14:16:22 +09:00
tradefed.go Add tradefed_java_library_host 2019-10-18 15:14:15 -07:00