platform_build_soong/java
Paul Duffin 7ac943f7e1 Use --revert-annotation instead of --hide-annotation
Use of `--hide-annotation android.annotation.FlaggedApi` was always an
intermediate solution until the required semantics for `@FlaggedApi`
was determined. The `--revert-annotation` option provides those
semantics. When the `@FlaggedApi` is applied to an existing API, e.g.
because it has moved from system to public, or because it has changed
in some way, e.g. modifiers, then the correct semantics for when that
API is not required is not to hide the API but to revert it to what it
was before the change necessitating the `@FlaggedApi` annotation was
made.

Use --revert-annotation instead of --hide-annotation

Use of `--hide-annotation android.annotation.FlaggedApi` was always an
intermediate solution until the required semantics for `@FlaggedApi`
was determined. The `--revert-annotation` option provides those
semantics. When the `@FlaggedApi` is applied to an existing API, e.g.
because it has moved from system to public, or because it has changed
in some way, e.g. modifiers, then the correct semantics for when that
API is not required is not to hide the API but to revert it to what it
was before the change necessitating the `@FlaggedApi` annotation was
made.
Use --revert-annotation instead of --hide-annotation

Use of `--hide-annotation android.annotation.FlaggedApi` was always an
intermediate solution until the required semantics for `@FlaggedApi`
was determined. The `--revert-annotation` option provides those
semantics. When the `@FlaggedApi` is applied to an existing API, e.g.
because it has moved from system to public, or because it has changed
in some way, e.g. modifiers, then the correct semantics for when that
API is not required is not to hide the API but to revert it to what it
was before the change necessitating the `@FlaggedApi` annotation was
made.

Bug: 314196587
Test: ./gradlew
Change-Id: Ic97f29dd2b9f598ba0851f5f622c2a2724f18037
2023-12-13 00:33:25 +00:00
..
config Use --revert-annotation instead of --hide-annotation 2023-12-13 00:33:25 +00:00
core-libraries Remove TxtStubLibraries.bp 2023-11-02 01:02:40 +00:00
aapt2.go Add aconfig flag support for android_app 2023-12-07 23:01:26 +00:00
aar.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
aar_test.go
Android.bp Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
android_manifest.go add manifest_values application id property to soong 2023-10-23 18:26:53 +00:00
android_manifest_test.go Remove sdkPreSingleton and overlaySingleton 2023-11-01 15:29:09 -07:00
android_resources.go Remove sdkPreSingleton and overlaySingleton 2023-11-01 15:29:09 -07:00
androidmk.go Merge aconfig files per-module 2023-12-07 04:17:37 +00:00
androidmk_test.go
app.go Merge "Remove ConvertWithBp2build implementations" into main 2023-12-11 23:12:53 +00:00
app_builder.go Reapply "Use R8 for resource shrinking" 2023-11-29 05:07:50 +00:00
app_import.go Revert^2 "Only allow setting presigned without preprocessed on targetSdk < 30" 2023-09-07 05:31:32 +00:00
app_import_test.go Revert^2 "Only allow setting presigned without preprocessed on targetSdk < 30" 2023-09-07 05:31:32 +00:00
app_set.go
app_set_test.go
app_test.go Add aconfig flag support for android_app 2023-12-07 23:01:26 +00:00
base.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
boot_jars.go
bootclasspath.go Refactor dexpreopt for boot jars to make it flexible to config changes. 2023-07-14 12:13:28 +01:00
bootclasspath_fragment.go Merge "Stop collecting path entry for module_bp_java_deps.json from each module type" into main 2023-11-15 21:01:38 +00:00
bootclasspath_fragment_test.go Utilize module lib and test api superset module in hiddenapi 2023-10-11 17:06:23 +00:00
builder.go Don't write transitive dependencies to Android-${TARGET_PRODUCT}.mk 2023-11-29 10:31:13 -08:00
classpath_element.go
classpath_fragment.go
code_metadata_test.go Add Code Metadata rule to soong/testing. 2023-12-05 18:10:03 +00:00
device_host_converter.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
device_host_converter_test.go Strip META-INF/services from implementation jars when using as header jars 2023-07-19 21:48:11 +00:00
dex.go Revert^3 "Enable dex container (DEX v41) for the whole system" 2023-12-01 13:33:11 +00:00
dex_test.go transitive r8 flags for installable {android,java}_libraries 2023-10-31 18:59:04 +00:00
dexpreopt.go Remove PreoptExtractedApk. 2023-11-28 13:40:58 +00:00
dexpreopt_bootjars.go Change OnlyPreoptBootImageAndSystemServer to OnlyPreoptArtBootImage. 2023-11-09 16:50:58 +00:00
dexpreopt_check.go Change OnlyPreoptBootImageAndSystemServer to OnlyPreoptArtBootImage. 2023-11-09 16:50:58 +00:00
dexpreopt_config.go Use the correct mainline BCP jars for app dexpreopt. 2023-11-06 18:44:52 +00:00
dexpreopt_config_test.go Refactor dexpreopt for boot jars to make it flexible to config changes. 2023-07-14 12:13:28 +01:00
dexpreopt_config_testing.go gofmt soong 2023-10-18 17:42:59 -07:00
dexpreopt_test.go
droiddoc.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
droiddoc_test.go
droidstubs.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
droidstubs_test.go Use --revert-annotation instead of --hide-annotation 2023-12-13 00:33:25 +00:00
fuzz.go
fuzz_test.go Strip META-INF/services from implementation jars when using as header jars 2023-07-19 21:48:11 +00:00
gen.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
generated_java_library.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
generated_java_library_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
genrule.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
genrule_test.go
hiddenapi.go Revert^2 "Only allow setting presigned without preprocessed on targetSdk < 30" 2023-09-07 05:31:32 +00:00
hiddenapi_modular.go Disable verify_overlaps test instead of hiddenapi check. 2023-11-06 09:49:16 +00:00
hiddenapi_monolithic.go
hiddenapi_singleton.go Disable Hidden API Checks for ENG Builds 2023-07-30 13:57:10 +00:00
hiddenapi_singleton_test.go
jacoco.go Use merge_zips instead of ziptime for resetting timestamps in jacoco outputs 2023-11-01 14:41:48 -07:00
jacoco_test.go
java.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
java_resources.go
java_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
jdeps.go Stop collecting path entry for module_bp_java_deps.json from each module type 2023-11-15 11:40:48 -08:00
jdeps_test.go
kotlin.go Enable restat for kapt stubs rules 2023-09-20 09:53:39 -07:00
kotlin_test.go
legacy_core_platform_api_usage.go Created empty framework-location non-updatable module 2023-08-28 17:45:30 +00:00
lint.go Merge "Add compile_data for android apps" into main 2023-12-11 19:25:20 +00:00
lint_defaults.txt Merge "303434307: Enable flagged API checking" into main 2023-12-11 18:14:56 +00:00
lint_test.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
platform_bootclasspath.go Use the correct mainline BCP jars for app dexpreopt. 2023-11-06 18:44:52 +00:00
platform_bootclasspath_test.go Add srcjar output for platform_bootclasspath 2023-09-28 13:21:21 +00:00
platform_compat_config.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
platform_compat_config_test.go
plugin.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
plugin_test.go
prebuilt_apis.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
prebuilt_apis_test.go Support for incremetal platform prebuilt APIs 2023-08-25 18:03:44 +00:00
proto.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
proto_test.go
robolectric.go Fix typo in the comment 2023-12-08 12:23:15 +09:00
rro.go Use an option struct in aapt.buildActions & manifestMerger 2023-10-10 14:31:03 +00:00
rro_test.go Remove sdkPreSingleton and overlaySingleton 2023-11-01 15:29:09 -07:00
sdk.go Remove sdkPreSingleton and overlaySingleton 2023-11-01 15:29:09 -07:00
sdk_library.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
sdk_library_external.go
sdk_library_test.go Add the ability for a java_sdk_library to depend on another. 2023-11-27 12:07:36 +00:00
sdk_test.go
support_libraries.go Handle Android.bp files in subdirectories of androidx 2023-10-23 13:25:13 -04:00
system_modules.go
system_modules_test.go
systemserver_classpath_fragment.go Stop collecting path entry for module_bp_java_deps.json from each module type 2023-11-15 11:40:48 -08:00
systemserver_classpath_fragment_test.go
test_spec_test.go Add Code Metadata rule to soong/testing. 2023-12-05 18:10:03 +00:00
testing.go Remove sdkPreSingleton and overlaySingleton 2023-11-01 15:29:09 -07:00
tradefed.go Change deps of ctx.Install* from Paths to InstallPaths 2023-11-17 19:06:43 -08:00