platform_build_soong/java
Paul Duffin e3ae3dd6f9 Dedup checks for module being in versioned sdk snapshot
Previously, various places duplicated the logic to check whether a
module was part of a versioned snapshot. This change replaces that code
with a call to the existing IsModuleInVersionedSdk(Module) func.

This makes the code consistent in preparation for a change that will
remove all calls to IsModuleInVersionedSdk(Module). It is separated out
from that change as it is easier to see that the replaced code is
equivalent to the IsModuleInVersionedSdk(Module) func when it is not
mixed in with other changes. It also makes the following change easier
to review.

Bug: 260237150
Test: m nothing
Change-Id: I44d665bf02d2fc97632a03b5a3d2225ea3c2827d
2022-12-12 17:33:05 +00:00
..
config Instrument ims-common for coverage 2022-11-04 22:39:56 +00:00
core-libraries Strip annotations from copy of core-current-stubs-for-system-modules 2022-08-22 08:10:16 +01:00
aapt2.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
aar.go bp2build for java_library with .kt srcs or common_srcs 2022-11-15 20:01:29 +00:00
aar_test.go copy JNI from AAR files to android_app APK 2022-08-02 16:12:06 -04:00
Android.bp Merge "Support testing for resource shrinking" 2022-12-01 06:09:29 +00:00
android_manifest.go Enforce mainline modules to have latest target sdk version by default. 2022-09-21 19:09:38 +00:00
android_resources.go
androidmk.go Dedup checks for module being in versioned sdk snapshot 2022-12-12 17:33:05 +00:00
androidmk_test.go Specify jnilib partition in Android-<target>.mk 2022-10-04 03:26:05 +00:00
app.go Use missing.x509.pem instead of missing.pem for faked missing certificates 2022-11-21 04:35:55 +00:00
app_builder.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
app_import.go Don't add unused properties to android_test_import 2022-10-20 20:19:41 +09:00
app_import_test.go Move AllowMissingDependencies handling into processMainCert 2022-09-14 12:48:17 -07:00
app_set.go Ignore native bridge archs for apex selection 2022-11-29 12:56:37 +00:00
app_set_test.go
app_test.go Enforce mainline modules to have latest target sdk version by default. 2022-09-21 19:09:38 +00:00
base.go Add support for AIDL traces in Priv apps 2022-11-22 13:05:19 +00:00
boot_jars.go
bootclasspath.go Ensure that *bootclasspath* module types depend on device variants 2022-05-11 15:20:37 +00:00
bootclasspath_fragment.go Remove deviceInstalls from bootImageVariant 2022-10-05 12:33:02 +01:00
bootclasspath_fragment_test.go Merge "Revert "bootclasspath_fragment: Treat some specific modules as test"" 2022-09-16 18:24:49 +00:00
builder.go Add --add-exports= options to the java extractor invocation. 2022-10-23 15:23:55 -07:00
classpath_element.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
classpath_fragment.go build/soong - support the REL platform version in classpath 2022-05-06 16:09:52 +00:00
device_host_converter.go
device_host_converter_test.go
dex.go Support testing for resource shrinking 2022-09-28 09:46:35 -07:00
dex_test.go Provide platform build flag to R8/D8 2022-09-21 11:01:32 -07:00
dexpreopt.go Only dexpreopt system server jars for the primary arch. 2022-11-28 15:38:23 +00:00
dexpreopt_bootjars.go Pass "-Xgc:CMC" to dex2oat when userfaultfd GC is enabled. 2022-11-16 12:04:53 +00:00
dexpreopt_bootjars_test.go
dexpreopt_check.go
dexpreopt_config.go Pass --preloaded-classes to boot image compilation. 2022-03-15 14:28:38 +00:00
dexpreopt_config_test.go Properly skip TestBootImageConfig on non-Linux platforms 2022-10-07 11:48:17 +01:00
dexpreopt_config_testing.go Test bootImageConfig/Variant fields 2022-10-06 11:06:51 +01:00
dexpreopt_test.go Generate a default wrapper for device java_binary 2022-10-27 11:19:53 -07:00
droiddoc.go Add min_sdk_version to aidlCmd for droidstubs 2022-11-21 22:59:38 +00:00
droiddoc_test.go
droidstubs.go Add system-server sdk type to droidstubs 2022-10-11 10:54:11 -07:00
droidstubs_test.go Add system-server sdk type to droidstubs 2022-10-11 10:54:11 -07:00
fuzz.go Output shared dependendencies of JNI libs for Java fuzzers 2022-10-20 00:55:58 +00:00
fuzz_test.go Fix java/fuzz_test.go post submit build breakage 2022-11-22 17:51:23 +00:00
gen.go AIDL source generation accounts for Bazel paths 2022-08-25 14:47:41 -04:00
genrule.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
genrule_test.go
hiddenapi.go hiddenapi: Prevent libraries for Q/R from include S+ flags. 2022-04-29 14:08:30 +00:00
hiddenapi_modular.go Exclude unsupported libraries from sdk snapshot 2022-09-14 16:47:18 +01:00
hiddenapi_monolithic.go
hiddenapi_singleton.go
hiddenapi_singleton_test.go
jacoco.go add jacocoagent by default to Java modules 2022-09-09 16:50:38 -04:00
jacoco_test.go
java.go Add an api_files property in java_api_library 2022-12-05 22:27:06 +00:00
java_resources.go convert java_resources with bp2build 2022-05-10 14:32:52 +00:00
java_test.go Add an api_files property in java_api_library 2022-12-05 22:27:06 +00:00
jdeps.go Export Java library dependency information 2022-04-18 10:23:28 +08:00
jdeps_test.go
kotlin.go Use the current java version for -jvm-target 2022-06-28 16:06:16 -07:00
kotlin_test.go Treat kotlin-annotations the same as kotlin-stdlib 2022-05-04 19:07:32 +00:00
legacy_core_platform_api_usage.go Remove SettingsOverlay* from legacyCorePlatformApiModules 2022-11-11 20:14:57 -08:00
lint.go lint: always run module specified in ANDROID_LINT_CHECK_EXTRA_MODULES 2022-11-18 20:56:05 +00:00
lint_defaults.txt Demote BinderGetCallingInMainThread from an error to a warning 2022-09-27 15:20:01 -07:00
lint_test.go Fix copy-paste error 2022-09-30 17:04:15 +00:00
OWNERS
platform_bootclasspath.go Remove profilePathOnHost from bootImageConfig 2022-10-05 12:33:02 +01:00
platform_bootclasspath_test.go Make sure dist files have license metadata. 2022-06-01 21:07:25 -07:00
platform_compat_config.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
platform_compat_config_test.go
plugin.go bp2build for java_library with .kt srcs or common_srcs 2022-11-15 20:01:29 +00:00
plugin_test.go
prebuilt_apis.go Tweak logic for when extension txt is latest 2022-09-21 11:51:21 +00:00
prebuilt_apis_test.go Tweak logic for when extension txt is latest 2022-09-21 11:51:21 +00:00
proto.go Clean up some bp2build technical debt 2022-05-13 19:47:48 -04:00
proto_test.go add support for java stream protos in protoDeps 2022-02-07 22:39:38 +00:00
resourceshrinker.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
resourceshrinker_test.go Support testing for resource shrinking 2022-09-28 09:46:35 -07:00
robolectric.go Merge "Set the test suite for Robolectric tests" 2022-12-07 00:49:03 +00:00
rro.go Allow overriding rro category in override_runtime_resource_overlay 2022-10-07 18:21:34 +00:00
rro_test.go Allow overriding rro category in override_runtime_resource_overlay 2022-10-07 18:21:34 +00:00
sdk.go Add experimental option to target Java 17 2022-05-24 13:05:17 +01:00
sdk_library.go Propagate stub_only_libs to the invocation generating stub sources 2022-11-21 15:51:40 +00:00
sdk_library_external.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
sdk_library_test.go Propagate stub_only_libs to the invocation generating stub sources 2022-11-21 15:51:40 +00:00
sdk_test.go
support_libraries.go
system_modules.go
system_modules_test.go
systemserver_classpath_fragment.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
systemserver_classpath_fragment_test.go
testing.go Merge "Support testing for resource shrinking" 2022-12-01 06:09:29 +00:00
tradefed.go