platform_build_soong/java
Ulya Trafimovich 5f364b63b8 Rewrite construct_context.sh in Python.
This allows to reuse SDK version comparison routine from other Python
scripts. With the addition of non-numeric versions comparison has become
more complex, and the deleted shell script did it incorrectly: it used
comparisons like `[[ "S" -lt 28 ]]` which results in "true" as strings
are converted to zero in numeric context. This resulted in adding legacy
libraries to class loader context of apps targeting recent SDK versions.
The error was masked because currently there is only one non-AOSP app
that uses the script (GoogleDialer), and it targets numeric SDK version.

Test: lunch aosp_cf_x86_phone-userdebug && m
Bug: 132357300
Change-Id: I26e752e29b5453fd3e29d5dbfbe4d9df9c0a55b7
2020-07-01 09:44:23 +01:00
..
config Split the core/platform API into stable and legacy versions. 2020-06-08 10:53:51 +01:00
aapt2.go Add rules to handle asset resources. 2020-01-16 12:19:49 -08:00
aar.go apex/apk: enforce min_sdk_version of all deps 2020-06-24 02:00:33 +09:00
Android.bp Add support for running Android lint on java and android modules. 2020-06-16 15:44:16 -07:00
android_manifest.go Always use "${codename}.${sha}" if UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT=true 2020-03-04 22:05:11 +00:00
android_resources.go
androidmk.go Support multiple dists per Android.bp module, and dist output selection. 2020-06-25 12:42:07 +00:00
androidmk_test.go Support multiple dists per Android.bp module, and dist output selection. 2020-06-25 12:42:07 +00:00
app.go Rewrite construct_context.sh in Python. 2020-07-01 09:44:23 +01:00
app_builder.go Add support for remote-execution / caching of jar/zip actions 2020-05-28 11:56:48 -07:00
app_test.go Rewrite construct_context.sh in Python. 2020-07-01 09:44:23 +01:00
builder.go Revert "Always run package check" 2020-06-03 17:15:15 +00:00
device_host_converter.go Use inclusive language in build/soong 2020-06-11 15:33:16 -07:00
device_host_converter_test.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
dex.go Add support for remote-execution / caching of jar/zip actions 2020-05-28 11:56:48 -07:00
dexpreopt.go Only look for profiles when we have a profile dir 2020-06-24 16:33:31 -07:00
dexpreopt_bootjars.go Merge "Remove host boot image from boot.zip." 2020-06-11 10:04:58 +00:00
dexpreopt_bootjars_test.go Remove host boot image from boot.zip. 2020-06-10 15:54:23 +01:00
dexpreopt_config.go Raise an error instead of panic in SplitApexJarPairs. 2020-05-12 12:27:50 +01:00
dexpreopt_test.go Add a rule about platform_apis 2019-07-29 20:48:30 +09:00
droiddoc.go Merge "Enable check for "try to expose APIs from hidden class"" 2020-06-24 22:18:35 +00: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 Add --no-force-assign-all for java_sdk_library 2020-05-20 08:19:56 +01:00
hiddenapi_singleton.go Split the core/platform API into stable and legacy versions. 2020-06-08 10:53:51 +01:00
jacoco.go
jacoco_test.go
java.go Support multiple dists per Android.bp module, and dist output selection. 2020-06-25 12:42:07 +00:00
java_resources.go
java_test.go Do not override "-g:source,lines" for host java binaries when PRODUCT_MINIMIZE_JAVA_DEBUG_INFO is set. 2020-06-15 21:33:49 -04:00
jdeps.go AIDEGen: Add path attribute to okhttp module. 2020-05-21 11:25:51 +08:00
jdeps_test.go
kotlin.go Fix annotation processors in kotlin modules that generate resources 2020-06-18 15:58:28 -07:00
kotlin_test.go Repeat kapt processor argument for multiple processors 2020-04-22 20:43:37 -07:00
lint.go Set root dir in lint project.xml 2020-06-23 10:27:05 -07:00
lint_defaults.txt Add support for running Android lint on java and android modules. 2020-06-16 15:44:16 -07:00
OWNERS
platform_compat_config.go Add support for compat config in APEX. 2020-02-05 13:33:50 +00:00
plugin.go Consolidate adding common java properties 2020-06-15 18:16:10 -07:00
plugin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
prebuilt_apis.go Use system modules for prebuilt SDKs >=30 2020-05-15 17:21:58 -07:00
proto.go Default to compiling lite protos 2019-10-26 20:35:13 +00:00
robolectric.go Add support for running Android lint on java and android modules. 2020-06-16 15:44:16 -07:00
sdk.go Create a framework.aidl for non-updatable platform 2020-06-05 15:16:16 +01:00
sdk_library.go apex/apk: enforce min_sdk_version of all deps 2020-06-24 02:00:33 +09:00
sdk_test.go Split the core/platform API into stable and legacy versions. 2020-06-08 10:53:51 +01: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 Remove old SdkMemberType API for creating snapshot modules 2020-03-23 08:48:03 +00:00
testing.go java_sdk_library: Add system-server scope 2020-06-15 15:02:19 +01:00
tradefed.go Add tradefed_java_library_host 2019-10-18 15:14:15 -07:00