platform_build_soong/java
Colin Cross 48016d5a2f Fix FirstUniqueStrings after conversion to generics
The conversion of FirstUniqueStrings to be implemented on top of the
generic firstUnique accidentally used a different threshold to switch
from the list implementation to the map implementation.  Modify the
threshold of firstUnique to match the old value from FirstUniqueStrings
now that it doesn't have the reflection overhead.  While we're at it,
also make firstUnique make a copy of the list, and make FirstUniqueStrings
a pure wrapper around firstUnique.

Test: BenchmarkFirstUniqueStrings
Change-Id: Icc2febea663142c508ff2e4be65a8a68121631d5
2023-06-27 11:07:55 -07:00
..
config Increase R8 max heap size to 4GB 2023-05-23 17:32:30 +00:00
core-libraries Redefine core and core platform API surface java_library 2023-06-05 21:44:33 +00:00
aapt2.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
aar.go Delete android/rules.bzl file 2023-05-10 15:33:10 +00:00
aar_test.go copy JNI from AAR files to android_app APK 2022-08-02 16:12:06 -04:00
Android.bp Make aconfig flags generate a library instead of a srcjar. 2023-06-09 06:16:06 -07:00
android_manifest.go target_sdk_version replacement should respect REL branches 2023-04-28 16:23:53 +00:00
android_resources.go
androidmk.go Fix Soong code, remove dead code, and clean up code for Java fuzz 2023-05-17 19:07:16 +00:00
androidmk_test.go Specify jnilib partition in Android-<target>.mk 2022-10-04 03:26:05 +00:00
app.go Merge "Allow Bluetooth to use privapp_allowlist" 2023-06-06 18:29:07 +00:00
app_builder.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
app_import.go Enable prebuilt apk checks 2023-05-04 12:38:24 -07:00
app_import_test.go Enable prebuilt apk checks 2023-05-04 12:38:24 -07:00
app_set.go Add skip-sdk-check to extract_apks 2023-03-21 08:13:25 -07:00
app_set_test.go Add skip-sdk-check to extract_apks 2023-03-21 08:13:25 -07:00
app_test.go Add an allowlist for modules that have broken optional_uses_libs. 2023-06-02 23:42:53 +01:00
base.go Use generics for DepSets 2023-06-22 08:18:33 -07: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 Dexpreopt ART jars and framework jars together. 2023-05-11 19:04:17 +01:00
bootclasspath_fragment_test.go Fix bootclasspath_fragment build failure during from-text stub build 2023-05-22 07:13:25 +00:00
builder.go Make aconfig flags generate a library instead of a srcjar. 2023-06-09 06:16:06 -07:00
classpath_element.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
classpath_fragment.go Update max_sdk_version from SdkSpec to ApiLevel 2023-03-23 19:38:56 +00:00
device_host_converter.go Bp2build support for sdk_version and java_version. 2023-04-11 21:05:48 -04:00
device_host_converter_test.go
dex.go Ensure outputs correctly declared for proguard config in R8 2023-05-12 12:30:07 +02:00
dex_test.go Revert^2 "Generate app profiles even if dexpreopt is disabled." 2023-05-08 21:29:23 +01:00
dexpreopt.go Move CLC construction to Ninja phase. 2023-05-30 15:46:38 +01:00
dexpreopt_bootjars.go Only pass "-Xgc:CMC" when building for Android. 2023-06-01 13:27:25 +00:00
dexpreopt_check.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
dexpreopt_config.go Fix FirstUniqueStrings after conversion to generics 2023-06-27 11:07:55 -07:00
dexpreopt_config_test.go Revert^2 "Generate a boot image extension for mainline BCP... 2023-03-16 08:46:29 +00:00
dexpreopt_config_testing.go Dexpreopt ART jars and framework jars together. 2023-05-11 19:04:17 +01:00
dexpreopt_test.go Prepare tests for dexpreopt changes. 2023-05-11 18:24:44 +01:00
droiddoc.go Revert^2 "Add exports needed for Doclava" 2023-06-09 09:19:36 +00:00
droiddoc_test.go
droidstubs.go Explicitly specify --api-overloaded-method-order source for metalava 2023-06-01 18:45:51 +01:00
droidstubs_test.go Prevent dynamically created java_api_contribution from inheriting 2023-02-04 00:29:33 +00:00
fuzz.go Merge "Add use_platform_libs to fuzz config" 2023-06-05 14:41:51 +00:00
fuzz_test.go Fix Soong code, remove dead code, and clean up code for Java fuzz 2023-05-17 19:07:16 +00:00
gen.go AIDL source generation accounts for Bazel paths 2022-08-25 14:47:41 -04:00
generated_java_library.go Make aconfig flags generate a library instead of a srcjar. 2023-06-09 06:16:06 -07:00
generated_java_library_test.go Make aconfig flags generate a library instead of a srcjar. 2023-06-09 06:16:06 -07:00
genrule.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
genrule_test.go
hiddenapi.go Update min_sdk_version from SdkSpec to ApiLevel 2023-03-22 20:15:45 +00:00
hiddenapi_modular.go Cleanup android.JavaApiLibraryName references 2023-06-05 21:45:01 +00:00
hiddenapi_monolithic.go
hiddenapi_singleton.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
hiddenapi_singleton_test.go Prepare tests for dexpreopt changes. 2023-05-11 18:24:44 +01:00
jacoco.go add jacocoagent by default to Java modules 2022-09-09 16:50:38 -04:00
jacoco_test.go
java.go Use generics for DepSets 2023-06-22 08:18:33 -07:00
java_resources.go convert java_resources with bp2build 2022-05-10 14:32:52 +00:00
java_test.go Introduce "Exclude_static_libs" property for Java modules 2023-06-05 21:42:48 +00:00
jdeps.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
jdeps_test.go
kotlin.go Support multiple filters in zipsync 2023-06-14 06:44:49 +00:00
kotlin_test.go transitive Java deps for r8 2023-01-20 17:05:14 -05:00
legacy_core_platform_api_usage.go Utilize from text core platform api surface jar in build 2023-04-06 18:34:32 +00:00
lint.go Use generics for DepSets 2023-06-22 08:18:33 -07:00
lint_defaults.txt Disable new lint checks from Android Studio 2023-03-09 14:11:47 +00:00
lint_test.go Give lint the correct api levels database for the current module 2023-02-28 21:18:17 -08:00
platform_bootclasspath.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
platform_bootclasspath_test.go Prepare tests for dexpreopt changes. 2023-05-11 18:24:44 +01:00
platform_compat_config.go Create bp2build converter for platform_compat_config module type 2023-06-06 19:35:36 +00: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 Merge "Map prebuilt_apis labels to Bazel's manually generated ones." 2023-05-10 18:23:51 +00:00
prebuilt_apis_test.go Tweak logic for when extension txt is latest 2022-09-21 11:51:21 +00:00
proto.go Bp2build support for sdk_version and java_version. 2023-04-11 21:05: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 Fix FirstUniqueStrings after conversion to generics 2023-06-27 11:07:55 -07:00
rro.go Update max_sdk_version from SdkSpec to ApiLevel 2023-03-23 19:38:56 +00:00
rro_test.go Allow overriding rro category in override_runtime_resource_overlay 2022-10-07 18:21:34 +00:00
sdk.go Cleanup android.JavaApiLibraryName references 2023-06-05 21:45:01 +00:00
sdk_library.go Generate java_api_library from java_sdk_library 2023-05-19 06:07:37 +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 Generate java_api_library from java_sdk_library 2023-05-19 06:07:37 +00:00
sdk_test.go
support_libraries.go
system_modules.go Stop module types being SdkAware 2022-12-12 17:33:06 +00:00
system_modules_test.go
systemserver_classpath_fragment.go Stop module types being SdkAware 2022-12-12 17:33:06 +00:00
systemserver_classpath_fragment_test.go
testing.go Add additional java_api_library testing modules 2023-05-22 07:13:07 +00:00
tradefed.go